From: Sergey Poznyakoff Date: Wed, 8 Oct 2003 11:18:01 +0000 (+0000) Subject: [MSDOS]: Fixed spelling of EACCES. Added macro overriding broken mkdir prototypes. X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=006d3dc1d5190e935791d5eddf2e3e678dd4e00f;p=chaz%2Ftar [MSDOS]: Fixed spelling of EACCES. Added macro overriding broken mkdir prototypes. --- diff --git a/src/system.h b/src/system.h index 9fd1c1b..5420150 100644 --- a/src/system.h +++ b/src/system.h @@ -510,12 +510,13 @@ time_t time (); #if MSDOS # include # 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 # include # define SET_BINARY_MODE(arc) -# define ERRNO_IS_EACCESS 0 +# define ERRNO_IS_EACCES 0 #endif #if XENIX