X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-1.3 required=5.0 	tests=AWL,BAYES_00
X-Spam-Check-By: sourceware.org
Date: Wed, 23 Dec 2009 03:12:19 +0100
From: Enrico Forestieri <forenr@lyx.org>
To: cygwin@cygwin.com
Subject: Re: select() and named pipes
Message-ID: <20091223021219.GA5836@GIOVE>
References: <20091222224309.GA3504@GIOVE> <20091223003714.GA4491@ednor.casa.cgf.cx>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20091223003714.GA4491@ednor.casa.cgf.cx>
User-Agent: Mutt/1.4.2.2i
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On Tue, Dec 22, 2009 at 07:37:14PM -0500, Christopher Faylor wrote:
> On Tue, Dec 22, 2009 at 11:43:09PM +0100, Enrico Forestieri wrote:
> >I am experiencing a problem with select() and named pipes in cygwin
> >1.7.  The attached test case segfaults on the select() call, but works
> >fine with both cygwin 1.5 and linux.
> 
> Thanks for the test case.  This should be fixed in the next Cygwin
> snapshot but it will not be fixed (of course?) in 1.7.1 which is now
> available from the Cygwin web site.

I confirm that with the 20091222 snapshot the crash does not occur
anymore. However, there's still something wrong. Indeed, running the
test case in a terminal and issuing "echo foo > /tmp/pipe" from another
one, the program exits without printing the expected "foo".

Let me take the occasion for thanking you and all other developers for
the newly released 1.7.

-- 
Enrico

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

