On 06/18/11 15:18, James Youngman wrote: > I suspect that the most useful thing we can do in gnulib is define > PATH_MAX to a non-constant expression on all platforms, even the ones > in which it is normally a constant expression.
That goes a bit too far, I'd think. Some code assumes a constant PATH_MAX only on some platforms; for example, gnulib lib/stat.c declares an array of size PATH_MAX + 1 only on MingW. We don't want to reject usage like that.