ref: 857c5cddb08a35830fa790ee5a6981b9a50b1378
parent: 563eadc3dd2e815868ba9c7fb93a81b2e0309072
author: Roberto E. Vargas Caballero <[email protected]>
date: Wed Feb 21 18:18:08 EST 2018
[ar] Fix magic number (again)
--- a/ar/main.c
+++ b/ar/main.c
@@ -438,7 +438,7 @@
exit(1);
}
- fwrite(ARMAG, sizeof(ARMAG), 1, fp);
+ fputs(ARMAG, fp);
for (i = 0; i < 3; i++) {
fi = tmps[i].fp;