rc

[fork] interactive rc shell
Log | Files | Refs | README | LICENSE

commit 1c08ed0dc8fef3a7b844b02676aa0418ebce00b5
parent 0bb130a5476691071c783eea3a175cd4b3a05731
Author: tgoodwin <tgoodwin>
Date:   Mon,  9 Feb 1998 14:16:41 +0000

reset list of child processes after fork; fixes `{ls & wait} |cat' bug

Diffstat:
Mwait.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/wait.c b/wait.c @@ -30,6 +30,7 @@ extern pid_t rc_fork() { /* NOTREACHED */ case 0: forked = TRUE; + plist = 0; sigchk(); return 0; default: