Commit Graph

68 Commits

Author SHA1 Message Date
Alexey Tourbin
af4053bfa0 rpmdb: removed db1 support 2009-04-23 13:49:52 +04:00
Alexey Tourbin
1ea6ca8d22 rpmhash.c (hashEqualityString): bare strcmp call 2009-03-26 11:20:50 +03:00
Alexey Tourbin
6652e778ca rpmhash.c (hashBucket_s): added const and unsigned 2009-03-26 11:20:41 +03:00
Alexey Tourbin
34d8d48726 rpmhash.c: renamed findEntry to findBucket and made it inline 2009-03-26 11:20:34 +03:00
Alexey Tourbin
c204d6ad7a rpmhash.c: allocate hash table and its buckets in single chunk 2009-03-26 11:20:23 +03:00
Alexey Tourbin
732a880e8c fprint.h (fprintCacheEntry_s): removed isFake (unused) 2009-03-26 11:20:17 +03:00
Alexey Tourbin
6a2cc38410 fprint.c: fpCacheFree returns NULL 2009-03-26 11:20:07 +03:00
Alexey Tourbin
dba96abac5 deal with fpCacheCreate() size parameter 2009-03-26 11:19:53 +03:00
Alexey Tourbin
02104ae61f Use only one, global fingerPrintCache to save a lot of stat calls
[Based on rpm.org af80c3de by Florian Festi.]
2009-03-26 11:19:43 +03:00
Alexey Tourbin
a443927f78 fprint.c (fpHashFunction): use Jenkins hash 2009-03-26 11:19:30 +03:00
Alexey Tourbin
6d4fea769d jhash.h, rpmhash.c: switch to Jenkins One-at-a-time hash 2009-03-26 11:19:01 +03:00
Alexey Tourbin
6a9eae99c7 fprint.c: removed fpLookupHeader(), unused 2009-03-26 11:18:11 +03:00
Alexey Tourbin
d1539cd25c fprint.c: clarify malloc confusion 2009-03-26 11:18:01 +03:00
Alexey Tourbin
c4170e6003 rpmhash.c: htFree() takes freeKey and freeData fns and returns NULL 2009-03-26 11:17:46 +03:00
Alexey Tourbin
97e48a2da9 rpmhash.c: Make the data array part of the hash bucket to save one pointer per bucket
[Based on rpm.org 0ba387b4 by Florian Festi.]
2009-03-26 11:17:33 +03:00
Alexey Tourbin
d4b7714b36 rpmhash.c: removed keySize arg from htCreate() 2009-03-26 11:17:14 +03:00
3dfa753c83 rpmdb/header.c (guess_category_value): Allow overriding locale using $RPM_LANGUAGE_I18NSTRING for headerFindI18NString
We want to abuse I18NSTRING for storing arbitrary data, e.g. GIT commit identifiers.
To achieve this, we have to bypass setlocale(3) check.
2007-06-22 11:14:39 +00:00
df61ee0b9e Include local headers. 2006-05-15 03:26:57 +04:00
8787ee5d55 Fixed "type qualifiers ignored on function return type" issue. 2006-05-15 02:48:59 +04:00
5ccf95cd08 Link librpmdb with -lpopt. 2006-01-14 21:58:13 +00:00
a2310ac49c reverted rpmTagTable changes 2005-10-19 17:45:39 +00:00
887cff9d84 link with libelf by default 2005-10-15 19:16:25 +00:00
fc89dbda03 relocated _noDirTokens, compressFilelist, expandFilelist, providePackageNVR from lib to rpmdb 2005-10-15 18:43:13 +00:00
eaef1aad45 relocated _noDirTokens, compressFilelist, expandFilelist, providePackageNVR from lib to rpmdb 2005-10-15 16:30:13 +00:00
22a3b64b23 relocated tagtable.c from lib to rpmdb 2005-10-15 16:07:06 +00:00
d9535b693f relocated headerNVR() from lib to rpmdb; added headerNEVRA() to rpmdb 2005-10-15 15:25:41 +00:00
e1e85a6d51 relocated tagtable.c from lib to rpmdb 2005-10-15 15:22:28 +00:00
857446207e relocated tagtable.c from lib to rpmdb 2005-10-15 15:13:29 +00:00
adacd53a24 relocated headerNVR() from lib to rpmdb; added headerNEVRA() to rpmdb 2005-10-15 15:03:18 +00:00
e4d02edfd1 relocated tagName.c from lib to rpmdb 2005-10-15 14:57:00 +00:00
acf2f5d6ac relocated rpmvercmp.c from lib to rpmdb 2005-10-15 14:44:31 +00:00
f27bc8917e reverted: relocated parseEVR and isChangeNameMoreFresh from lib to rpmdb 2005-10-15 14:42:24 +00:00
5fe70d69b9 relocated parseEVR and isChangeNameMoreFresh from lib to rpmdb 2005-10-15 14:29:38 +00:00
d447fad49e relocated hdrinline.h and header.c from lib to rpmdb 2005-10-15 14:12:36 +00:00
6a14cbc258 fixed rpmExpand usage 2005-09-29 17:10:24 +00:00
4086557633 fixed rpmExpand usage 2005-09-29 16:01:17 +00:00
ce8ad9b9f0 fix rpmExpandNumeric handling 2005-09-29 15:46:13 +00:00
f9ac189dfe fixed obvious errors introduced in previous commits 2005-06-15 15:36:39 +00:00
d6fa9aff25 fixed obvious errors introduced in previous commit 2005-06-15 14:37:58 +00:00
6a89ddaff1 dbi_set_lock(): New function. 2005-06-15 13:27:53 +00:00
d40459106c updated for libdb4.3 2005-02-10 14:16:26 +00:00
6f80c78eb9 updated for libdb4.3 2005-02-10 12:15:42 +00:00
0c36ad4882 reverted recent change 2004-03-22 11:37:21 +00:00
ae2e79a5ce link librpmdb with -lrpm 2004-03-21 23:21:42 +00:00
95d3140850 rpmdbRebuild: enhanced rebuilding database messages 2004-02-29 20:19:38 +00:00
9f9432eea1 do not db->close after db->verify 2004-02-29 18:41:02 +00:00
0d110556dc fixed db >= 4.2 support 2004-02-29 15:02:57 +00:00
625bac66a8 fixed db >= 4.2 support 2004-02-29 14:46:16 +00:00
f6e2d37e95 assorted backports from 4_0-20030325 2004-02-29 14:14:02 +00:00
420ed01811 makefiles cleanup2 2003-11-24 20:50:42 +00:00