openbsd-ports/archivers/arc/patches/patch-arcext_c
gsoares 8f400fede0 update archivers/arc to 5.21p
OK jasper@ sthen@
OK wcmaier@ (MAINTAINER) and who wants to drop maintainership
2011-05-23 13:42:10 +00:00

22 lines
625 B
Plaintext

$OpenBSD: patch-arcext_c,v 1.3 2011/05/23 13:42:10 gsoares Exp $
--- arcext.c.orig Sat Aug 7 10:06:42 2010
+++ arcext.c Thu May 19 23:35:46 2011
@@ -143,7 +143,7 @@ extfile(hdr, path, prt) /* extract a file */
if (note)
printf("Extracting file: %s\n", fix);
- if (warn && !overlay) {
+ if (arcwarn && !overlay) {
if ((f = fopen(fix, "r"))) { /* see if it exists */
fclose(f);
printf("WARNING: File %s already exists!", fix);
@@ -191,7 +191,7 @@ extfile(hdr, path, prt) /* extract a file */
if (!f)
#endif
{
- if (warn) {
+ if (arcwarn) {
printf("Cannot create %s\n", fix);
nerrs++;
}