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: Chris Parker <email@hidden>
- Date: Wed, 16 Jan 2002 11:11:00 -0800
Stiphane (et al.):
On Wednesday, January 16, 2002, at 06:26 AM, Stiphane Sudre wrote:
Apparent conclusion: The NSFileManager API is not long pathname savvy.
The NSURL/CFURL APIs -used by the OpenPanel to do something maybe
related to Open Recent- does not seem to.
Since the Cocoa File APIs are pathname based, it's a bit problematic
even if I agree the 1024 limits is not often going to be reached.
This is a known problem - There is a bug outstanding on this and it's
being looked at. It's not clear for NSFileManager exactly what the best
option is as far as changing the working directory, etc., but it -is-
being looked at.
I just talked to the File Manager guy here about path resolution on
their end and they bump into PATH_MAX also.
.chris
--
Chris Parker <email@hidden>
Cocoa Frameworks Engineer