tuse threadexitsall - plan9port - [fork] Plan 9 from user space
(HTM) git clone git://src.adamsgaard.dk/plan9port
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit ad00bb91b9e6c97e9605e623fb3b39d89aa41935
(DIR) parent f002cc17a63794af58bfde55a95b7c7fd6551d9a
(HTM) Author: rsc <devnull@localhost>
Date: Sun, 17 Oct 2004 05:33:14 +0000
use threadexitsall
Diffstat:
M src/cmd/9term/9term.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
(DIR) diff --git a/src/cmd/9term/9term.c b/src/cmd/9term/9term.c
t@@ -303,7 +303,7 @@ hangupnote(void *a, char *msg)
}
if(strstr(msg, "child")){
/* bug: do better */
- exits(0);
+ threadexitsall(0);
}
noted(NDFLT);
}