From 49588d5d9089589ccda28c41aae90c29d6f72787 Mon Sep 17 00:00:00 2001 From: rsc Date: Wed, 17 Dec 2003 04:34:52 +0000 Subject: Tweaks to various bits. Until I hear otherwise, Refs aren't used enough to merit their own assembly. They are now implemented with locks. --- src/libthread/exec-unix.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/libthread/exec-unix.c') diff --git a/src/libthread/exec-unix.c b/src/libthread/exec-unix.c index 97c75607..c04d414c 100644 --- a/src/libthread/exec-unix.c +++ b/src/libthread/exec-unix.c @@ -122,6 +122,7 @@ efork(void *ve) for(i=3; i<40; i++) if(i != e->fd[1]) close(i); + rfork(RFNOTEG); execvp(e->prog, e->args); _threaddebug(DBGEXEC, "_schedexec failed: %r"); rerrstr(buf, sizeof buf); -- cgit v1.2.3