shithub: scc

Download patch

ref: a8e4d53e8f54a11b7c4dc1cedce0ce228160154e
parent: b0b1078f5a44eeb374bba25ece1c9dcb218883e4
author: Roberto E. Vargas Caballero <[email protected]>
date: Wed Feb 21 16:14:24 EST 2018

[ar] Fix merge()

The ar magic number was wrong.

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