diff options
author | Danny Smith <dannysmith@users.sourceforge.net> | 2007-02-08 08:15:32 +0000 |
---|---|---|
committer | Danny Smith <dannysmith@users.sourceforge.net> | 2007-02-08 08:15:32 +0000 |
commit | d4c6243390c1486d3e86d618e218f5360557589c (patch) | |
tree | 26e74494aa652d942ead3111c2d2cec2b3f1b4d0 /winsup | |
parent | 5155321fbcf08a1b93f37f47c9f2854df5ba6f5c (diff) | |
download | cygnal-d4c6243390c1486d3e86d618e218f5360557589c.tar.gz cygnal-d4c6243390c1486d3e86d618e218f5360557589c.tar.bz2 cygnal-d4c6243390c1486d3e86d618e218f5360557589c.zip |
* include/io.h (X_OK): Revert 2007-01-24 change, but leave comment.
Diffstat (limited to 'winsup')
-rw-r--r-- | winsup/mingw/ChangeLog | 4 | ||||
-rw-r--r-- | winsup/mingw/include/io.h | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/winsup/mingw/ChangeLog b/winsup/mingw/ChangeLog index 6adb7bf3a..a7d9ae53a 100644 --- a/winsup/mingw/ChangeLog +++ b/winsup/mingw/ChangeLog @@ -1,3 +1,7 @@ +2007-02-08 Danny Smith <dannysmith@users.sourceforge.net> + + * include/io.h (X_OK): Revert 2007-01-24 change, but leave comment. + 2007-01-27 Danny Smith <dannysmith@users.sourceforge.net> Expose some more msvcr80.dll functions. diff --git a/winsup/mingw/include/io.h b/winsup/mingw/include/io.h index 45e04110f..926510236 100644 --- a/winsup/mingw/include/io.h +++ b/winsup/mingw/include/io.h @@ -182,7 +182,7 @@ _CRTIMP int __cdecl chmod (const char*, int); #define F_OK 0 /* Check for file existence */ /* Well maybe it does hurt. On newer versions of MSVCRT, an access mode of 1 causes invalid parameter error. */ -#define X_OK F_OK /* MS access() doesn't check for execute permission. */ +#define X_OK 1 /* MS access() doesn't check for execute permission. */ #define W_OK 2 /* Check for write permission */ #define R_OK 4 /* Check for read permission */ |