gnustep-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Determining HOME under MinGW


From: Richard Frith-Macdonald
Subject: Re: Determining HOME under MinGW
Date: Wed, 27 Nov 2002 16:13:35 +0000

On Wednesday, November 27, 2002, at 03:52  pm, David Ayers wrote:

Tom Koelman wrote:

Richard Frith-Macdonald wrote:


I'll trust that this is a good idea ... I don't know about windows ...

I've implemented USERPROFILE in NSHomeDirectoryForUser() and
in the corresponding user_home.c code in the make package.


Well, USERPROFILE is the location where user specific files are
usually stored. The HOMEDRIVE / HOMEPATH construction is used _very_
seldomly, as far as I know, actually I hadn't heard of it's existance
before I discovered OpenStep.

Well I just checked my W2K system, which has an OPENSTEP Enterprise installed.
HOMEDRIVE=C:
HOMEPATH=/
USERPROFILE=C:\Dokumente und Einstellungen\Ayers
I guess on an english system it would be:
USERPROFILE=C:\Documents and Settings\Ayers

Now by concept the USERPROFILE actually fits the notion of the "user" directory beter. Yet this path is bound to have spaces and I'm not sure what implications that would have. (I wondering whether gnustep-make needs checks for files in this directory.) Please also not the slash/backslash difference.

Sounds like this change should probably be reverted then ... I'm pretty sure that spaces in paths etc are really bad news for mingw/msys. Would someone who currently has a windows system working like to check this and get back to me, and I'll revert the changes I put in if necessary.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]