4.1 csh bug

lcc.bob at UCLA-LOCUS.ARPA lcc.bob at UCLA-LOCUS.ARPA
Tue Sep 18 03:39:21 AEST 1984


From:            Bob English <lcc.bob at UCLA-LOCUS.ARPA>

If you interrupt a command doing backquote expansion, the shell hangs.
Does anyone have a ready bug fix for this?

For those interested, the c-shell forks before doing backquote
expansion.  When the command to be executed is not a built-in
command, the cshell uses vfork() instead of fork().  When the
child does the backquote expansion, it uses the parent's
process/job-control data structure, which doesn't get cleaned up
when the child exits due to an interrupt.

--bob--



More information about the Comp.unix.wizards mailing list