1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-04 22:33:27 +00:00
freebsd-ports/archivers/arc/files/patch-aj
2000-03-05 09:27:28 +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))