summaryrefslogtreecommitdiff
path: root/apt-pkg/version.h
diff options
context:
space:
mode:
authorDavid Kalnischkies <david@kalnischkies.de>2016-06-29 14:57:00 +0200
committerJulian Andres Klode <jak@debian.org>2016-08-31 13:15:23 +0200
commit19883e510af7ea682875d697cb88ad8a21a08d89 (patch)
tree44110510ea544ceef3169e5c143c9f338d535ba0 /apt-pkg/version.h
parentdd45e6db683f50b9d8b1b18c2cfe50a4f9a38feb (diff)
if reading of autobit state failed, let write fail
If we can't read the old file we can't just move forward as that would discard potentially discard old data (especially other fields). We let it fail only after we are done writing the new file so a user has the chance to look into and merge the new data (which is otherwise discarded). (cherry picked from commit 520931867ee2fac8415a624204414d3b62550996)
Diffstat (limited to 'apt-pkg/version.h')
0 files changed, 0 insertions, 0 deletions