summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)AuthorFilesLines
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-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
2008-04-29Use rpmioSlurp() for reading in rpmrc'sPanu Matilainen1-73/+43
- have doReadRC() do the opening of files instead of caller - always expand rc filename on entry, simplifies includes too - streamline exit paths
2008-04-29Use rpmGlob() for expanding rcfiles globsPanu Matilainen1-50/+23
- avoids static filename buffer and simplifies things quite a bit
2008-04-28Remove unused alloca_strdup() macroPanu Matilainen1-2/+0
2008-04-28Remove alloca() from strntoul() helper in cpioPanu Matilainen1-5/+2
- only small (< 10 chars) buffers from struct cpioCrcPhysicalHeader are ever passed in, tmp buffer on stack is safe
2008-04-28Avoid alloca() in rpmGetFilesystemUsage()Panu Matilainen1-12/+14
2008-04-28Avoid alloca() in getFilesystemList()Panu Matilainen1-6/+11
2008-04-28Eliminate pointless alloca() of entryInfo and indexEntry structsPanu Matilainen1-46/+49
2008-04-28Eliminate pointless alloca() of local DBT structsPanu Matilainen1-20/+20
2008-04-28Eliminate pointless alloca() of struct fileIndexEntry structPanu Matilainen1-6/+6
2008-04-28Eliminate pointless alloca() of availableIndexEntry struct.Panu Matilainen1-7/+7
2008-04-28Eliminate pointless alloca()'s of local dirInfo structPanu Matilainen1-25/+26
2008-04-28Eliminate pointless alloca() of entryInfo and indexEntry structsPanu Matilainen1-28/+31
2008-04-25Replace alloca() + memset() with xcalloc() in runImmedTriggers()Panu Matilainen1-3/+2
2008-04-25Avoid alloca() in markReplacedFiles()Panu Matilainen1-1/+2
2008-04-25Reduce alloca() use in relocateFileList()Panu Matilainen1-5/+7
- dirindexes and filelists can be *huge* - filenames and such still allocated on stack, fix later...
2008-04-25Replace alloca() + memset() with xcalloc() in skipFiles()Panu Matilainen1-4/+4
2008-04-25Avoid alloca() on links in printFileInfo()Panu Matilainen1-6/+6
- also avoid unnecessary nulling of perms, no point ..
2008-04-25Avoid alloca() in rpmInstall()Panu Matilainen1-1/+2
2008-04-25Simplify setPathDefault()Panu Matilainen1-5/+2
- use rpmGetPath() to get sanitized path, avoid alloca()
2008-04-25Avoid alloca() in rpmteColorDS()Panu Matilainen1-3/+4
2008-04-24Remove outdated comment, add a todo reminderPanu Matilainen1-4/+0
- callbacks for pkgs without files have been faked for some time now..
2008-04-24Remove bogus const from rpmfi pre- and posttrans membersPanu Matilainen2-8/+8
- they're always duped, scaremem or not
2008-04-24Eliminate rpmtsi refcount debug junk from the APIPanu Matilainen2-30/+2
2008-04-24Update doxygen docs for rpmteNEVR() and friendsPanu Matilainen1-5/+5
2008-04-24Remove meaningless extern on function declarations in headersPanu Matilainen5-26/+26
2008-04-24Add rpmteEVR() functionPanu Matilainen3-4/+13
- seems like a useful thing to have - use in ensureOlder()
2008-04-24I'm out of words for this one.Panu Matilainen1-10/+1
2008-04-24Check for chroot() result in rpmtsRun()Panu Matilainen1-1/+4
- bail out early if it fails instead of blindly continuing and potentially messing in real root (chroot can fail for priviledged user too)
2008-04-24Make verification with --root reliable (rhbz#434150)Panu Matilainen1-21/+27
- use chroot() instead of vain path manipulation games, otherwise we'll get bogus results from users and groups not matching etc - non-priviledged verification is unreliable anyway but running rpm under fakechroot (unpriviledged) gives much better results than just prepending root to paths
2008-04-24Force preloading of name service libraries early in initializationPanu Matilainen2-14/+2
- this used to be done in psm chroot operation, but we can end up chrooting before that and without psm being involved - don't bother with getpwnam() etc, a single gethostbyname() loads all that we need
2008-04-22Handle lzma payloadJindrich Novy2-0/+5
2008-04-21Retrofit RPMTAG_SOURCEPACKAGE to source rpms.Panu Matilainen1-1/+2
2008-04-21Use argvAppend() instead of manual reallocs, plug a leak from rpmGlob()Panu Matilainen1-7/+5
2008-04-21Use argvNew() instead of manual xcalloc()Panu Matilainen1-1/+1
2008-04-20Don't use static buffersJindrich Novy2-5/+4
2008-04-18Put '\0' to the end of xmalloc'd string to avoid surprisesJindrich Novy1-0/+1
2008-04-17Eliminate splitString() and freeSplitString()Panu Matilainen1-7/+9
- use ARGV_t instead, it does the same and more...