ports/archivers/arc/patches/patch-arcext_c

20 lines
560 B
Text

--- 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++;
}