This is the mail archive of the
cygwin-patches@cygwin.com
mailing list for the Cygwin project.
Re: X_OK redefinition protection.
- To: Cygwin Patches <cygwin-patches at cygwin dot com>
- Subject: Re: X_OK redefinition protection.
- From: Christopher Faylor <cgf at redhat dot com>
- Date: Fri, 20 Apr 2001 12:37:32 -0400
- References: <3ADEFDEF.626A46EC@yahoo.com>
- Reply-To: cygwin-patches at cygwin dot com
On Thu, Apr 19, 2001 at 11:02:07AM -0400, Earnie Boyd wrote:
>I've also sent the sys-unistd file to newlib.
>
>Earnie.
>2001-04-19 Earnie Boyd <earnie@users.sourceforge.net>
>
> * include/sys/file.h (X_OK): Remove redefinition warnings when
> including both sys/unistd.h and sys/file.h. Make the definition
> consistent with sys/unistd.h.
I've checked in an alternate patch for this.
I don't think there is any reason to protect F_OK, W_OK, and R_OK.
Those definitions haven't changed for years. The real problem was that
I somehow got the #ifdef wrong.
Are you actually seeing problems with F_OK redefinition?
cgf