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:
Richard Frith-MacDonald 2006-03-04 07:25:52 +00:00
parent ae1fce0b80
commit 646de35589
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.