fix ownership detection for directories in mingw32

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@22594 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
rfm 2006-03-04 07:25:52 +00:00
parent e1b9889677
commit 872941036c
2 changed files with 4 additions and 2 deletions

View file

@ -11,6 +11,8 @@
Basically, remove deprecated mingw32 specific api, and change Basically, remove deprecated mingw32 specific api, and change
housekeeper to try to make it as invisible as possible in terms of housekeeper to try to make it as invisible as possible in terms of
side effects. side effects.
* Source/NSFileManager.m: Fix mingw determination of the ownership
of a directory.
2006-03-03 Richard Frith-Macdonald <rfm@gnu.org> 2006-03-03 Richard Frith-Macdonald <rfm@gnu.org>

View file

@ -2847,7 +2847,7 @@ static NSSet *fileKeys = nil;
FILE_SHARE_READ, FILE_SHARE_READ,
0, 0,
OPEN_EXISTING, OPEN_EXISTING,
FILE_ATTRIBUTE_NORMAL, FILE_FLAG_BACKUP_SEMANTICS,
0); 0);
// Check GetLastError for CreateFile error code. // Check GetLastError for CreateFile error code.
@ -2987,7 +2987,7 @@ static NSSet *fileKeys = nil;
FILE_SHARE_READ, FILE_SHARE_READ,
0, 0,
OPEN_EXISTING, OPEN_EXISTING,
FILE_ATTRIBUTE_NORMAL, FILE_FLAG_BACKUP_SEMANTICS,
0); 0);
// Check GetLastError for CreateFile error code. // Check GetLastError for CreateFile error code.