timport: clean up correctly - plan9port - [fork] Plan 9 from user space
git clone git://src.adamsgaard.dk/plan9port
Log
Files
Refs
README
LICENSE
---
commit dc6625ea01a804a53bc946da70456a6252bfd2fc
parent de2d77683ec42e0235ba4b6f0de5e668f24590c7
Author: Russ Cox 
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(-)
---
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