Update to arc-5.21o; from Will Maier <willmaier@ml1.net>

This commit is contained in:
alek 2006-06-21 10:19:32 +00:00
parent 557ea447f9
commit 2986fcfad7
3 changed files with 13 additions and 13 deletions

View File

@ -1,8 +1,8 @@
# $OpenBSD: Makefile,v 1.25 2005/10/13 18:05:20 naddy Exp $
# $OpenBSD: Makefile,v 1.26 2006/06/21 10:19:32 alek Exp $
COMMENT= "create & extract files from DOS .ARC files"
DISTNAME= arc-5.21n
DISTNAME= arc-5.21o
CATEGORIES= archivers
# GPL

View File

@ -1,4 +1,4 @@
MD5 (arc-5.21n.tgz) = 160eb7b7db1fa0c4b39296b6366a7b66
RMD160 (arc-5.21n.tgz) = 942e219ae1b22331f717d9279b80ad4193b02399
SHA1 (arc-5.21n.tgz) = 91d1aeb13bbc1e4ad35a6cd8dcf920f70290c04f
SIZE (arc-5.21n.tgz) = 82213
MD5 (arc-5.21o.tgz) = 3b30c739b42b2fe8ac4ec0a05f34f284
RMD160 (arc-5.21o.tgz) = 2897f62452f59efcb757cd5447d6d330df0cfdd1
SHA1 (arc-5.21o.tgz) = 4b803eae04976072fae88d4dbfc4b3e45796f8f3
SIZE (arc-5.21o.tgz) = 82386

View File

@ -1,6 +1,6 @@
$OpenBSD: patch-arcrun_c,v 1.2 2005/10/13 18:05:20 naddy Exp $
--- arcrun.c.orig Tue Oct 11 23:48:39 2005
+++ arcrun.c Tue Oct 11 23:48:59 2005
$OpenBSD: patch-arcrun_c,v 1.3 2006/06/21 10:19:33 alek Exp $
--- arcrun.c.orig Wed Oct 12 17:22:18 2005
+++ arcrun.c Wed Jun 21 12:17:53 2006
@@ -98,7 +98,7 @@ runfile(hdr, num, arg) /* run a file */
strcpy(sys, buf);
@ -27,11 +27,11 @@ $OpenBSD: patch-arcrun_c,v 1.2 2005/10/13 18:05:20 naddy Exp $
+ if (arcwarn)
if ((tmp = fopen(buf, "r")))
arcdie("Temporary file %s already exists", buf);
if (!(tmp = fopen(buf, OPEN_W)))
@@ -148,7 +148,7 @@ runfile(hdr, num, arg) /* run a file */
if (!(tmp = tmpopen(buf)))
@@ -146,7 +146,7 @@ runfile(hdr, num, arg) /* run a file */
if (system(buf)) /* try to invoke it */
arcdie("Execution failed for %s", buf);
#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);