patch-arcext_c 625 B

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