diff options
author | jbj <devnull@localhost> | 2000-12-12 20:03:45 +0000 |
---|---|---|
committer | jbj <devnull@localhost> | 2000-12-12 20:03:45 +0000 |
commit | db32ab6bea1b635129820d6b628e6156c61b5385 (patch) | |
tree | 055f7ee7d5e06ba0b3e858b82f639310b892503d /lib/db2.c | |
parent | 2e9d2616969433851a1c883c900d6ea5acde67b7 (diff) | |
download | rpm-db32ab6bea1b635129820d6b628e6156c61b5385.tar.gz rpm-db32ab6bea1b635129820d6b628e6156c61b5385.tar.bz2 rpm-db32ab6bea1b635129820d6b628e6156c61b5385.zip |
Sync with rpm-4_0 branch.
CVS patchset: 4338
CVS date: 2000/12/12 20:03:45
Diffstat (limited to 'lib/db2.c')
-rw-r--r-- | lib/db2.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -1,18 +1,18 @@ -#include "system.h" - /** \ingroup db2 * \file lib/db2.c */ static int _debug = 1; /* XXX if < 0 debugging, > 0 unusual error returns */ +#include "system.h" #include <db2/db.h> - #include <rpmlib.h> #include <rpmmacro.h> #include <rpmurl.h> /* XXX urlPath proto */ #include "rpmdb.h" +#include "debug.h" + /*@access dbiIndex@*/ /*@access dbiIndexSet@*/ @@ -578,7 +578,7 @@ static int db2close(dbiIndex dbi, unsigned int flags) dbi->dbi_db = NULL; if (urlfn) - xfree(urlfn); + free((void *)urlfn); db2Free(dbi); @@ -756,7 +756,7 @@ static int db2open(rpmdb rpmdb, int rpmtag, dbiIndex * dbip) } if (urlfn) - xfree(urlfn); + free((void *)urlfn); return rc; } |