summaryrefslogtreecommitdiff
path: root/apt-inst/database.cc
diff options
context:
space:
mode:
authorDavid Kalnischkies <kalnischkies@gmail.com>2010-07-09 21:46:42 +0200
committerDavid Kalnischkies <kalnischkies@gmail.com>2010-07-09 21:46:42 +0200
commit62d073d937742baf8621a11c3094e0320aa846cd (patch)
tree444ffbb1903d98a09556e22cf715c14266807526 /apt-inst/database.cc
parent7635093c1c015e385a9e72bdd8a089fd9d48ab57 (diff)
check the state of the FileFd before renaming as otherwise the rename
will be tried twice e.g. in an "apt-get update" run and every other piece of code closing the FileFd manual before the destructor will do it again.
Diffstat (limited to 'apt-inst/database.cc')
0 files changed, 0 insertions, 0 deletions