On 18/12/10 11:42, Allan McRae wrote:
POSIX does not require PATH_MAX be defined when there is not actual limit to its value. This affects HURD based systems. Work around this by defining PATH_MAX to 4096 (as on Linux) when this is not defined.Also, clean up inclusions of limits.h Signed-off-by: Allan McRae<[email protected]> ---
You can easily test this works on your Linux system by editing /usr/include/linux/limits.h and commenting out the PATH_MAX definition.
Allan
