On 2005-05-11 10:13:55 +0100 Marc Br�nink <[EMAIL PROTECTED]> 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() _______________________________________________ Discuss-gnustep mailing list [email protected] http://lists.gnu.org/mailman/listinfo/discuss-gnustep
