summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2008-05-05Silence bogus warning on memset()Panu Matilainen1-3/+6
- gcc doesn't realize shrank == 0 would terminate the process via error() before reaching memset(), work around...
2008-05-05Check for pipe() return code on --pipePanu Matilainen1-3/+4
2008-05-03Add missing includePanu Matilainen1-0/+1
2008-05-03Initialize nb before usePanu Matilainen1-1/+1
2008-05-03Create signature target rpm in same directory as originalPanu Matilainen1-1/+2
- rename() doesn't work across devices, oops...
2008-05-03Temp file handling tweaksPanu Matilainen9-20/+37
- rename rpmMkTemp() (back) to rpmMkTempFile() - rpmMkTemp() is now a lower level thin wrapper around mkstemp()
2008-05-03rpmReSign() doesn't return rpmRC codes, make it more obviousPanu Matilainen1-5/+3
- cleanup "rc = RPMRC_FAIL" copy-paste leftovers
2008-05-03Eliminate static sized string buffer frpm rpmReSign()Panu Matilainen1-15/+12
- use rpmMkTemp() for creating the temp file instead of insecure close(mkstemp())
2008-05-02Check for arch compatibility on multilib tooPanu Matilainen1-1/+1
2008-05-02Ensure default SIGPIPE handler for --pipe (rhbz#444389)Panu Matilainen1-0/+1
2008-04-30RIP alloca()Panu Matilainen4-521/+2
2008-04-30Rewrite xmlFormat() and remove useless xmlstrlen() and xmlstrcpy()Jindrich Novy1-65/+37
2008-04-30Kill of alloca() from tufdio testsPanu Matilainen1-4/+2
- yes it leaks, who cares
2008-04-30Lazily copy basenames in relocation if neededPanu Matilainen1-19/+34
- couple of tiny array helper funcs to push stuff out of relocateFileList() instead of adding yet more gunk - use the helpers for dirnames too
2008-04-30Simplify relocation directory name manipulationPanu Matilainen1-9/+3
2008-04-30Don't use alloca in rpmal.cJindrich Novy1-2/+4
2008-04-30Allocate relocation dirnames on heap, not stackPanu Matilainen1-5/+13
2008-04-30Don't use alloca() in fpsCompare()Jindrich Novy1-13/+17
2008-04-30Begin untangling relocation alloca()'sPanu Matilainen1-2/+6
- allocate rpmRelocation paths on heap, not stack
2008-04-30Kill the remaining alloca in fp doLookup()Panu Matilainen1-5/+8
2008-04-30One alloca() down in fp doLookup()Panu Matilainen1-4/+5
- single point of exit from the point where buf gets allocated
2008-04-29Plug a memleak in lzclose()Panu Matilainen1-2/+3
2008-04-29Plug memleak in parseSimplePart()Panu Matilainen1-5/+9
2008-04-29Plug memleak in macro doFoo()Panu Matilainen1-0/+1
2008-04-29Don't use alloca in rpmGenPath()Jindrich Novy1-2/+3
2008-04-29Calm down compiler warnings due to fsm->patch being constJindrich Novy1-5/+6
2008-04-29Merge branch 'master' of ssh://login.linux.duke.edu/home/groups/rpm/git/rpmJindrich Novy2-20/+13
2008-04-29Avoid general ETXBSY and allow it for HP-UX exclusivelyJindrich Novy1-6/+6
- for more info: http://www.uwsg.iu.edu/hypermail/linux/kernel/9808.3/0883.html - remove the rest of alloca()s
2008-04-29Remove useless alloca_strdup()Jindrich Novy1-11/+7
- and yet more alloca usage in writeFile()
2008-04-29Remove unused alloca_strdup() definePanu Matilainen1-2/+0
2008-04-29Allocate directory names on heap in compressFilelist()Panu Matilainen1-6/+8
2008-04-29Use rpmGetPath() to construct full dbpath in db3open()Panu Matilainen1-12/+5
- another alloca() bites the dust...
2008-04-29Oops, one more alloca() in rpmtsOrder()Panu Matilainen1-1/+2
2008-04-29Remove alloca() from rpmtsOrder()Panu Matilainen1-4/+10
2008-04-29Dead code eliminationPanu Matilainen1-3/+0
2008-04-29Remove alloca() from rpmvercmp()Panu Matilainen1-4/+2
- use variable array instead, versions had better be short enough to fit on stack safely
2008-04-29Avoid alloca() in headerLoad()Panu Matilainen1-1/+3
- REGION_TAG_COUNT is a constant so local array would do even without C99..
2008-04-29Avoid alloca() in findTag()Panu Matilainen1-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-29Avoid alloca() in shescapeFormat()Panu Matilainen1-4/+4
2008-04-29Avoid alloca() in headerAddI18NString()Panu Matilainen1-3/+5
2008-04-29This code has been commented out since -99, time to let go...Panu Matilainen1-36/+0
2008-04-29Eliminate remaining alloca() in rpmAddSignature()Panu Matilainen1-1/+1
2008-04-29Plug memleaks in signature generationPanu Matilainen1-4/+6
2008-04-29Avoid alloca() in rpmtsSetRootDir()Panu Matilainen1-12/+5
2008-04-29Avoid alloca() in rpmDetectPGPVersion()Panu Matilainen1-3/+3
- the whole detection is hysterical and could/should probably be killed but what the heck...
2008-04-29Avoid alloca() in makeGPGSignature()Panu Matilainen1-9/+12
2008-04-29Avoid unchecked stpcpy() to static sized buf from alloca()Panu Matilainen1-7/+11
2008-04-29Avoid alloca() in rpmtsInitIterator()Panu Matilainen1-8/+13
2008-04-29Read "canonvendor" macros by default againPanu Matilainen1-0/+1
- the whole vendor etc stuff needs rethinking etc, but for now this "works"
2008-04-29Avoid alloca() in legacyRetrofit()Panu Matilainen1-1/+2