commit 4ab0abc2045290932735c9df5962bdaeae211981
Author: Quentin Rameau <[email protected]>
AuthorDate: Fri Jun 10 10:50:07 2016 +0200
Commit: Quentin Rameau <[email protected]>
CommitDate: Wed Jun 15 18:50:46 2016 +0200
[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.
diff --git a/driver/posix/scc.c b/driver/posix/scc.c
index bd5a61b..f23929b 100644
--- a/driver/posix/scc.c
+++ b/driver/posix/scc.c
@@ -307,6 +307,8 @@ validatetools(void)
t->nargs = t->nparams;
t->pid = 0;
t->error = 0;
+ t->in = 0;
+ t->out = 0;
}
}
}