timport: clean up correctly - plan9port - [fork] Plan 9 from user space
HTML git clone git://src.adamsgaard.dk/plan9port
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit dc6625ea01a804a53bc946da70456a6252bfd2fc
DIR parent de2d77683ec42e0235ba4b6f0de5e668f24590c7
HTML Author: Russ Cox <rsc@swtch.com>
Date: Wed, 3 Nov 2010 15:49:22 -0400
import: clean up correctly
R=rsc
http://codereview.appspot.com/2875041
Diffstat:
M src/cmd/import.c | 1 +
1 file changed, 1 insertion(+), 0 deletions(-)
---
DIR diff --git a/src/cmd/import.c b/src/cmd/import.c
t@@ -262,6 +262,7 @@ shuffle(void *arg)
if(write(fd[1], buf, n) != n)
break;
}
+ threadexitsall(0);
}
void