• 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
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]

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


  • Subject: What are the official limits of Cocoa when it comes to the length of path names?
  • From: Stéphane Sudre <email@hidden>
  • Date: Fri, 13 Jul 2007 11:48:17 +0200

There seems to be some limits in Cocoa when it comes to path names.

Example:

A simple window including a NSTextField.

You can drag and drop almost every file from the Finder to the Text Field and it will display the path name of the file (if it's not a Text Clipboard file of course).

Yet, if this very same file is in a hierarchy that makes its absolute path name bigger than 1024 (PATH_MAX in <sys/limits.h>), you can not drop it anymore.

Is this an engineering specification or a bug (Mac OS X 10.4.10)?


_______________________________________________

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: "Stefan Werner" <email@hidden>
    • Re: What are the official limits of Cocoa when it comes to the length of path names?
      • From: Half Activist <email@hidden>
  • Prev by Date: Re: Core Data and Document Packages
  • Next by Date: Re: [moderator] Re: Problem using map template in Cocoa
  • Previous by thread: Re: ColorSync Utility
  • Next by thread: Re: What are the official limits of Cocoa when it comes to the length of path names?
  • Index(es):
    • Date
    • Thread