[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #28484] unable to set /tmp as current directory on Windows through
From: |
Richard Frith-Macdonald |
Subject: |
[bug #28484] unable to set /tmp as current directory on Windows through NSFileManager |
Date: |
Tue, 05 Jan 2010 16:21:42 +0000 |
User-agent: |
Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_2; en-us) AppleWebKit/531.21.8 (KHTML, like Gecko) Version/4.0.4 Safari/531.21.10 |
Update of bug #28484 (project gnustep):
Status: None => Invalid
Open/Closed: Open => Declined
_______________________________________________________
Follow-up Comment #1:
Definitely not a bug ... the '/tmp' directory does not exist on windows, so
you should not be trying to change to it, and if you do try to change to it
you should get a failure response (in general ... of course it can happen that
you might have created a /tmp on the current disk ... in which case changing
to it will succeed).
Obviously there's no point trying to change to a non-existent directory, so I
imagine that's not really what you want. My guess is that you want to be
using the NSTemporaryDirectory() function for this...
[[NSFileManager defaultManager] changeCurrentDirectoryPath:
NSTemporaryDirectory()]
The mingw shell has its own unix style paths system, which it maps onto
windows paths. You should not try using mingw patch within gnustep ...
gnustep apps use native windows paths.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?28484>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/