commit | e9e78ecd2c0ae5f48ed81fdfff4a89cb803fc409 | [log] [tgz] |
---|---|---|
author | Christopher Tate <ctate@google.com> | Wed Jun 08 20:09:31 2011 -0700 |
committer | Christopher Tate <ctate@google.com> | Wed Jun 08 20:11:49 2011 -0700 |
tree | 2da70dfa7ba568ce511e75ad674aa59c4d14f042 | |
parent | 0a251cd5ee8bbd8e787a1d17ddbe7f9524a9e313 [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