summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2007-12-16Lone module-private const .. removePanu Matilainen1-1/+1
2007-12-16Unconstify macro contents, fully contained within macro modulePanu Matilainen1-3/+3
2007-12-16Bogus const in temporary variablesPanu Matilainen2-3/+3
2007-12-16More const removalsPanu Matilainen2-2/+2
- both username cache and log records are fully contained within their modules...
2007-12-16More constfree for spec exposed stuff for nowPanu Matilainen1-2/+2
- openfileinfo seems easily made opaque, revisit later
2007-12-16Much of spec internals is exposed, let them be const for nowPanu Matilainen3-16/+16
2007-12-16Remove couple of bogus const uses in temp variablesPanu Matilainen1-2/+4
2007-12-16Unconstify FileListRec and AttrRec contentsPanu Matilainen1-11/+11
- not exposed outside files.c
2007-12-16Unconstify rpmrc internal tablesPanu Matilainen1-13/+13
- not exposed outside rpmrc, "protection" buys nothing
2007-12-16Fix default queryformat setting when _query_all_fmt not setPanu Matilainen1-4/+5
- \n in the rpmExpand() causes the result to always be non-null... - also avoid unnecessary const free
2007-12-16Remove const from rpmMkTempFile file name parameterPanu Matilainen7-7/+7
- the temp name is malloced and needs to be freed by caller
2007-12-16Refactor rpmReSign() and associated file "management" a bitPanu Matilainen1-46/+38
- remove unused + useless "rc" parameter from manageFile() - remove tempfile handling from manageFile(), create + open a tempfile explicitly in rpmReSign() - both copyFile() and manageFile() now require file names to be passed always - split file closing into separate closeFile() function
2007-12-16Stupid reversed-logic thinko..Panu Matilainen1-1/+1
2007-12-16Remove const from bunch of error message return typesPanu Matilainen8-27/+23
- headerCheck(), rpmReadHeader() and rpmReadSignature() return malloced error messages the caller needs to free, shouldn't be const - adjust rpmdb hdrchk callbacks accordingly
2007-12-16IDT* structures are exposed, let them use constfree for now..Panu Matilainen1-1/+1
2007-12-15And yet more bogus const removals...Panu Matilainen4-5/+5
2007-12-15Couple of bogus const removals from rpmgi and rpmds structsPanu Matilainen2-2/+2
- in both cases the data is already directly inaccessible from outside, no further protection necessary
2007-12-15Make bunch of build internal code take const parametersPanu Matilainen3-9/+9
2007-12-15Further bogus const removals...Panu Matilainen1-9/+9
2007-12-15Fix incorrect rpmCleanPath() retval commentPanu Matilainen1-1/+1
2007-12-15Another bunch of bogus const removalsPanu Matilainen6-9/+9
2007-12-15Avoid mixing local malloc with const parameter pointerPanu Matilainen1-5/+6
2007-12-15Use _constfree() for freeing urlinfo contentsPanu Matilainen1-8/+8
2007-12-15Expose compiler warnings from freeing data declared as constPanu Matilainen1-3/+16
- _free() is just a wrapper to free() which additionally returns NULL - add _constfree() for use in the cases where const is used to protect malloced "read-only" data in long-lived otherwise exposed structures etc
2007-12-15Remove bogus const from rpmProblemString() return typePanu Matilainen5-6/+14
- its malloced so it needs to be freed - fix all users to actually free
2007-12-15Remove bogus const from rpmGenPath() temporary targetsPanu Matilainen12-23/+24
2007-12-15Remove bogus const from rpmGetPath() temporary targetsPanu Matilainen16-36/+36
2007-12-15Remove bogus const from rpmGenPath and rpmGetPath return typePanu Matilainen2-7/+4
- both return malloced strings you're supposed to free
2007-12-14Bogus const removal continued...Panu Matilainen12-31/+30
2007-12-14Another bunch of bogus const removalsPanu Matilainen14-29/+29
2007-12-14Remove bogus consts..Panu Matilainen2-3/+3
2007-12-14Bunch of const char* correctionsPanu Matilainen15-29/+33
- functions returning string constants as char * etc...
2007-12-14Bunch of silly ssize_t castsPanu Matilainen2-7/+7
- cuts down the amount of spurious warnings from inlined code...
2007-12-14Oops, major + minor are not dev_t...Panu Matilainen1-1/+1
2007-12-14Yet more type-pedantry...Panu Matilainen3-11/+11
- use rpm_tag_t for signature tag types too - size_t, not rpm_count_t in signature generation - add couple of explicit casts to rpmpgp.h to avoid spurious noise from inlined functions
2007-12-14More size_t type pedantryPanu Matilainen10-13/+16
2007-12-14Oops, rpmpsi index needs to be signed typePanu Matilainen1-2/+2
2007-12-14More misc size_t issuesPanu Matilainen5-7/+7
2007-12-14Use dev_t instead of ints..Panu Matilainen1-6/+7
2007-12-14Couple of more size_t uses + related format string fixesPanu Matilainen2-9/+9
2007-12-13Big bunch of int -> size_t corrections for various signature itemsPanu Matilainen9-67/+66
2007-12-13Use rpm_tagtype_t everywhere for rpm (header) tagtype typePanu Matilainen31-183/+187
- typedef'ed as uint32_t, doesn't matter much but negative types dont exist - easy to grep, easy to change... - define RPM_FORCEFREE_TYPE instead of -1 "magic" for forcing headerFreeData (ugh), easier to grep for and change than "-1"
2007-12-13Use rpm_tag_t everywhere for rpm (header) tag typePanu Matilainen55-243/+256
- typedef'ed as int32_t for now, negative values used in some places for error cases - easy to grep, easy to change... - add RPMTAG_NOT_FOUND define, used in place of -1 "magic",
2007-12-13Use rpm_count_t everywhere for header data countPanu Matilainen15-30/+33
- typedef'ed as uint32_t as that's the key size limit imposed by BDB, relevant for RPM_BIN_TYPE - easy to change to whatever later on as it's now consistent everywhere - explicit casts where needed to avoid new warnings from signedness
2007-12-13Use rpm_count_t everywhere for header data countPanu Matilainen29-143/+159
- typedef'ed as uint32_t as that's the key size limit imposed by BDB, relevant for RPM_BIN_TYPE - easy to change to whatever later on as it's now consistent everywhere
2007-12-12Install the new fancy perldep extractorPanu Matilainen1-1/+1
2007-12-11Register the new SCRIPT_ERROR callback value to pythonPanu Matilainen1-0/+1
2007-12-11Silly thinko/typo causing source rpms to provide their nvr..Panu Matilainen1-1/+1
2007-12-11test == is a bashism.Ralf Corsépius1-1/+1
2007-12-11OS X Leopard fixes from Giulio EulissePanu Matilainen3-4/+2