cygwin 1.7.0-28: Broken pipe signal broken?
Christian Franke
Christian.Franke@t-online.de
Tue Aug 19 09:42:00 GMT 2008
Christopher Faylor wrote:
> On Mon, Aug 18, 2008 at 11:00:25PM -0400, Christopher Faylor wrote:
> >On Mon, Aug 18, 2008 at 01:55:20PM +0200, Christian Franke wrote:
> >>Result on 1.5.25-15:
> >>
> >>$ ./testpipe | dd bs=1 count=1 >/dev/null 2>/dev/null
> >>[SIGPIPE!]write = -1, errno = 32
> >>
> >>Result on 1.7.0-28:
> >>
> >>$ ./testpipe | dd bs=1 count=1 >/dev/null 2>/dev/null
> >>write = 0, errno = 32
> >
> >Yawn. I almost went to bed without remembering into this.
>
> Yeah. "remembering into" I obviously am tired. What are the
> odds that this fix actually fixes the problem?
>
It fixes the missing signal, but not the write() return value.
Result with cygwin1-20080818.dll:
$ ./testpipe | dd bs=1 count=1 >/dev/null 2>/dev/null
[SIGPIPE!]write = 0, errno = 32
Unfortunately, this makes things worse: bash now exits silently on
$(...) commands, so 'bash --login' fails.
Christian
--
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/
More information about the Cygwin
mailing list