aboutsummaryrefslogtreecommitdiff
path: root/lib/tar/test/data/negative-mtime/gnu.tar
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2023-06-09 20:03:53 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2023-06-09 20:03:53 +0200
commit605fd3e3a2656438dc0283699fc4a4b44b8b71db (patch)
treec5f8fdc27315df401a2fbb17c1e5b7ba267160f3 /lib/tar/test/data/negative-mtime/gnu.tar
parent115ba7e0830a00a7b0bce5887c8ffeba78e3ab53 (diff)
libtar: overhaul buffer management in istream_t wrapper
As soon as we no longer have any data to read, unlock/drop the parent iterator_t object. Also, make sure we get the buffer count right, not all data might have been consumed yet when precache is called. Remove the precache/read loop in the non-sparse case, we have already established that there is data available. If it is insufficient, the user will simply call precache again once it's used up, which istream_get_buffered_data forwards to a precache call in the underlying stream. Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'lib/tar/test/data/negative-mtime/gnu.tar')
0 files changed, 0 insertions, 0 deletions