summaryrefslogtreecommitdiff
path: root/archivers/arc/files/patch-aj
diff options
context:
space:
mode:
Diffstat (limited to 'archivers/arc/files/patch-aj')
-rw-r--r--archivers/arc/files/patch-aj24
1 files changed, 24 insertions, 0 deletions
diff --git a/archivers/arc/files/patch-aj b/archivers/arc/files/patch-aj
new file mode 100644
index 000000000000..f7dc13a56ce6
--- /dev/null
+++ b/archivers/arc/files/patch-aj
@@ -0,0 +1,24 @@
+--- ./arcio.c.orig Tue Aug 10 23:03:25 1999
++++ ./arcio.c Tue Aug 10 23:01:56 1999
+@@ -46,7 +46,7 @@
+ return 0; /* then signal end of archive */
+
+ if (hdrver != ARCMARK) { /* check archive validity */
+- if (warn) {
++ if (arcwarn) {
+ printf("An entry in %s has a bad header.\n", arcname);
+ nerrs++;
+ }
+@@ -63,10 +63,10 @@
+ if (feof(f) && first)
+ arcdie("%s is not an archive", arcname);
+
+- if (changing && warn)
++ if (changing && arcwarn)
+ arcdie("%s is corrupted -- changes disallowed", arcname);
+
+- if (warn)
++ if (arcwarn)
+ printf(" %d bytes skipped.\n", try);
+
+ if (feof(f))