summaryrefslogtreecommitdiff
path: root/archivers/arc/files/patch-al
diff options
context:
space:
mode:
Diffstat (limited to 'archivers/arc/files/patch-al')
-rw-r--r--archivers/arc/files/patch-al38
1 files changed, 38 insertions, 0 deletions
diff --git a/archivers/arc/files/patch-al b/archivers/arc/files/patch-al
new file mode 100644
index 000000000000..734b15f3f8d2
--- /dev/null
+++ b/archivers/arc/files/patch-al
@@ -0,0 +1,38 @@
+--- ./arcrun.c.orig Tue Aug 10 23:03:25 1999
++++ ./arcrun.c Tue Aug 10 23:01:57 1999
+@@ -94,7 +94,7 @@
+ strcpy(sys, buf);
+
+ else {
+- if (warn) {
++ if (arcwarn) {
+ printf("File %s is not a .BAS, .BAT, .COM, or .EXE\n",
+ hdr->name);
+ nerrs++;
+@@ -108,7 +108,7 @@
+ && strcmp(i, ".TTP")
+ && strcmp(i, ".TOS"))
+ {
+- if (warn) {
++ if (arcwarn) {
+ printf("File %s is not a .PRG, .TOS, or .TTP\n",
+ hdr->name);
+ nerrs++;
+@@ -118,7 +118,7 @@
+ }
+ #endif
+
+- if (warn)
++ if (arcwarn)
+ if (tmp = fopen(buf, "r"))
+ arcdie("Temporary file %s already exists", buf);
+ if (!(tmp = fopen(buf, OPEN_W)))
+@@ -142,7 +142,7 @@
+ #endif
+ chdir(dir);
+ free(dir); /* return to whence we started */
+- if (unlink(buf) && warn) {
++ if (unlink(buf) && arcwarn) {
+ printf("Cannot unsave temporary file %s\n", buf);
+ nerrs++;
+ }