shithub: scc

Download patch

ref: b4937529eec57e67ac61a53ca2589d4fa3cf7d1a
parent: a8e4d53e8f54a11b7c4dc1cedce0ce228160154e
author: Roberto E. Vargas Caballero <k0ga@shike2.com>
date: Wed Feb 21 16:20:55 EST 2018

[ar] Initialize member fileds in run()

--- a/ar/main.c
+++ b/ar/main.c
@@ -399,6 +399,9 @@
 {
 	struct member op;
 
+	op.src = fp;
+	op.cur = BEFORE;
+
 	while (fread(&op.hdr, sizeof(op.hdr), 1, fp) == 1) {
 		fpos_t pos;