kientzle f3849cee68 When we go to read the next tar header, if we get zero bytes, accept
that as end-of-archive.  Otherwise, a short read at this point
generates an error.  This accomodates broken tar writers (such as the
one apparently in use at AT&T Labs) that don't even write a single
end-of-archive block.

Note that both star and pdtar behave this way as well.
In contrast, gtar doesn't complain in either case, and as a
result, will generate no warning for a lot of trashed archives.

Pointed out by: shells/ksh93 port  (Thanks to Kris Kennaway)
2004-06-04 10:27:23 +00:00
..
2004-05-14 12:19:04 +00:00
2004-04-02 17:57:57 +00:00
2004-01-28 00:11:42 +00:00
2004-02-23 20:07:47 +00:00
2004-02-04 06:32:45 +00:00
2003-08-18 15:25:39 +00:00
2004-05-12 20:40:09 +00:00
2003-08-30 13:57:31 +00:00
2004-05-14 19:52:35 +00:00