[PATCH] io: Use gnulib fts implementation (BZ 22944, BZ 20331)
Adhemerval Zanella Netto
adhemerval.zanella@linaro.org
Tue Feb 24 12:05:35 GMT 2026
On 23/02/26 18:52, DJ Delorie wrote:
> Paul Eggert <eggert@cs.ucla.edu> writes:
>> Gnulib often follows a different convention, where < and <= is preferred
>> more often than it is in glibc.
>
> My only preference here is to allow this construct:
>
> a < b && b < c
>
> (e.g. 0 <= count && count < MAX)
>
> (and only when it fits on one line ;)
>
> But only because that was the way I learned to do "is in range" in high
> school math ;-)
>
> I wish C allowed an "a < b < c" syntax.
>
In any case, I prefer for the sync and review to not deviate from gnulib
code for now. We can refactor the style in a subsequent commit if requires.
More information about the Libc-alpha
mailing list