delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-Spam-Check-By: | sourceware.org |
Date: | Wed, 26 Nov 2008 12:38:49 -0500 |
From: | Christopher Faylor <cgf-use-the-mailinglist-please AT cygwin DOT com> |
To: | cygwin AT cygwin DOT com, Enrico Forestieri <forenr AT lyx DOT org> |
Subject: | Re: open() and named pipes |
Message-ID: | <20081126173849.GA14783@ednor.casa.cgf.cx> |
Reply-To: | cygwin AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com, Enrico Forestieri <forenr AT lyx DOT org> |
References: | <20081126145052 DOT GB16542 AT sirio DOT sssup DOT it> |
MIME-Version: | 1.0 |
In-Reply-To: | <20081126145052.GB16542@sirio.sssup.it> |
User-Agent: | Mutt/1.5.16 (2007-06-09) |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
On Wed, Nov 26, 2008 at 03:50:52PM +0100, Enrico Forestieri wrote: >According to >http://www.opengroup.org/onlinepubs/000095399/functions/open.html >the open() function shall fail and sets errno to ENXIO if >O_WRONLY | O_NONBLOCK is set, the named file is a FIFO, and no >process has the file open for reading. > >This is not the case on Cygwin, as demonstrated by the attached >test case. I get "This should not happen.", while the same program >outputs "No process is reading from the other end." on both Linux >and Solaris. This should be fixed in the current snapshot. However, be aware that snapshots come from the 1.7.x trunk rather than the 1.5.x soon-to-be-deprecated release. So, if you try the snapshot, you'll need to create an initial /etc/fstab or run http://cygwin.com/setup-1.7.exe to do that for you. Running setup-1.7 will likely update your system to the beta version of cygwin 1.7 so other packages on your system to the beta 1.7 versions. Once you have updated to 1.7 then you will have to then install the newer snapshot at: http://cygwin.com/snapshots/ Thanks for the simple test case (tm). cgf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |