commit | f735cf9b4a5a961bf66f7140af1ecd70a43beaac | [log] [tgz] |
---|---|---|
author | Jim Beveridge <jimbe@chromium.org> | Tue Jul 11 15:13:40 2017 -0700 |
committer | Jim Beveridge <jimbe@chromium.org> | Tue Jul 11 16:04:46 2017 -0700 |
tree | 733a866b76daaeb1e40d7c3249a92029349aa972 | |
parent | aa0b3cafd57d08a64dfbb65485419a78a3645d8f [diff] |
[tar] Fix support for pipes in Fuchsia - I broke skipblk() when I added support for lseek(). Seeking does not work on pipes and it's necessary to fall back to sequential reads. - Pipes will sometimes return short reads. This is legal but unusual. I updated unarchive() to cleanly handle this condition. - Also fixed directory creation, which wasn't setting the mode because of a premature call to mkdirp(). Change-Id: I72e77dd35a1a95afce3c1ef8241cf8f66d320a7d