projects
/
platform
/
upstream
/
libsolv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
9d7595d
)
db.h can be found under /usr/include on Fedora, etc.
author
Michael Andres
<ma@suse.de>
Wed, 24 Nov 2010 07:45:49 +0000
(08:45 +0100)
committer
Michael Andres
<ma@suse.de>
Wed, 24 Nov 2010 07:45:49 +0000
(08:45 +0100)
ext/repo_rpmdb.c
patch
|
blob
|
history
diff --git
a/ext/repo_rpmdb.c
b/ext/repo_rpmdb.c
index
34f2b65
..
eed8a96
100644
(file)
--- a/
ext/repo_rpmdb.c
+++ b/
ext/repo_rpmdb.c
@@
-29,7
+29,7
@@
#ifndef DB_CREATE
# ifdef FEDORA
#ifndef DB_CREATE
# ifdef FEDORA
-# include <db
4/db
.h>
+# include <db.h>
# else
# include <rpm/db.h>
# endif
# else
# include <rpm/db.h>
# endif
@@
-1262,7
+1262,7
@@
opendbenv(const char *rootdir)
}
return dbenv;
}
}
return dbenv;
}
-
+
static int
count_headers(const char *rootdir, DB_ENV *dbenv)
static int
count_headers(const char *rootdir, DB_ENV *dbenv)
@@
-2367,7
+2367,7
@@
rpm_byrpmdbid(Id rpmdbid, const char *rootdir, void **statep)
rpmhead->dp = rpmhead->data + rpmhead->cnt * 16;
return rpmhead;
}
rpmhead->dp = rpmhead->data + rpmhead->cnt * 16;
return rpmhead;
}
-
+
void *
rpm_byfp(FILE *fp, const char *name, void **statep)
{
void *
rpm_byfp(FILE *fp, const char *name, void **statep)
{
@@
-2533,7
+2533,7
@@
r64dec1(char *p, unsigned int *vp, int *eofp)
return p;
}
return p;
}
-static unsigned int
+static unsigned int
crc24(unsigned char *p, int len)
{
unsigned int crc = 0xb704ceL;
crc24(unsigned char *p, int len)
{
unsigned int crc = 0xb704ceL;