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