Only in base/Source: .NSUserDefaults.m.swp diff -ur base-orig/Source/NSUser.m base/Source/NSUser.m --- base-orig/Source/NSUser.m 2004-06-25 15:30:43.000000000 -0400 +++ base/Source/NSUser.m 2004-07-23 21:47:19.147599472 -0400 @@ -230,13 +230,26 @@ { NSString *s = nil; #if !defined(__MINGW__) - struct passwd *pw; + const char *env_list; [gnustep_global_lock lock]; - pw = getpwnam ([loginName cString]); - if (pw != 0) + env_list = getenv("HOME"); + if (env_list != 0) + { + s = [NSString stringWithCString: env_list]; + } + else { - s = [NSString stringWithCString: pw->pw_dir]; + struct passwd *pw; + + pw = getpwnam ([loginName cString]); + if (pw != 0) + { + s = [NSString stringWithCString: pw->pw_dir]; + } } [gnustep_global_lock unlock]; #else