summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2001-09-26 20:53:42 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2001-09-26 20:53:42 +0000
commit7f1bf2e09f8ec124c0fba9d2bf033505f827353e (patch)
treed4d1605383a64779d8a3546b73ec4c0ad782a931
parent3847d0f51f8605678551a6026c484065e30880a6 (diff)
downloadtar-7f1bf2e09f8ec124c0fba9d2bf033505f827353e.tar.gz
just ignore them silently.
-rw-r--r--src/buffer.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/buffer.c b/src/buffer.c
index 949505c0..1d164b4b 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -1210,12 +1210,7 @@ flush_read (void)
archive_read_error ();
if (status == 0)
- {
- if (left % BLOCKSIZE != 0)
- ERROR ((0, 0, _("%d garbage bytes ignored at end of archive"),
- (int) ((record_size - left) % BLOCKSIZE)));
- break;
- }
+ break;
if (! read_full_records_option)
FATAL_ERROR ((0, 0, _("Unaligned block (%lu bytes) in archive"),