Re: NSFileManager, 10.3.x and /tmp: bug?
Re: NSFileManager, 10.3.x and /tmp: bug?
- Subject: Re: NSFileManager, 10.3.x and /tmp: bug?
- From: John Stiles <email@hidden>
- Date: Sun, 16 Jan 2005 09:07:26 -0800
I think you might want FSFindFolder. It will return a path to
"/tmp/501/Temporary Items/", and guarantees that the path it gives you
exists.
You will need to call FSRefMakePath to convert its return value to a
path.
On Jan 16, 2005, at 8:40 AM, The Karl Adam wrote:
exactly, you don't really need the 501 part and you may not even be
able to write to it. Also the function doesn't necessarily return just
/tmp last I tried.
-Karl
On Sun, 16 Jan 2005 16:26:49 +0100, Stéphane Sudre
<email@hidden> wrote:
On dimanche, janvier 16, 2005, at 04:19 PM, The Karl Adam wrote:
Perhaps because your supposed to be using NSTemporaryDirectory(),
it's
in the AppKit Functions IIRC.
This function just returns @"/tmp".
This would just remove the hardcoded path.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden