]> git.saurik.com Git - apt.git/commit
if the FileFd failed already following calls should fail, too
authorDavid Kalnischkies <david@kalnischkies.de>
Fri, 29 Jul 2016 19:39:20 +0000 (21:39 +0200)
committerDavid Kalnischkies <david@kalnischkies.de>
Fri, 29 Jul 2016 20:09:04 +0000 (22:09 +0200)
commit02c38073af51802c02bb104d4450e0e112d641ad
tree4a1faf9e650c8d57530b72eba2473436c6c6e84e
parent196d590a99e309764e07c9dc23ea98897eebf53a
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.
apt-pkg/contrib/fileutl.cc