bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bash-bug] A note for read builtin


From: Dr. Werner Fink
Subject: Re: [bash-bug] A note for read builtin
Date: Fri, 25 Jun 2010 10:11:42 +0200
User-agent: Mutt/1.5.20 (2009-06-14)

On Thu, Jun 24, 2010 at 01:18:25PM -0400, Chet Ramey wrote:
> On 6/23/10 6:08 AM, Dr. Werner Fink wrote:
> 
> > Yet an other version of the patch to avoid trouble with the
> > coproc builtin tested out in tests/coproc.tests.  There is one
> > difference more with tests/redir.tests at
> 
> Thanks, this is a great start.  There's still more work to be done with
> bookkeeping, and it won't work with job control, but it should get a
> large part of the way there for non-interactive shells.

Yep I've stumbled across a hanging bash if used interactive.
It seems that adding

       stop_pipeline (0, (COMMAND *)NULL);

after

       prev = NO_PIPE;

at least does avoid this. See the patch in my last mail with the
message ID <address@hidden>.


     Werner

-- 
  "Having a smoking section in a restaurant is like having
          a peeing section in a swimming pool." -- Edward Burr



reply via email to

[Prev in Thread] Current Thread [Next in Thread]