mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-20 20:26:42 +00:00
fixups for libobjc2
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29753 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
145a5670bf
commit
14b91c9052
67 changed files with 328 additions and 253 deletions
|
@ -132,27 +132,27 @@ static NSFileManager *mgr = nil;
|
|||
if ([mgr fileExistsAtPath: lockDir isDirectory: &isDirectory] == NO)
|
||||
{
|
||||
NSLog(@"part of the path to the lock file '%@' is missing\n", aPath);
|
||||
RELEASE(self);
|
||||
DESTROY(self);
|
||||
return nil;
|
||||
}
|
||||
if (isDirectory == NO)
|
||||
{
|
||||
NSLog(@"part of the path to the lock file '%@' is not a directory\n",
|
||||
_lockPath);
|
||||
RELEASE(self);
|
||||
DESTROY(self);
|
||||
return nil;
|
||||
}
|
||||
if ([mgr isWritableFileAtPath: lockDir] == NO)
|
||||
{
|
||||
NSLog(@"parent directory of lock file '%@' is not writable\n", _lockPath);
|
||||
RELEASE(self);
|
||||
DESTROY(self);
|
||||
return nil;
|
||||
}
|
||||
if ([mgr isExecutableFileAtPath: lockDir] == NO)
|
||||
{
|
||||
NSLog(@"parent directory of lock file '%@' is not accessible\n",
|
||||
_lockPath);
|
||||
RELEASE(self);
|
||||
DESTROY(self);
|
||||
return nil;
|
||||
}
|
||||
return self;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue