]> git.ipfire.org Git - thirdparty/coreutils.git/commit
Include <limits.h>, for PATH_MAX.
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 17 Nov 2004 03:41:16 +0000 (03:41 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 17 Nov 2004 03:41:16 +0000 (03:41 +0000)
commit2b88597a04aefb8275f44a2091bcd2285afc665d
tree23cfeea08b9e53eeb9a657fa6e234f565543aedf
parent6ad1c2cfd708beeb37b7c2fbf9bbb866c26aa2a9
Include <limits.h>, for PATH_MAX.
(xgetcwd): Set errno correctly when failing.
Work around Solaris 9 bug: getcwd sets errno==ERANGE even though
the failure is actually due to a PATH_MAX problem.
lib/xgetcwd.c