bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-gnulib] gnulib imports from coreutils for canon-host, human, xg


From: Paul Eggert
Subject: Re: [Bug-gnulib] gnulib imports from coreutils for canon-host, human, xgetcwd
Date: Thu, 18 Nov 2004 11:26:22 -0800
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux)

Bruno Haible <address@hidden> writes:

> Some platforms have a PATH_MAX value that is not a strong limit, but
> rather a dummy value because many BSD applications don't even
> compile if PATH_MAX does not exist.

Ah, I didn't know that.  I thought PATH_MAX was supposed to be undefined
in that case.  (Which implementations are these?  It sounds to me like
such implementations are broken anyway -- do we need to cater to them?)

> Can you limit the workaround to the platforms that need it, i.e. replace
> "#ifdef PATH_MAX" with "#ifdef __sun" (or use an autoconf test)?

The autoconf test would be better.  I doubt whether the problem is
limited to Sun; it's probably endemic to SVR4.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]