mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 00:41:02 +00:00
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:
parent
32c4f3905a
commit
ba1b0e613b
2 changed files with 7 additions and 5 deletions
|
@ -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
|
||||
|
|
|
@ -779,11 +779,6 @@ static NSString *pathForUser(NSString *user)
|
|||
{
|
||||
NSString *path = pathForUser(userName);
|
||||
|
||||
if (path == nil)
|
||||
{
|
||||
RELEASE(self);
|
||||
return nil;
|
||||
}
|
||||
return [self initWithContentsOfFile: path];
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue