delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/04/30/21:10:00

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
Date: Sat, 30 Apr 2005 21:09:45 -0400
From: Christopher Faylor <cgf-no-personal-reply-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: cygwin-1.5.16-1: FIFOs broken
Message-ID: <20050501010945.GB21071@trixie.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
References: <427424F9 DOT 8060209 AT 1979 DOT usna DOT com>
Mime-Version: 1.0
In-Reply-To: <427424F9.8060209@1979.usna.com>
User-Agent: Mutt/1.5.8i

On Sat, Apr 30, 2005 at 08:38:17PM -0400, Jerry D. Hedden wrote:
>I have a client-server application written in Perl that reads and writes 
>using FIFOs.  It works fine under cygwin-1.5.15-1, but fails under 
>cygwin-1.5.16-1 because it cannot read from the FIFO.
>
>To test this, open two shells.  In one shell, type:
>cd /tmp
>mkfifo FIFO
>cat <FIFO
>
>In the other shell, you can send text to the first shell using:
>cd /tmp
>echo YOUR TEXT HERE >>FIFO
>
>After you're done, just ^C in the first window.
>
>Under 1.5.15, the above works fine.
>
>Under 1.5.16, no text goes through the FIFO.  Further, the echo command 
>hangs, and will not terminate with ^C.  A 'ps' shows an 'O' for this 
>stuck shell.  You have to do a kill -9 on the shell to terminate it.

As I mentioned in another enjoyable thread last week, fifos are only
just barely working in cygwin.  They are still a work in progress.

However, that said, the above WJFFM.  In fact, it works more like linux
in 1.5.16 than it does on 1.5.15, i.e., the cat command exits after
printing "YOUR TEXT HERE" whereas it continues to block in 1.5.15.

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019