gnu-arch-users
[Top][All Lists]
Advanced

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

Re: [Gnu-arch-users] Re: arch on windows?


From: Stephen J. Turnbull
Subject: Re: [Gnu-arch-users] Re: arch on windows?
Date: Tue, 13 Jul 2004 12:06:19 +0900
User-agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.5 (chayote, linux)

>>>>> "John" == John Meinel <address@hidden> writes:

    John> Well, I just did a check on the MAC here in the office. And
    John> when using Journaled HFS+, I made a path with > 900
    John> characters and had no problems.  When I went > ~1000 the
    John> shell started complaining that getcwd "Cannot access parent
    John> directories: Result too large".

On the Mac it's 1024, cf. the macro PATH_MAX #define'ed in
<sys/syslimits.h>.

This is a POSIX limit, I'm pretty sure.  To conform to POSIX, the
value must be set by #include'ing /usr/include/limits.h, I believe.

Possibly at the upper end, PATH_MAX == 4096 in Linux 2.4.  IIRC, POSIX
allows it to be as small as 255 (many systems will #define
_POSIX_PATH_MAX 255 for this reason; the Mac is one).

-- 
Institute of Policy and Planning Sciences     http://turnbull.sk.tsukuba.ac.jp
University of Tsukuba                    Tennodai 1-1-1 Tsukuba 305-8573 JAPAN
               Ask not how you can "do" free software business;
              ask what your business can "do for" free software.




reply via email to

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