]> git.saurik.com Git - apt.git/commit - methods/rred.cc
methods/rred: minor robustness improvements
authorAnthony Towns <aj@erisian.com.au>
Mon, 20 Jan 2014 19:00:12 +0000 (05:00 +1000)
committerAnthony Towns <aj@erisian.com.au>
Mon, 20 Jan 2014 19:00:12 +0000 (05:00 +1000)
commit2fd754cfe9a92fe85f4dd56447c70112b64b003e
treef47ae55bd34e5237e1e478e1c8bc8039677af5a8
parent1700c3cfb902f3f61fa4d9269523467fcceaaf58
methods/rred: minor robustness improvements

Use retry_fwrite to better handle partial fwrite successes, and to keep
the Hashes in sync with what's actually written.
methods/rred.cc