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: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Ken Brown <kbrown <at> cornell.edu>
Subject: bug#36405: closed (Re: 26.2.90; O_PATH problem on some versions
 of Cygwin)
Date: Thu, 27 Jun 2019 20:48:03 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#36405: 26.2.90; O_PATH problem on some versions of Cygwin

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 36405 <at> debbugs.gnu.org.

-- 
36405: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=36405
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Ken Brown <kbrown <at> cornell.edu>
Cc: 36405-done <at> debbugs.gnu.org
Subject: Re: 26.2.90; O_PATH problem on some versions of Cygwin
Date: Thu, 27 Jun 2019 13:47:27 -0700
[Message part 3 (text/plain, inline)]
Thanks, but that patch intrudes on the mainline code a bit. It's simpler 
to just disable O_PATH on Cygwin until the old Cygwin versions die out. 
Also, there's a similar issue in fileio.c. I installed the attached, 
which should work around the problem in both source files.
[0001-Work-around-Cygwin-bug-with-O_PATH.patch (text/x-patch, attachment)]
[Message part 5 (message/rfc822, inline)]
From: Ken Brown <kbrown <at> cornell.edu>
To: "bug-gnu-emacs <at> gnu.org" <bug-gnu-emacs <at> gnu.org>
Subject: 26.2.90; O_PATH problem on some versions of Cygwin
Date: Thu, 27 Jun 2019 19:28:48 +0000
[Message part 6 (text/plain, inline)]
Cygwin supports the O_PATH flag starting with release 3.0.0, but it is buggy 
until release 3.0.8.  (Opening a FIFO with O_PATH causes a hang.)  The attached 
patches work around this problem.  The first patch (which still has a bug number 
that needs to be filled in) uses incorrect indentation for legibility.  The 
second patch fixes the indentation.

Ken
[0001-Avoid-O_PATH-on-versions-of-Cygwin-where-it-is-buggy.patch (text/plain, attachment)]
[0002-src-dired.c-file_attributes-Fix-indentation.patch (text/plain, 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.