projects
/
sbcl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
run-program leaked a pipe per call
[sbcl.git]
/
src
/
runtime
/
run-program.c
diff --git
a/src/runtime/run-program.c
b/src/runtime/run-program.c
index
4e6f829
..
00692b7
100644
(file)
--- a/
src/runtime/run-program.c
+++ b/
src/runtime/run-program.c
@@
-138,6
+138,7
@@
int spawn(char *program, char *argv[], int sin, int sout, int serr,
p += n;
}
}
+ close(channel[0]);
if (child_errno) {
waitpid(pid, NULL, 0);
/* Our convention to tell Lisp that it was the exec that