Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2008-04-30 | Kill the remaining alloca in fp doLookup() | Panu Matilainen | 1 | -5/+8 | |
2008-04-30 | One alloca() down in fp doLookup() | Panu Matilainen | 1 | -4/+5 | |
- single point of exit from the point where buf gets allocated | |||||
2008-04-29 | Use rpmGetPath() to construct full dbpath in db3open() | Panu Matilainen | 1 | -12/+5 | |
- another alloca() bites the dust... | |||||
2008-04-29 | Avoid alloca() in headerLoad() | Panu Matilainen | 1 | -1/+3 | |
- REGION_TAG_COUNT is a constant so local array would do even without C99.. | |||||
2008-04-29 | Avoid alloca() in findTag() | Panu Matilainen | 1 | -8/+7 | |
- instead of putting RPMTAG_ into strings where it's not present, do it the other way around - avoids a string copy and redundant string comparisons on the RPMTAG_ part | |||||
2008-04-29 | Avoid alloca() in shescapeFormat() | Panu Matilainen | 1 | -4/+4 | |
2008-04-29 | Avoid alloca() in headerAddI18NString() | Panu Matilainen | 1 | -3/+5 | |
2008-04-29 | This code has been commented out since -99, time to let go... | Panu Matilainen | 1 | -36/+0 | |
2008-04-28 | Oops, simplified it a little bit much, fixing | Jindrich Novy | 1 | -3/+4 | |
2008-04-28 | Remove remaining alloca() from rpmdb.c | Jindrich Novy | 1 | -5/+14 | |
2008-04-28 | Simplify dirName handling in rpmdbFindByFile() | Jindrich Novy | 1 | -7/+3 | |
2008-04-28 | Eliminate pointless alloca() of hsa struct | Panu Matilainen | 1 | -31/+32 | |
2008-04-28 | Remove bogus/misleading return value of hsaInit() and hsaFini() | Panu Matilainen | 1 | -8/+4 | |
- they don't (de)allocate anything, just modify contents of hsa arg | |||||
2008-04-28 | Remove useless hsa != NULL checks | Panu Matilainen | 1 | -10/+6 | |
- hsa has been already dereferenced before it's even checked for NULL in both hsaInit() and hsaNext() - they're just internal interfaces with limited number of callers, we know hsa can't be NULL | |||||
2008-04-28 | Eliminate pointless alloca() of local DBT structs. | Panu Matilainen | 1 | -100/+100 | |
2008-04-28 | Revert bunch of alloca() -> xcalloc() changes in rpmdb routines | Panu Matilainen | 1 | -28/+16 | |
- reverts the following commits: 0b0dcd114028e1e2a00870917cf07a27858a30b1 71018d6d2d67b0e17c737e7a90cc6bb704e224ba f6134083c29c6cbb3be255fadae47a03d35b09f1 | |||||
2008-04-24 | Remove outdated comment, add a todo reminder | Panu Matilainen | 1 | -0/+1 | |
- callbacks for pkgs without files have been faked for some time now.. | |||||
2008-04-24 | Might as well compare against tag shortname now that we have it | Panu Matilainen | 1 | -2/+2 | |
2008-04-24 | Remove meaningless extern on function declarations in headers | Panu Matilainen | 1 | -1/+1 | |
2008-04-22 | Simplify rebuild path generation | Panu Matilainen | 1 | -6/+1 | |
2008-04-22 | More path manipulation craziness eliminated in rpmdbRemoveDatabase() | Panu Matilainen | 1 | -20/+8 | |
2008-04-22 | Eliminate wtf dbpath shuffling in rpmdbMoveDatabase() | Panu Matilainen | 1 | -38/+19 | |
- Just use rpmGetPath() to construct a clean, sanitized path from the components. - Previously it went to great lengths to ensure trailing / on dbpath, catenate the paths with %s/%s/%s and then rpmCleanPath() to get rid of the extra slashes just created. Eh. | |||||
2008-04-22 | Don't use alloca for struct stat, there's no need to. | Panu Matilainen | 1 | -7/+7 | |
2008-04-22 | Add rpmdb internal helper for cleaning up db4 environment, use it | Panu Matilainen | 1 | -17/+27 | |
2008-04-16 | Make headerNVR() just a special case of headerNEVRA() | Panu Matilainen | 1 | -11/+7 | |
2008-04-09 | Replace alloca+memset with xcalloc() in rpmdbRemove() | Panu Matilainen | 1 | -6/+12 | |
- return value is suspect: should return "ret" instead of 0 at exit depending on what happened in removal but preserving previous behavior for now... | |||||
2008-04-09 | Replace alloca+memset with xcalloc() in rpmdbAdd() | Panu Matilainen | 1 | -4/+6 | |
2008-04-09 | Replace alloca+memset with xcalloc() in rpmdbCountPackages() | Panu Matilainen | 1 | -6/+10 | |
2008-04-09 | Tonne of indentation + other formatting corrections to rpmdb.c | Panu Matilainen | 1 | -70/+85 | |
- no functional changes | |||||
2008-04-09 | Remove dead code | Panu Matilainen | 1 | -25/+0 | |
2008-04-09 | Report full nevra in rpmdb remove debug message | Panu Matilainen | 1 | -3/+4 | |
2008-04-09 | Make headerGetNEVRA() return "src" as the arch of source packages | Panu Matilainen | 1 | -2/+4 | |
2008-04-09 | Initialize pointers, lowercase local variable | Panu Matilainen | 1 | -4/+4 | |
2008-04-09 | Rewrite headerGetN*() for simplicity | Panu Matilainen | 1 | -26/+21 | |
- eliminate stpcpy() games - reuse evr formatting from headerGetEVR() instead of doing it over and over again everywhere | |||||
2008-04-09 | Add headerGetEVR() convenience function | Panu Matilainen | 2 | -0/+26 | |
- return formatted evr string + optionally pointer to name | |||||
2008-04-09 | Make headerNEVRA() actually return epoch too | Panu Matilainen | 2 | -2/+7 | |
- ...but epoch is an integer type in headers, change proto to match that | |||||
2008-04-08 | Eliminate four copy-paste versions of nibble(), stick to rpmstring.h | Panu Matilainen | 1 | -18/+2 | |
- the one in signature.c wasn't even used... | |||||
2008-04-07 | Eliminate several copy-paste hex converters, use pgpHexStr() instead | Panu Matilainen | 4 | -27/+3 | |
2008-04-06 | Eliminate the uuuuugly and unsafe static tagname buffer | Panu Matilainen | 3 | -22/+25 | |
- generate the "human friendly" strings at build time, store into the tag table structure - also avoids copying of strings and lowercasing strings at runtime | |||||
2008-04-06 | Move the tagtbl.c generator monster awk out of Makefile.am | Panu Matilainen | 2 | -14/+80 | |
- stick it into a separate script, reformat so it's possible to actually read it... | |||||
2008-04-04 | getcwd(NULL,0) has undefined behavior, use rpmGetCwd() instead | Panu Matilainen | 1 | -2/+6 | |
2008-04-04 | Remove copy-paste currentDirectory() from sqlite, use rpmGetCwd() | Panu Matilainen | 1 | -12/+1 | |
2008-04-03 | We don't support url's in db paths, rip. | Panu Matilainen | 3 | -46/+11 | |
- file:// vs / is silly and anything else wont work, so pretending url support just plain bogus | |||||
2008-04-03 | Replace silly static rpmioFileExists() in rpmdb.c with plain old access() | Panu Matilainen | 1 | -41/+5 | |
- accepting url's there is not only useless but just plain bogus | |||||
2008-04-03 | Remove ancient db1->db3 conversion cruft | Panu Matilainen | 1 | -9/+0 | |
2008-03-24 | Avoid static buffer for sql commands | Panu Matilainen | 1 | -6/+12 | |
2008-03-24 | Revert rpmhash changes from previous commit | Panu Matilainen | 1 | -2/+2 | |
- rpmhash key + data actually sometimes point to const data.. pff | |||||
2008-03-24 | Remove bogus consts from rpmdb and dbi structs | Panu Matilainen | 6 | -29/+29 | |
2008-03-18 | Bump up sonames, we're not exactly ABI compatible with 4.4 anymore.. | Panu Matilainen | 1 | -1/+1 | |
2008-03-18 | Minimal namespacing for locale-insensitive x*() string functions | Panu Matilainen | 4 | -20/+20 | |