On 17/04/26 14:20, Paul Eggert wrote:
> On 2026-04-17 06:24, Adhemerval Zanella wrote:
>
>> + When fts_info == FTS_NSOK this supports expressions like
>> + (fts_statp->st_mode ? !!S_ISDIR (fts_statp->st_mode): -1), which yields
>> + 1 for a directory, 0 for a non-directory, and -1 for unknown. */
>
> In rereading this patch, I suggest changing the example to use a FIFO rather
> than a directory, since directories never yield fts_info == FTS_NSOK. I
> installed the attached patch into Gnulib and you can use this in glibc too.
> Sorry about the confusion.
Thanks, I will update the patch.