What are the official limits of Cocoa when it comes to the length of path names?
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