Re: [dev] [sbase] [paste.c] misleading indentation?

From: Alba Pompeo <albapompeo_AT_gmail.com>
Date: Tue, 6 Sep 2016 08:14:25 -0300

BTW since I got the warning too, sending the patch below.

--- a/paste.c
+++ b/paste.c
_AT_@ -67,9 +67,10 @@
                if (c == 0 && last != -1) {
                        if (i == fdescrlen - 1)
                                putchar('\n');
- else
+ else {
                                efputrune(&d, stdout, "<stdout>");
                                last++;
+ }
                }
        }
        if (last != -1)




On Tue, Sep 6, 2016 at 8:10 AM, Alba Pompeo <albapompeo_AT_gmail.com> wrote:
> Yeah, it's GCC version 6, I like your comparison ;)
>
>
> On Tue, Sep 6, 2016 at 4:37 AM, Kevin Michael Frick <kmfrick98_AT_gmail.com> wrote:
>> GCC, probably. Which sucks, but if Hitler warns you not to step of a
>> cliff, you don't ignore his warning because he is Hitler.
>>
>> On Tue, Sep 6, 2016 at 5:02 AM, Staven <staven_AT_staven.pl> wrote:
>>> On Thu, Sep 01, 2016 at 11:28:03AM -0300, Marc Collin wrote:
>>>> Hey guys.
>>>>
>>>> I was warned by the compiler about a misleading indentation and I
>>>> think its right.
>>>
>>> Which compiler warns you about indentation?
>>>
>>>
>>
Received on Tue Sep 06 2016 - 13:14:25 CEST

This archive was generated by hypermail 2.3.0 : Tue Sep 06 2016 - 13:24:12 CEST