mirror of
https://github.com/digarok/gsplus.git
synced 2024-11-24 06:34:02 +00:00
Merge branch 'experimental' of centralserv.gotgeeks.com:dbrock/gsplus into experimental
This commit is contained in:
commit
9ce2f0e35d
@ -10,6 +10,7 @@
|
|||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
#include <time.h>
|
||||||
|
|
||||||
#include "defc.h"
|
#include "defc.h"
|
||||||
#include "gsos.h"
|
#include "gsos.h"
|
||||||
@ -21,6 +22,11 @@
|
|||||||
#include <sys/paths.h>
|
#include <sys/paths.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef __linux__
|
||||||
|
#include <sys/xattr.h>
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
#if defined(_WIN32) || defined(WIN_SDL)
|
#if defined(_WIN32) || defined(WIN_SDL)
|
||||||
#include <io.h>
|
#include <io.h>
|
||||||
@ -157,6 +163,8 @@ static word32 map_errno() {
|
|||||||
return pathNotFound;
|
return pathNotFound;
|
||||||
case ENOMEM:
|
case ENOMEM:
|
||||||
return outOfMem;
|
return outOfMem;
|
||||||
|
case EEXIST:
|
||||||
|
return dupPathname;
|
||||||
default:
|
default:
|
||||||
return drvrIOError;
|
return drvrIOError;
|
||||||
}
|
}
|
||||||
@ -2478,4 +2486,4 @@ void host_fst(void) {
|
|||||||
engine.acc = acc;
|
engine.acc = acc;
|
||||||
if (acc) SEC();
|
if (acc) SEC();
|
||||||
else CLC();
|
else CLC();
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user