diff --git a/ChangeLog b/ChangeLog index 1e50531b4..2f86ef593 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2004-02-23 Adam Fedor + + * Source/NSUser.m (NSHomeDirectoryForUser): Allow whitespace + in user directory (on Windows). + 2004-02-21 Fred Kiefer * Source/NSPropertyList.m: (GSBinaryPLParser diff --git a/Source/NSUser.m b/Source/NSUser.m index ef551a4a0..d846456be 100644 --- a/Source/NSUser.m +++ b/Source/NSUser.m @@ -260,20 +260,6 @@ NSHomeDirectoryForUser(NSString *loginName) for the user on more modern versions of windoze. */ s = GSStringFromWin32EnvironmentVariable("USERPROFILE"); } - if (s != nil) - { - const char *str = [s cString]; - - while (*str != '\0') - { - if (isspace(*str)) - { - s = nil; // Whitespace not permitted in home directory - break; - } - str++; - } - } [gnustep_global_lock unlock]; } if ([s length] == 0 && [loginName length] != 1)