Re: Broken process substitution

2010-08-16 Thread Daniel Colascione
On Sat, Aug 14, 2010 at 4:17 AM, Corinna Vinschen wrote: > Yep, it was another problem.  At one point the code missed to copy > over information about a file descriptor.  I applied a fix to CVS. I'm running a DLL built from the latest CVS, and all is well. Thanks for the fix! -- Problem reports:

Re: Broken process substitution

2010-08-14 Thread Corinna Vinschen
On Aug 14 12:32, Corinna Vinschen wrote: > On Aug 13 14:25, Eric Blake wrote: > > On 08/13/2010 02:17 PM, Eric Blake wrote: > > > On 08/13/2010 02:04 PM, Daniel Colascione wrote: > > >> Try "echo hello > >(cat)" -- that's supposed to output "hello". > > > > > > What makes you think it's supposed t

Re: Broken process substitution

2010-08-14 Thread Corinna Vinschen
On Aug 13 14:25, Eric Blake wrote: > On 08/13/2010 02:17 PM, Eric Blake wrote: > > On 08/13/2010 02:04 PM, Daniel Colascione wrote: > >> Try "echo hello > >(cat)" -- that's supposed to output "hello". > > > > What makes you think it's supposed to echo hello? That's system > > specific on what wil

Re: Broken process substitution

2010-08-13 Thread Daniel Colascione
On Fri, Aug 13, 2010 at 1:44 PM, Daniel Colascione wrote: > On Fri, Aug 13, 2010 at 1:25 PM, Eric Blake wrote: >> Then again, cat should exist until something causes the input side of >> its pipe to declare EOF; so I guess there's no race in this example >> after all.  Rather, it looks like a lim

Re: Broken process substitution

2010-08-13 Thread Daniel Colascione
On Fri, Aug 13, 2010 at 1:25 PM, Eric Blake wrote: > Then again, cat should exist until something causes the input side of > its pipe to declare EOF; so I guess there's no race in this example > after all.  Rather, it looks like a limitation in cygwin1.dll.  I don't > know why bash is unable to du

Re: Broken process substitution

2010-08-13 Thread Eric Blake
On 08/13/2010 02:17 PM, Eric Blake wrote: > On 08/13/2010 02:04 PM, Daniel Colascione wrote: >> Try "echo hello > >(cat)" -- that's supposed to output "hello". > > What makes you think it's supposed to echo hello? That's system > specific on what will happen. According to the bash manual, > >>

Re: Broken process substitution

2010-08-13 Thread Eric Blake
On 08/13/2010 02:04 PM, Daniel Colascione wrote: > Try "echo hello > >(cat)" -- that's supposed to output "hello". What makes you think it's supposed to echo hello? That's system specific on what will happen. According to the bash manual, >(cat) is evaluated first, and will result in a /dev/fd

Broken process substitution

2010-08-13 Thread Daniel Colascione
Try "echo hello > >(cat)" -- that's supposed to output "hello". On Cygwin, we get "bash: echo: write error: Bad file descriptor" -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe