summaryrefslogtreecommitdiff
path: root/archivers/arc/files/patch-al
diff options
context:
space:
mode:
authorChristian Weisgerber <naddy@FreeBSD.org>2005-10-14 12:25:57 +0000
committerChristian Weisgerber <naddy@FreeBSD.org>2005-10-14 12:25:57 +0000
commit2a4fabbee28525028812b46c5eea2496da345ea6 (patch)
tree98153ea4820a4117fba7b5698789b86b3e63067d /archivers/arc/files/patch-al
parentClaim for haskell@ (diff)
Update to 5.21n. No user-visible changes.
The new upstream version now opens temporary files in a safe manner, so our local patches for this are no longer needed. Approved by: ache
Diffstat (limited to 'archivers/arc/files/patch-al')
-rw-r--r--archivers/arc/files/patch-al14
1 files changed, 7 insertions, 7 deletions
diff --git a/archivers/arc/files/patch-al b/archivers/arc/files/patch-al
index 734b15f3f8d2..01fc04932fe9 100644
--- a/archivers/arc/files/patch-al
+++ b/archivers/arc/files/patch-al
@@ -1,6 +1,6 @@
---- ./arcrun.c.orig Tue Aug 10 23:03:25 1999
-+++ ./arcrun.c Tue Aug 10 23:01:57 1999
-@@ -94,7 +94,7 @@
+--- arcrun.c.orig Sun Oct 9 03:38:22 2005
++++ arcrun.c Fri Oct 14 00:53:57 2005
+@@ -98,7 +98,7 @@
strcpy(sys, buf);
else {
@@ -9,7 +9,7 @@
printf("File %s is not a .BAS, .BAT, .COM, or .EXE\n",
hdr->name);
nerrs++;
-@@ -108,7 +108,7 @@
+@@ -112,7 +112,7 @@
&& strcmp(i, ".TTP")
&& strcmp(i, ".TOS"))
{
@@ -18,16 +18,16 @@
printf("File %s is not a .PRG, .TOS, or .TTP\n",
hdr->name);
nerrs++;
-@@ -118,7 +118,7 @@
+@@ -122,7 +122,7 @@
}
#endif
- if (warn)
+ if (arcwarn)
- if (tmp = fopen(buf, "r"))
+ if ((tmp = fopen(buf, "r")))
arcdie("Temporary file %s already exists", buf);
if (!(tmp = fopen(buf, OPEN_W)))
-@@ -142,7 +142,7 @@
+@@ -148,7 +148,7 @@
#endif
chdir(dir);
free(dir); /* return to whence we started */