• 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: What are the official limits of Cocoa when it comes to the length of path names?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: What are the official limits of Cocoa when it comes to the length of path names?


  • Subject: Re: What are the official limits of Cocoa when it comes to the length of path names?
  • From: "Clark Cox" <email@hidden>
  • Date: Fri, 13 Jul 2007 07:40:29 -0700

On 7/13/07, Alastair Houghton <email@hidden> wrote:
On 13 Jul 2007, at 11:36, Stéphane Sudre wrote:

>> Of course, that all depends on your individual case.
>
> Actually, I'm tracking an issue with Alias resolution and I'm
> testing different cases to see where the problem might come from.
> My biggest surprise so far is that the same limit affects
> CFURLGetFSRef.

This isn't especially surprising, because (if I remember rightly)
FSRefs internally store a path

Just a minor nit to pick: that is simply not possible. An FSRef is only 80 bytes, that is not large enough for a path. And, if it contained some reference to a path (i.e. a pointer into a table of some sort), then FSRefs wouldn't be freely copyable (as they are), and would require some sort of allocate/deallocate or retain/release API.

--
Clark S. Cox III
email@hidden
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: What are the official limits of Cocoa when it comes to the length of path names?
      • From: Alastair Houghton <email@hidden>
References: 
 >What are the official limits of Cocoa when it comes to the length of path names? (From: Stéphane Sudre <email@hidden>)
 >Re: What are the official limits of Cocoa when it comes to the length of path names? (From: "Stefan Werner" <email@hidden>)
 >Re: What are the official limits of Cocoa when it comes to the length of path names? (From: Stéphane Sudre <email@hidden>)
 >Re: What are the official limits of Cocoa when it comes to the length of path names? (From: Alastair Houghton <email@hidden>)

  • Prev by Date: Re: Using proxy objects with NSMutableArray
  • Next by Date: Re: What are the official limits of Cocoa when it comes to the length of path names?
  • Previous by thread: Re: What are the official limits of Cocoa when it comes to the length of path names?
  • Next by thread: Re: What are the official limits of Cocoa when it comes to the length of path names?
  • Index(es):
    • Date
    • Thread