[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: NSTemporaryDirectory() && Windows
From: |
Richard Frith-Macdonald |
Subject: |
Re: NSTemporaryDirectory() && Windows |
Date: |
Wed, 11 May 2005 10:50:24 +0100 |
On 2005-05-11 10:13:55 +0100 Marc Brünink <mbruen@smartsoft.de> wrote:
>>> Isn't it a bit outdated to return a MS-DOS 5.x string?
>>
>> Backwards compatibility with MS-DOS is a Windows feature.
>
> Nevertheless GNUstep should handle this. Either by changing
> NSTemporaryDirectory() or by hacking openStepPathFromLocal and/or
> stringByStandardizingPath.
> I guess the task of GNUstep is to encapsulate all this awful operating
> system functions. So GNUstep have be to hacked.
I don't understand your reasoning here.
The NSTemporaryDirectory() function is supposed to supply the name of a
temporary directory that your program can use to store its own private
temporary files in. You are not supposed to make any assumption about where
this temporary directory is. This path is not (and should not be) user-visible
in any way, and so as long as it works there is, as far as I can see, no
reason why it should look like anything in particular (certainly code should
not rely on it being any particular directory).
What exactly is the logic of wanting it to be 'c:\Dokumente und
Einstellungen\Administrator\' ?
If you want to store files in 'c:\Dokumente und Einstellungen\Administrator\.',
I would have thought you should be using that as the file name rather than
using NSTemporaryDirectory()
- NSTemporaryDirectory() && Windows, Marc Brünink, 2005/05/10
- Re: NSTemporaryDirectory() && Windows, Sheldon Gill, 2005/05/10
- Re: NSTemporaryDirectory() && Windows, Lloyd Dupont, 2005/05/10
- Re: NSTemporaryDirectory() && Windows, Marc Brünink, 2005/05/11
- Re: NSTemporaryDirectory() && Windows,
Richard Frith-Macdonald <=
- Re: NSTemporaryDirectory() && Windows, Sheldon Gill, 2005/05/11
- Re: NSTemporaryDirectory() && Windows, Marc Brünink, 2005/05/11
- Re: NSTemporaryDirectory() && Windows, Richard Frith-Macdonald, 2005/05/11
- Re: NSTemporaryDirectory() && Windows, Marc Brünink, 2005/05/11
- Re: NSTemporaryDirectory() && Windows, Richard Frith-Macdonald, 2005/05/11
- Re: NSTemporaryDirectory() && Windows, Alex Perez, 2005/05/11
- Re: NSTemporaryDirectory() && Windows, Marc Brünink, 2005/05/12
- Re: NSTemporaryDirectory() && Windows, Marc Brünink, 2005/05/12
- Re: NSTemporaryDirectory() && Windows, David Ayers, 2005/05/12
- Re: NSTemporaryDirectory() && Windows, Sheldon Gill, 2005/05/12