summaryrefslogtreecommitdiff
path: root/apt-pkg/contrib/sha2_internal.h
diff options
context:
space:
mode:
authorColin Watson <cjwatson@ubuntu.com>2016-03-04 22:17:12 -0300
committerDavid Kalnischkies <david@kalnischkies.de>2016-03-06 10:22:45 +0100
commit9a63c3f480bcbc3232067237671b854d43a97236 (patch)
tree56748b8fdf424d146e1e6512c0c8af154e403090 /apt-pkg/contrib/sha2_internal.h
parent031a3f254a2a73b2843ead28a2481b63ec1d7244 (diff)
Fix lzma write support to handle "try again" case
The liblzma-based write code needs the same tweaks that the read code already has to cope with the situation where lzma_code returns zero the first time through because avail_out is zero, but will do more work if called again. This ports the read tweaks to the write code as closely as possible (including matching comments etc.). Closes: #751688
Diffstat (limited to 'apt-pkg/contrib/sha2_internal.h')
0 files changed, 0 insertions, 0 deletions