12 Commits

Author SHA1 Message Date
Adam D. Barratt
8bbdf65d07 lib/dpkg.c: don't try to dereference a NULL pointer
Signed-off-by: Adam D. Barratt <adam@adam-barratt.org.uk>
2013-09-24 04:56:27 +00:00
Colin Watson
4576882338 Support :any architecture qualifiers for multiarch
Multiarch adds a Depends: foo:any syntax, permitted only if the
target of the dependency is "Multi-Arch: allowed".  This has
been supported by dpkg and apt for some time and is now safe to
use in unstable.

[Adam D. Barratt: adjusted to use consts.py]

Signed-off-by: Adam D. Barratt <adam@adam-barratt.org.uk>
2013-09-17 20:07:38 +00:00
Cyril Brulebois
c992787918 lib/dpkg.c: Keep noise related to AIEEEs to a minimum.
Signed-off-by: Cyril Brulebois <kibi@debian.org>
2012-03-05 12:13:21 +00:00
Cyril Brulebois
47c808309b britney: Print the current package to stderr when AIEEEing.
Signed-off-by: Cyril Brulebois <kibi@debian.org>
2012-03-05 11:55:41 +00:00
Niels Thykier
68304a8b72 Removed even more stuff from dpkg.c
Signed-off-by: Niels Thykier <niels@thykier.net>
2011-12-27 11:39:57 +01:00
Niels Thykier
bdaf40775a Even more garbage collection of dpkg.c and even some of dpkg-lib.c
Signed-off-by: Niels Thykier <niels@thykier.net>
2011-12-26 15:04:56 +01:00
Niels Thykier
11f40f1f17 More code removal from dpkg.c
Signed-off-by: Niels Thykier <niels@thykier.net>
2011-12-25 22:55:50 +01:00
Niels Thykier
7eff120867 Removed unused C-API from dpkg.h
Signed-off-by: Niels Thykier <niels@thykier.net>
2011-12-25 22:42:44 +01:00
Adam D. Barratt
5498c6c4a1 lib/dpkg.c: Also use SIZEOFHASHMAP for the sources hashes
Commit 7bba1173e02583a0dd669bde49fb91c0ea46f243 increased the size of the
binary package and virtual packages hash and introduced the constant
SIZEOFHASHMAP to ease further changes.

Apply the same change to the source package and source note hashes

Signed-off-by: Adam D. Barratt <adam@adam-barratt.org.uk>
2011-05-09 15:06:36 +00:00
Adam D. Barratt
bd048814b2 Increase the size of the tables used for storing package information
Signed-off-by: Adam D. Barratt <adam@adam-barratt.org.uk>

If the internal tables used in the C module are not large enough to store
the list of discovered packages then checking installability becomes very
slow.
2010-06-23 19:03:40 +00:00
Fabio Tranchitella
a0dc325294 Implemented buildSystem, removeBinary and addBinary for the c extension; added a sample python script. 2006-08-18 21:43:49 +00:00
Fabio Tranchitella
c8468f9516 Imported the old britney and its libraries. 2006-08-18 21:27:54 +00:00