mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 08:21:25 +00:00
Applied mingw fixes by Mateu Batle
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19242 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
92b35443e6
commit
abc7709a49
5 changed files with 17 additions and 7 deletions
|
@ -851,6 +851,9 @@ NSTemporaryDirectory(void)
|
|||
perm = [[attr objectForKey: NSFilePosixPermissions] intValue];
|
||||
perm = perm & 0777;
|
||||
|
||||
// Mateu Batle: secure temporary directories don't work in MinGW
|
||||
#ifndef __MINGW__
|
||||
|
||||
#if defined(__MINGW__)
|
||||
uid = owner;
|
||||
#else
|
||||
|
@ -900,6 +903,7 @@ NSTemporaryDirectory(void)
|
|||
return nil; /* Not reached. */
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
if ([manager isWritableFileAtPath: tempDirName] == NO)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue