On Tue, Aug 19, 2008 at 09:48:14AM +0200, Christian Franke wrote: >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.
I think this is fixed now. I spent a lot of time trying to get this to work exactly like linux but Windows thwarted me. It should now, at least, behave like 1.5.*. 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/