summaryrefslogtreecommitdiff
path: root/archivers/arc/files/patch-arcunp.c
diff options
context:
space:
mode:
Diffstat (limited to 'archivers/arc/files/patch-arcunp.c')
-rw-r--r--archivers/arc/files/patch-arcunp.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/archivers/arc/files/patch-arcunp.c b/archivers/arc/files/patch-arcunp.c
new file mode 100644
index 000000000000..08e091f2462e
--- /dev/null
+++ b/archivers/arc/files/patch-arcunp.c
@@ -0,0 +1,20 @@
+--- ./arcunp.c.orig Tue Aug 10 23:03:25 1999
++++ ./arcunp.c Tue Aug 10 23:01:57 1999
+@@ -123,7 +123,7 @@
+ break;
+
+ default: /* unknown method */
+- if (warn) {
++ if (arcwarn) {
+ printf("I don't know how to unpack file %s\n", hdr->name);
+ printf("I think you need a newer version of ARC\n");
+ nerrs++;
+@@ -135,7 +135,7 @@
+ /* cleanups common to all methods */
+
+ if (crcval != hdr->crc) {
+- if (warn || kludge) {
++ if (arcwarn || kludge) {
+ printf("WARNING: File %s fails CRC check\n", hdr->name);
+ nerrs++;
+ }