Re: How to deal with long pathnames in Cocoa ?
Re: How to deal with long pathnames in Cocoa ?
- Subject: Re: How to deal with long pathnames in Cocoa ?
- From: Andrew Mortensen <email@hidden>
- Date: Wed, 16 Jan 2002 14:09:52 -0500 (EST)
On Wed, 16 Jan 2002, John C. Randolph wrote:
>
>
Isn't MAXPATHLEN 512 characters in most of the utilities in /bin
>
and /usr/bin?
>
>
-jcr
>
MAXPATHLEN is defined as PATH_MAX on OS X/Darwin in sys/param.h, and
PATH_MAX is defined as 1024 in sys/syslimits.h. If the utilities in /bin
and /usr/bin were compiled against these definitions, I would think the
MAXPATHLEN in them would be 1024.
andrew