summaryrefslogtreecommitdiff
path: root/apt-pkg/policy.cc
diff options
context:
space:
mode:
authorDavid Kalnischkies <david@kalnischkies.de>2016-07-29 21:39:20 +0200
committerJulian Andres Klode <jak@debian.org>2016-10-05 12:02:19 +0200
commit1b63558a39ee1eed7eb024cd0e164d73beb165b1 (patch)
treeb902625038ce6ff4d1ae999a8f9017cd4daf105f /apt-pkg/policy.cc
parentdf47efeb5764bba8ac4789727f9ffe970e5cd756 (diff)
if the FileFd failed already following calls should fail, too
There is no point in trying to perform Write/Read on a FileFd which already failed as they aren't going to work as expected, so we should make sure that they fail early on and hard. (cherry picked from commit 02c38073af51802c02bb104d4450e0e112d641ad)
Diffstat (limited to 'apt-pkg/policy.cc')
0 files changed, 0 insertions, 0 deletions