]> git.saurik.com Git - apt.git/commit
set Fail flag in FileFd on all errors consistently
authorDavid Kalnischkies <kalnischkies@gmail.com>
Sat, 25 May 2013 18:22:06 +0000 (20:22 +0200)
committerDavid Kalnischkies <kalnischkies@gmail.com>
Sun, 9 Jun 2013 13:12:32 +0000 (15:12 +0200)
commitae635e3cf7559f3455b88a2499e7521d2094c416
tree95caecc70907acbd859db092963123c93ef25d09
parentc7873955a3b9419c5de49ee4665a6006b3bf6563
set Fail flag in FileFd on all errors consistently

Previously some errors would set the Fail flag while some didn't
without a clear reason as all errors leave a bad FileFd behind,
so we use a helper now to ensure that all errors set the flag.
apt-pkg/contrib/fileutl.cc
apt-pkg/contrib/fileutl.h
debian/changelog