commit | 384f13a078cd6ac36b4c15be732036cdfb572ca8 | [log] [tgz] |
---|---|---|
author | Christopher Tate <ctate@google.com> | Wed Jun 08 20:09:31 2011 -0700 |
committer | Alex Ray <aray@google.com> | Tue Jul 30 13:56:56 2013 -0700 |
tree | a91b0253bcca71078aaefbefe4695b543df74e85 | |
parent | f90c1e290acc7e5b68fcf6bf1fd7c9ea5136dd89 [diff] |
Fix handling of directory entries Don't emit tar blocks for directories with an invalid nonzero size. Also, if such an entry is encountered during restore, don't actually attempt to treat it as valid and thus skip over the next actual tar entry. This patch also adds tracking of the data actually consumed during restore, and reports a total at the end of stream. Change-Id: I625173f76df3c007e899209101ff2b587841f184