<feed xmlns='http://www.w3.org/2005/Atom'>
<title>apt/apt-pkg/contrib/error.cc, branch 1.4_beta4</title>
<subtitle>Debians commandline package manager</subtitle>
<id>https://git.kalnischkies.de/apt/atom?h=1.4_beta4</id>
<link rel='self' href='https://git.kalnischkies.de/apt/atom?h=1.4_beta4'/>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/'/>
<updated>2016-07-27T20:42:24Z</updated>
<entry>
<title>(error) va_list 'args' was opened but not closed by va_end()</title>
<updated>2016-07-27T20:42:24Z</updated>
<author>
<name>David Kalnischkies</name>
<email>david@kalnischkies.de</email>
</author>
<published>2016-07-27T20:21:58Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=196d590a99e309764e07c9dc23ea98897eebf53a'/>
<id>urn:sha1:196d590a99e309764e07c9dc23ea98897eebf53a</id>
<content type='text'>
Reported-By: cppcheck
Gbp-Dch: Ignore
</content>
</entry>
<entry>
<title>avoid using global PendingError to avoid failing too often too soon</title>
<updated>2015-09-14T13:22:18Z</updated>
<author>
<name>David Kalnischkies</name>
<email>david@kalnischkies.de</email>
</author>
<published>2015-09-10T17:00:51Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=95278287f4e1eeaf5d96749d6fc9bfc53fb400d0'/>
<id>urn:sha1:95278287f4e1eeaf5d96749d6fc9bfc53fb400d0</id>
<content type='text'>
Our error reporting is historically grown into some kind of mess.
A while ago I implemented stacking for the global error which is used in
this commit now to wrap calls to functions which do not report (all)
errors via return, so that only failures in those calls cause a failure
to propergate down the chain rather than failing if anything
(potentially totally unrelated) has failed at some point in the past.

This way we can avoid stopping the entire acquire process just because a
single source produced an error for example. It also means that after
the acquire process the cache is generated – even if the acquire
process had failures – as we still have the old good data around we can and
should generate a cache for (again).

There are probably more instances of this hiding, but all these looked
like the easiest to work with and fix with reasonable (aka net-positive)
effects.
</content>
</entry>
<entry>
<title>cleanup headers and especially #includes everywhere</title>
<updated>2014-03-13T12:58:45Z</updated>
<author>
<name>David Kalnischkies</name>
<email>david@kalnischkies.de</email>
</author>
<published>2014-03-05T21:11:25Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=453b82a388013e522b3a1b9fcd6ed0810dab1f4f'/>
<id>urn:sha1:453b82a388013e522b3a1b9fcd6ed0810dab1f4f</id>
<content type='text'>
Beside being a bit cleaner it hopefully also resolves oddball problems
I have with high levels of parallel jobs.

Git-Dch: Ignore
Reported-By: iwyu (include-what-you-use)
</content>
</entry>
<entry>
<title>warning: extra ‘;’ [-Wpedantic]</title>
<updated>2014-03-13T12:58:45Z</updated>
<author>
<name>David Kalnischkies</name>
<email>david@kalnischkies.de</email>
</author>
<published>2014-02-27T00:20:53Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=d3e8fbb395f57954acd7a2095f02ce530a05ec6a'/>
<id>urn:sha1:d3e8fbb395f57954acd7a2095f02ce530a05ec6a</id>
<content type='text'>
Git-Dch: Ignore
Reported-By: gcc -Wpedantic
</content>
</entry>
<entry>
<title>proper cleanup varargs in _error (uncovered by Coverity)</title>
<updated>2013-07-26T10:04:55Z</updated>
<author>
<name>David Kalnischkies</name>
<email>kalnischkies@gmail.com</email>
</author>
<published>2013-07-26T10:04:55Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=9ca0d58180366275f5e62b6c5aad066b7b09a1de'/>
<id>urn:sha1:9ca0d58180366275f5e62b6c5aad066b7b09a1de</id>
<content type='text'>
Git-Dch: Ignore
</content>
</entry>
<entry>
<title>merge with debian/experimental</title>
<updated>2011-09-13T15:52:22Z</updated>
<author>
<name>David Kalnischkies</name>
<email>kalnischkies@gmail.com</email>
</author>
<published>2011-09-13T15:52:22Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=74b220028595342028e3309002e4ec359af328f9'/>
<id>urn:sha1:74b220028595342028e3309002e4ec359af328f9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>reorder includes: add &lt;config.h&gt; if needed and include it at first</title>
<updated>2011-09-13T08:09:00Z</updated>
<author>
<name>David Kalnischkies</name>
<email>kalnischkies@gmail.com</email>
</author>
<published>2011-09-13T08:09:00Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=ea54214002c09eeb4dd498d97a564471ec9993c5'/>
<id>urn:sha1:ea54214002c09eeb4dd498d97a564471ec9993c5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>cppcheck complains about some possible speed improvements which could be</title>
<updated>2011-08-11T18:53:28Z</updated>
<author>
<name>David Kalnischkies</name>
<email>kalnischkies@gmail.com</email>
</author>
<published>2011-08-11T18:53:28Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=f7f0d6c7560a8f71707e7852a512469147aa9f84'/>
<id>urn:sha1:f7f0d6c7560a8f71707e7852a512469147aa9f84</id>
<content type='text'>
done on the mirco-optimazation level, so lets fix them:
 (performance) Possible inefficient checking for emptiness.
 (performance) Prefer prefix ++/-- operators for non-primitive types.
</content>
</entry>
<entry>
<title>fix a bunch of cppcheck warnings/errors based on a patch by</title>
<updated>2011-04-15T23:10:09Z</updated>
<author>
<name>David Kalnischkies</name>
<email>kalnischkies@gmail.com</email>
</author>
<published>2011-04-15T23:10:09Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=6070a3461841d4398d731fcb33792d55779111f1'/>
<id>urn:sha1:6070a3461841d4398d731fcb33792d55779111f1</id>
<content type='text'>
Niels Thykier, thanks! (Closes: #622805)</content>
</entry>
<entry>
<title>* apt-pkg/contrib/error.cc:</title>
<updated>2011-02-15T13:04:06Z</updated>
<author>
<name>David Kalnischkies</name>
<email>kalnischkies@gmail.com</email>
</author>
<published>2011-02-15T13:04:06Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=38f297033faa099a0705c8f66964d8c5d7927c8d'/>
<id>urn:sha1:38f297033faa099a0705c8f66964d8c5d7927c8d</id>
<content type='text'>
  - ensure that va_list is not invalid in second try</content>
</entry>
</feed>
