Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Nov 1999 19:35:05 +0100
From:      Martin Cracauer <cracauer@cons.org>
To:        Bruce Evans <bde@zeta.org.au>
Cc:        Martin Cracauer <cracauer@cons.org>, cracauer@FreeBSD.ORG, current@FreeBSD.ORG
Subject:   Re: shell pipeline bug
Message-ID:  <19991112193504.A16025@cons.org>
In-Reply-To: <Pine.BSF.4.10.9911130414460.18341-100000@alphplex.bde.org>; from Bruce Evans on Sat, Nov 13, 1999 at 04:15:54AM %2B1100
References:  <19991112174451.A15638@cons.org> <Pine.BSF.4.10.9911130414460.18341-100000@alphplex.bde.org>

next in thread | previous in thread | raw e-mail | index | archive | help
In <Pine.BSF.4.10.9911130414460.18341-100000@alphplex.bde.org>, Bruce Evans wrote: 
> On Fri, 12 Nov 1999, Martin Cracauer wrote:
> 
> > In <Pine.BSF.4.10.9911130146270.17701-100000@alphplex.bde.org>, Bruce Evans wrote: 
> > > `man sh' now hangs when the pager is exited.  This is caused by the recent
> > > change to sh/eval.c
> > 
> > My fix in 1.23 of eval.c was broken, but Steve repaired it in 1.24.
> > 
> > Do you have 1.24?
> 
> Yes, of course.

Sorry, I can reproduce the hangs with 1.23, while I can't with 1.24.

The problem is: A pipe with more data that sh's threshold for forking
is and the receiving end process exits before the sending process, not
consuming all of the pipe's contents.

That exactly what 1.24 fixed (for me :-).

Martin
-- 
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Martin Cracauer <cracauer@cons.org> http://www.cons.org/cracauer/
  Tel.: (private) +4940 5221829 Fax.: (private) +4940 5228536


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19991112193504.A16025>