]> Dogcows Code - chaz/tar/commitdiff
[MSDOS]: Fixed spelling of EACCES. Added macro overriding broken mkdir prototypes.
authorSergey Poznyakoff <gray@gnu.org.ua>
Wed, 8 Oct 2003 11:18:01 +0000 (11:18 +0000)
committerSergey Poznyakoff <gray@gnu.org.ua>
Wed, 8 Oct 2003 11:18:01 +0000 (11:18 +0000)
src/system.h

index 9fd1c1b6573e2b671507de1fe0d5cdaaa39e514d..542015094248dd5914adbb19df6453c39b31ac18 100644 (file)
@@ -510,12 +510,13 @@ time_t time ();
 #if MSDOS
 # include <process.h>
 # define SET_BINARY_MODE(arc) setmode(arc, O_BINARY)
-# define ERRNO_IS_EACCESS errno == EACCESS
+# define ERRNO_IS_EACCES errno == EACCES
+# define mkdir(file, mode) (mkdir) (file)
 #else
 # include <pwd.h>
 # include <grp.h>
 # define SET_BINARY_MODE(arc)
-# define ERRNO_IS_EACCESS 0
+# define ERRNO_IS_EACCES 0
 #endif
 
 #if XENIX
This page took 0.022068 seconds and 4 git commands to generate.