scc

simple c99 compiler
git clone git://git.simple-cc.org/scc
Log | Files | Refs | README | LICENSE

commit b0d8a13c5dd58a6187b6162df402fe426ceafda5
parent 2eeb732a0f641780345a590d50ef8f7f08c72373
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Wed, 21 Feb 2018 21:14:24 +0000

[ar] Fix merge()

The ar magic number was wrong.

Diffstat:
Mar/main.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ar/main.c b/ar/main.c @@ -435,7 +435,7 @@ merge(void) exit(1); } - fwrite(ARFMAG, sizeof(ARFMAG), 1, fp); + fwrite(ARMAG, sizeof(ARFMAG), 1, fp); for (i = 0; i < 3; i++) { fi = tmps[i].fp;