Tolerate users without home directories etc.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19567 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-Macdonald 2004-06-20 19:37:19 +00:00
parent 32c4f3905a
commit ba1b0e613b
2 changed files with 7 additions and 5 deletions

View file

@ -1,3 +1,10 @@
2004-06-20 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSUserDefaults.m: ([initForUser:]) carry on and initialise
an instance even if the users defaults directory doesn't exist and
can't be created. Created instance is read only and a warning is
issued.
2004-06-18 Adam Fedor <fedor@gnu.org>
* Tools/gdomap.c (xgethostname): Add missing colon (patch

View file

@ -779,11 +779,6 @@ static NSString *pathForUser(NSString *user)
{
NSString *path = pathForUser(userName);
if (path == nil)
{
RELEASE(self);
return nil;
}
return [self initWithContentsOfFile: path];
}