]> git.saurik.com Git - apt.git/commit - apt-pkg/edsp.cc
edsp: try harder to not generate unneeded error messages
authorDavid Kalnischkies <david@kalnischkies.de>
Wed, 27 Apr 2016 11:44:08 +0000 (13:44 +0200)
committerDavid Kalnischkies <david@kalnischkies.de>
Fri, 20 May 2016 12:18:36 +0000 (14:18 +0200)
commit4e92b11649292714082754920d5b28477414cd5a
treead73f62bb34a5d09ffab85db46cac6368fe7c1b5
parentef00bd7af5b2bc0625df58482eacb4c2873c3647
edsp: try harder to not generate unneeded error messages

The &= introduced in the EDSP-FileFd conversion isn't working to full
satisfaction for multiple && clauses as the && has a higher binding than
&= has, so that the methods were called even through they shouldn't
have because of previous errors. Using variadic functions we can solve
this in a slightly cleaner way bringing down the amount of 'broken pipe'
errors for the error case of the dump resolver substantially.

Git-Dch: Ignore
apt-pkg/contrib/fileutl.h
apt-pkg/edsp.cc