* include/io.h (X_OK): Revert 2007-01-24 change, but leave comment.

This commit is contained in:
Danny Smith 2007-02-08 08:15:32 +00:00
parent 5155321fbc
commit d4c6243390
2 changed files with 5 additions and 1 deletions

View file

@ -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.

View file

@ -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 */