this is a very smal change to handle the weird variable handling of Windows/MinGW more carefully.
It checkes whether the HOMEPATH variable already has the drive letter in it, before prepending the HOMEDRIVE variable to it.
This can happen even if HOME* variables are explicitely set by the user.
Greetings, Martin -- I love the smell of Blue Screens in the morning.
--- NSUser.m Wed Nov 27 16:50:36 2002
+++ NSUser.fixed Sat Feb 22 22:46:36 2003
@@ -280,7 +280,7 @@
/* The environment variable HOMEPATH holds the home directory
for the user on Windows NT; Win95 has no concept of home. */
s = GSStringFromWin32EnvironmentVariable("HOMEPATH");
- if (s != nil)
+ if ((s != nil) && ([s characterAtIndex:1] != ':'))
{
s = [GSStringFromWin32EnvironmentVariable("HOMEDRIVE")
stringByAppendingString: s];
_______________________________________________ Bug-gnustep mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-gnustep
