diff options
author | David Kalnischkies <david@kalnischkies.de> | 2016-07-29 21:39:20 +0200 |
---|---|---|
committer | Julian Andres Klode <jak@debian.org> | 2016-10-05 12:02:19 +0200 |
commit | 1b63558a39ee1eed7eb024cd0e164d73beb165b1 (patch) | |
tree | b902625038ce6ff4d1ae999a8f9017cd4daf105f /apt-pkg/acquire-method.cc | |
parent | df47efeb5764bba8ac4789727f9ffe970e5cd756 (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/acquire-method.cc')
0 files changed, 0 insertions, 0 deletions