[PATCH] dirent.h: use __flexarr instead of hardcoding [1] length

Paul Eggert eggert@cs.ucla.edu
Thu Feb 13 19:14:48 GMT 2025


On 2/13/25 10:13, Etienne Brateau wrote:
> The old definition prevent building gnulib 9.2 (file lib/fts.c) with
> error strict-flex-arrays when checking for ISDOT when building Hurd.

Gnulib doesn't have a version 9.2. Do you mean Coreutils 9.2's use of 
Gnulib?

Also, "with error strict-flex-arrays when checking for ISDOT" is a bit 
hard to follow. Which relevant GCC options were used? And why does ISDOT 
and/or Hurd matter?

Perhaps reword to "Pacify gcc -fstrict-flex-arrays=3 
-Wstrict-flex-arrays when building Coreutils 9.2's lib/fts.c." Or 
whatever options you were using.


More information about the Libc-alpha mailing list