bug-coreutils
[Top][All Lists]
Advanced

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

Re: FYI: pwd improvement: removing the PATH_MAX limit


From: Alfred M. Szmidt
Subject: Re: FYI: pwd improvement: removing the PATH_MAX limit
Date: Tue, 20 Apr 2004 05:27:09 +0200

   I doubt many have noticed, but GNU pwd would fail when run from a
   working directory whose absolute name is longer than PATH_MAX.
   This came down to a limitation in most (all?) implementations of
   the getcwd function.  That includes Linux-2.6.x w/glibc-2.3.2,
   Solaris 5.9, FreeBSD 5.0, NetBSD 1.6.  Maybe the Hurd lacks this
   limit?

Yup, it lacks it.  See [libc]/sysdeps/mach/hurd/getcwd.c.




reply via email to

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