cf3d05cb92
Approved by: Maintainer
25 lines
613 B
Plaintext
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))
|