• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How to deal with long pathnames in Cocoa ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Re: How to deal with long pathnames in Cocoa ? (From: "John C. Randolph" <email@hidden>)

  • Prev by Date: Re: NSTextview don't update
  • Next by Date: Re: Finder Contextual Menu Modules
  • Previous by thread: Re: How to deal with long pathnames in Cocoa ?
  • Next by thread: Re: How to deal with long pathnames in Cocoa ?
  • Index(es):
    • Date
    • Thread