Hi Eric,

In pathmax.h one of the possible replacement values for PATH_MAX on systems
that don't define it (currently HP-UX and GNU/Hurd) is an expression
involving pathconf().
But tests/test-stat.h line 20 declares an array of size PATH_MAX. So - at
least with pre-C99 compilers - it is assuming that PATH_MAX is a constant.

Should we guarantee that PATH_MAX is a constant expression (by modifying
lib/pathmax.h), or change tests/test-stat.h to not assume it?

Bruno
-- 
In memoriam Mona Mahmudnizhad <http://en.wikipedia.org/wiki/Mona_Mahmudnizhad>

Reply via email to