openbsd-ports/archivers/arc/patches/patch-arcio_c
obecian e73603ade9 + rename patches
+ integrate COMMENT
+ bump version

ports/archivers - ports@ maintained ports
2001-03-29 11:41:17 +00:00

25 lines
613 B
Plaintext

--- ./arcio.c.orig Tue Aug 10 23:03:25 1999
+++ ./arcio.c Tue Aug 10 23:01:56 1999
@@ -46,7 +46,7 @@
return 0; /* then signal end of archive */
if (hdrver != ARCMARK) { /* check archive validity */
- if (warn) {
+ if (arcwarn) {
printf("An entry in %s has a bad header.\n", arcname);
nerrs++;
}
@@ -63,10 +63,10 @@
if (feof(f) && first)
arcdie("%s is not an archive", arcname);
- if (changing && warn)
+ if (changing && arcwarn)
arcdie("%s is corrupted -- changes disallowed", arcname);
- if (warn)
+ if (arcwarn)
printf(" %d bytes skipped.\n", try);
if (feof(f))