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: Paul Eggert <eggert <at> cs.ucla.edu>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 36405 <at> debbugs.gnu.org, kbrown <at> cornell.edu
Subject: bug#36405: 26.2.90; O_PATH problem on some versions of Cygwin
Date: Fri, 28 Jun 2019 23:26:09 -0700
[Message part 1 (text/plain, inline)]
Eli Zaretskii wrote:
> What problems did you see/envision on other platforms with the
> original patch?

Mainly the hassle of maintaining code with a lot of hard-to-read ifdefs in it. 
It's better if system-specific stuff is kept to a minimum in mainline code. 
Also, this O_PATH stuff is not that high of a priority, as the code works quite 
well in practice without O_PATH. (Also, if Cygwin botched O_PATH on FIFOs 
there's a reasonable chance it botched O_PATH elsewhere too. :-)

How about something like the attached patch instead? It's simpler and should be 
a bit faster on Cygwin than the original patch. I haven't tested it.
[cygwin.diff (text/x-patch, attachment)]

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.