mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
Bugfix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/branches/freeze-1_6_0@16140 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
7c406f9d81
commit
6e763f0599
2 changed files with 4 additions and 1 deletions
|
@ -2,6 +2,9 @@
|
|||
|
||||
* Source/NSData.m: Fix reference to zone of deallocated object.
|
||||
Bug reported by Roland Schwingel
|
||||
* Source/NSFileManager.m: Fix typo (using logical or rather than
|
||||
bitwise or) in call to access()
|
||||
Bug reported by Roland Schwingel
|
||||
|
||||
2003-02-17 <woudshoo@agilisys.com>
|
||||
|
||||
|
|
|
@ -1246,7 +1246,7 @@ static NSFileManager* defaultManager = nil;
|
|||
cpath = [self fileSystemRepresentationWithPath:
|
||||
[path stringByDeletingLastPathComponent]];
|
||||
|
||||
return (access(cpath, X_OK || W_OK) != 0);
|
||||
return (access(cpath, X_OK | W_OK) != 0);
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue