ref: f683a1a67e4f89281bcd5d96a5e951559e69f6d6
parent: fc869c93e25523e86b11850700016efcb3f0b4db
author: Quentin Rameau <quinq@fifth.space>
date: Fri Jun 10 06:50:07 EDT 2016
[driver] clean in and out tool fds This fixes using outdated fds when reusing on a later pass a tool which got its input from stdin, but would now read it from command line passed file.
--- a/driver/posix/scc.c
+++ b/driver/posix/scc.c
@@ -307,6 +307,8 @@
t->nargs = t->nparams;
t->pid = 0;
t->error = 0;
+ t->in = 0;
+ t->out = 0;
}
}
}