`man sh' now hangs when the pager is exited.  This is caused by the recent
change to sh/eval.c

Simplified example:

    sh -c "jot 6000 | cat | head"

hangs.  This example is almost minimal.  The size of the data written
by the first command must be large enough to not fit in the pipe; the
middle command must be there, and the last command in the pipe must
exit before reading all the data.

The middle command should be killed by SIGPIPE when its output pipe is
closed; this output pipe should be closed when the final command exits,
but this is not happening because the shell is holding it open.

Bruce



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to