GNU bug report logs - #36405
26.2.90; O_PATH problem on some versions of Cygwin

Previous Next

Package: emacs;

Reported by: Ken Brown <kbrown <at> cornell.edu>

Date: Thu, 27 Jun 2019 19:29:01 UTC

Severity: normal

Found in version 26.2.90

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Ken Brown <kbrown <at> cornell.edu>
To: Paul Eggert <eggert <at> cs.ucla.edu>
Cc: Eli Zaretskii <eliz <at> gnu.org>, "36405 <at> debbugs.gnu.org" <36405 <at> debbugs.gnu.org>
Subject: bug#36405: 26.2.90; O_PATH problem on some versions of Cygwin
Date: Fri, 28 Jun 2019 17:57:04 +0000
On 6/27/2019 4:47 PM, Paul Eggert wrote:
> --- a/src/fileio.c
> +++ b/src/fileio.c
> @@ -61,6 +61,10 @@ Copyright (C) 1985-1988, 1993-2019 Free Software Foundation, Inc.
>   # include <linux/fs.h>
>   #endif
>   
> +#ifdef __CYGWIN__
> +# undef O_PATH /* Buggy in Cygwin 3.0.0 through 3.0.7.  */
> +#endif

This hunk is not necessary.  The only use of O_PATH in fileio.c is coupled with 
O_DIRECTORY, and this is not affected by the bug.

But, in any case, I agree with Eli's point that your patch is too drastic.  I 
don't see how my patch is intrusive.

Ken

This bug report was last modified 6 years and 19 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.