[hackers] [scc] [driver/posix] Set correct value for cc2 || Roberto E. Vargas Caballero
commit 0771ecab43a53d473d65baf0d08b6177077e11b4
Author: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
AuthorDate: Sun Jan 24 18:39:27 2016 +0100
Commit: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
CommitDate: Sun Jan 24 18:39:27 2016 +0100
[driver/posix] Set correct value for cc2
Execv(2) needs a correct argv array.
diff --git a/driver/posix/scc.c b/driver/posix/scc.c
index 588dbf8..318293f 100644
--- a/driver/posix/scc.c
+++ b/driver/posix/scc.c
_AT_@ -136,6 +136,7 @@ main(int argc, char *argv[])
argcc1[0] = "cc1";
argcc1[1] = *argv;
+ argcc2[0] = "cc2";
cc1(fds[1]);
cc2(fds[0]);
Received on Sun Jan 24 2016 - 18:42:00 CET
This archive was generated by hypermail 2.3.0
: Sun Jan 24 2016 - 18:48:28 CET