bug-hurd
[Top][All Lists]
Advanced

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

[PATCH] getcwd / PATH_MAX check in configure breaks on GNU


From: Robert Millan
Subject: [PATCH] getcwd / PATH_MAX check in configure breaks on GNU
Date: Fri, 25 Apr 2003 14:43:24 +0200
User-agent: Mutt/1.5.4i

hi!

as reported to Savannah BTS 
(http://savannah.gnu.org/patch/?func=detailpatch&patch_id=1416&group_id=2613) 
coreutils site:

the test that checks wether getcwd accepts paths longer than PATH_MAX
works badly on systems where PATH_MAX is undefined, like GNU (aka GNU/Hurd).

when PATH_MAX is not defined, it means there's no generic limit on the length
of a path, and thus this kind of bug in getcwd cannot exist, so it should
not be tested for it.

see the comments added in the patch, they're quite explanative.

patch in http://savannah.gnu.org/patch/download.php?id=1416

-- 
Robert Millan

make: *** No rule to make target `war'.  Stop.

Another world is possible - Just say no to genocide




reply via email to

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