summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Expand)AuthorFilesLines
2011-07-07Further streamline & sanitize lead handlingPanu Matilainen4-57/+34
2011-07-07Only bother mallocing lead for return if read actually succeededPanu Matilainen1-12/+11
2011-07-06Eliminate remaining assert()'s in rpmlead.cPanu Matilainen1-14/+14
2011-07-06Make rpmLeadRead() return an allocated lead, fixup callersPanu Matilainen4-32/+28
2011-07-06Start beating a little bit of sense into the braindamaged rpmlead APIPanu Matilainen1-20/+23
2011-06-16Try to generate fileclass in the tag ext at runtime if missing from headerPanu Matilainen1-21/+55
2011-06-09Fix the non-keyed match iteration case wrt DB_NOTFOUNDPanu Matilainen1-0/+4
2011-06-09Use dbiCursorGetToSet() for the non-keyed match-iterator case tooPanu Matilainen1-21/+3
2011-06-09Support set append in dbiCursorGetToSet()Panu Matilainen1-1/+9
2011-06-09If key not specified, use DB_NEXT cursor mode (DB_SET wouldn't make sense)Panu Matilainen1-2/+4
2011-06-09Only honor keylen if keyp is also specifiedPanu Matilainen1-2/+4
2011-06-09Make it an error to call dbiGetToSet() with NULL keypPanu Matilainen1-2/+2
2011-06-08Move the remaining DBT's in rpmdbInitIterator() to (more) local scopePanu Matilainen1-4/+4
2011-06-08Error/notfound case is handled the same for both these casesPanu Matilainen1-9/+5
2011-06-08Take advantage of dbiCursorGetToSet() in dbiFindByLabel() & friendsPanu Matilainen1-31/+13
2011-06-08Split actual cursor get + set-conversion to separate functionPanu Matilainen1-9/+22
2011-06-08Add cursor method for retrieving the underlying db index handlePanu Matilainen2-0/+12
2011-06-08Use dbiGetToSet() in rpmdbFindByFile(), lose now unnecessary argumentsPanu Matilainen1-25/+4
2011-06-08Use dbiGetToSet() for the common case in rpmdbInitIterator()Panu Matilainen1-23/+2
2011-06-08Simplify + cleanup rpmdbExtendIterator()Panu Matilainen1-35/+14
2011-06-08Simplify + cleanup rpmdbCountPackages()Panu Matilainen1-32/+9
2011-06-08Add a helper function to convert cursor retrievals to dbiIndexSetsPanu Matilainen1-0/+33
2011-06-08Rename dbiFreeIndexSet() to dbiIndexSetFree() for naming style consistencyPanu Matilainen1-17/+17
2011-06-08Minor cleanup to rpmdbFindByFile()Panu Matilainen1-10/+7
2011-06-08Push cursor init+free down to dbiFindByLabel()Panu Matilainen1-6/+7
2011-06-06Return explicit NULL from dbiFreeIndexSet()Panu Matilainen1-3/+4
2011-06-06Cosmetics: function blocks start on a new linePanu Matilainen1-4/+8
2011-06-01Lift Dijkstra algorithm out of collectSCC() to separate functionPanu Matilainen1-21/+24
2011-06-01Eliminate struct copy in collectSCC(), use a pointer insteadPanu Matilainen1-8/+8
2011-06-01Clean up + simplify pgpsigFormat()Panu Matilainen1-32/+18
2011-06-01Split the --replacepkgs hack to a helper function and document itPanu Matilainen1-23/+29
2011-06-01Reset cli configured flag on rpmcliFini() (RhBug:709421)Panu Matilainen1-0/+1
2011-05-31Cleanup rpmpsmNew() and rpmpsmFree()Panu Matilainen1-25/+10
2011-05-31Remove reamining dead assignments from rpmtsiFree() in transaction codePanu Matilainen4-11/+11
2011-05-31Remove dead NULL-assignment before reassignPanu Matilainen1-1/+1
2011-05-31Remove superfluous localtime() callPanu Matilainen1-3/+1
2011-05-31Remove dead keyp & keylen assignments in rpmdbNextIterator()Panu Matilainen1-2/+0
2011-05-31Pass dbiClose() flags down to db->close()Panu Matilainen1-3/+1
2011-05-31Return an explicit NULL from dbiFree(), remove dead assignmentPanu Matilainen1-2/+2
2011-05-31Remove bogus condition on provide checking in queryPanu Matilainen1-3/+2
2011-05-30Eliminate dead NULL-assignment by avoiding unnecessary allocationPanu Matilainen1-15/+12
2011-05-30Fix a logic error leading to unlink(NULL) call, oops.Panu Matilainen1-1/+1
2011-05-30Eliminate bunch of dead assignments on ts vsflagsPanu Matilainen3-3/+3
2011-05-30Eliminate dead assignment(s) on rpmfsFree(), memset() wipeout insteadPanu Matilainen1-4/+5
2011-05-30rpmgiFree() cleanup to remove an exit point and dead assignment(s)Panu Matilainen1-7/+6
2011-05-30Remove possibility of abusing freed iterator by moving to local scopePanu Matilainen1-3/+4
2011-05-30Eliminate obvious dead NULL-assignment at headerLoad() error exitPanu Matilainen1-2/+2
2011-05-30Eliminate dead NULL-assignment on lua scriptlet executionPanu Matilainen1-3/+2
2011-05-29A few more dead NULL-assignment eliminations in low-level header codePanu Matilainen1-5/+4
2011-05-29Move db cursor to local scopes, remove dead NULL-assignmentsPanu Matilainen1-7/+6