scc

simple C compiler
git clone git://git.2f30.org/scc
Log | Files | Refs | README | LICENSE

commit 0771ecab43a53d473d65baf0d08b6177077e11b4
parent a564aad2414de7c381465fa9ced3dcf0f4f2a532
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Sun, 24 Jan 2016 18:39:27 +0100

[driver/posix] Set correct value for cc2

Execv(2) needs a correct argv array.

Diffstat:
Mdriver/posix/scc.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/driver/posix/scc.c b/driver/posix/scc.c @@ -136,6 +136,7 @@ main(int argc, char *argv[]) argcc1[0] = "cc1"; argcc1[1] = *argv; + argcc2[0] = "cc2"; cc1(fds[1]); cc2(fds[0]);