diff options
author | Christopher Faylor <me@cgf.cx> | 2001-05-08 01:36:50 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2001-05-08 01:36:50 +0000 |
commit | ef8b659086c7867e9fb182c3e2fb6f58c7c5edf3 (patch) | |
tree | dd403d1b437491d709f9e5687eb5c748c39a2051 | |
parent | ca60ed47488dfbbdf3aec79426f5758c814c4880 (diff) | |
download | newlib-ef8b659086c7867e9fb182c3e2fb6f58c7c5edf3.zip newlib-ef8b659086c7867e9fb182c3e2fb6f58c7c5edf3.tar.gz newlib-ef8b659086c7867e9fb182c3e2fb6f58c7c5edf3.tar.bz2 |
* include/sys/file.h: Revert special X_OK usage. Just make it a constant.
-rw-r--r-- | winsup/cygwin/ChangeLog | 9 | ||||
-rw-r--r-- | winsup/cygwin/include/sys/file.h | 8 |
2 files changed, 9 insertions, 8 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index c72be5f..3a53964 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,5 +1,12 @@ +Mon May 7 21:33:17 2001 Christopher Faylor <cgf@cygnus.com> + + * include/sys/file.h: Revert special X_OK usage. Just make it a + constant. + Sun May 6 17:05:00 2001 Robert Collins <rbtcollins@hotmail.com> - * thread.h (pthread_cond): New element cond_access to allow atomic broadcasts. + + * thread.h (pthread_cond): New element cond_access to allow atomic + broadcasts. * thread.cc (pthread_cond::pthread_cond): Initialise cond_access. (pthread_cond::~pthread_cond): Destroy cond_access. (pthread_cond::Broadcast): Use cond_access. diff --git a/winsup/cygwin/include/sys/file.h b/winsup/cygwin/include/sys/file.h index 463682a..dbf2ea8 100644 --- a/winsup/cygwin/include/sys/file.h +++ b/winsup/cygwin/include/sys/file.h @@ -23,13 +23,7 @@ #define L_XTND 2 #define F_OK 0 /* does file exist */ -#undef X_OK -#if defined (__INSIDE_CYGWIN__) -# define X_OK 1 /* is it executable by caller */ -#else -extern const unsigned _cygwin_X_OK; -# define X_OK _cygwin_X_OK -#endif +#define X_OK 1 /* is it executable by caller */ #define W_OK 2 /* is it writable by caller */ #define R_OK 4 /* is it readable by caller */ |