plan9port

fork of plan9port with libvec, libstr and libsdb
Log | Files | Refs | README | LICENSE

commit ad00bb91b9e6c97e9605e623fb3b39d89aa41935
parent f002cc17a63794af58bfde55a95b7c7fd6551d9a
Author: rsc <devnull@localhost>
Date:   Sun, 17 Oct 2004 05:33:14 +0000

use threadexitsall

Diffstat:
Msrc/cmd/9term/9term.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/cmd/9term/9term.c b/src/cmd/9term/9term.c @@ -303,7 +303,7 @@ hangupnote(void *a, char *msg) } if(strstr(msg, "child")){ /* bug: do better */ - exits(0); + threadexitsall(0); } noted(NDFLT); }