[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: NSHomeDirectory() problems on windows
From: |
Martin Brecher |
Subject: |
Re: NSHomeDirectory() problems on windows |
Date: |
Wed, 23 Jul 2003 15:21:20 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030312 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
S.J.Chun wrote:
| But the problem is that in Windows XP, %HOMEPATH% also contains
| spaces, for my case, %HOMEPATH% is \Documents and Settings\NeXT, so
| %USERPROFILE% or %HOMEDRIVE% %HOMEPATH% are equal and I think this is
| valid result(why two should have different value?). I think we have
| two kind of choices, one is using operating systems native home
| directory mechanism or create our own mechanism which should be
| platform independent.
|
| PS) My opion is using OS's native mechanism. Why GNUstep should not
| work on space contained directory or path? Also, I can just create
| directory or path which contains spaces. So, supporting is more
| appropriate choice than giving up.
|
Personally, I'd rather set some custom GSHOMEDIR variable on win32 than
having all the hassle with USERPROFILE, HOMEPATH and HOMEDIR.
The only thing that goes there is the stuff within GNUSTEP_USER_ROOT
anyway, like Defaults, Frameworks, Resources etc.
Then again, someone suggested using short names (dos names) for
paths which contain spaces - that sounds like a good workaround.
Btw, mingw/msys have their own problems with the USERPROFILE variable, too.
Greetings,
Martin
- --
"History has shown us, that strength may be useless,
when faced with terrorism." -- Jean-Luc Picard
PGP/GPG key at http://www.stupid-design.com/martin/publickey.asc
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
iD8DBQE/HovNkWEEBp53XEURAmOwAJ44MVXsarbzsnZmd5RGo8vjOWYDaQCgmc9Z
Z0B7St6tRvaWxuCxYePrxrE=
=2TNj
-----END PGP SIGNATURE-----
Re: NSHomeDirectory() problems on windows, Roland Schwingel, 2003/07/22
Re: NSHomeDirectory() problems on windows, thisguyisi, 2003/07/23
Re: NSHomeDirectory() problems on windows, S.J.Chun, 2003/07/21
Re: NSHomeDirectory() problems on windows, S.J.Chun, 2003/07/23
Re: NSHomeDirectory() problems on windows, S.J.Chun, 2003/07/23