summaryrefslogtreecommitdiff
path: root/lib/libalpm/md5.h
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-09-19 13:43:13 -0500
committerDan McGee <dan@archlinux.org>2011-09-19 13:43:13 -0500
commitbfe36c2ddf869e2ebc44bec1e35c0319263ac386 (patch)
tree2e9020a22a4b2b6db6ddd90ef86954d1767c0f38 /lib/libalpm/md5.h
parente1899cbc64c6b634107f09c3a3e8152c63078636 (diff)
downloadpacman-bfe36c2ddf869e2ebc44bec1e35c0319263ac386.tar.xz
Reduce path allocation on the stack in local database
We did a lot of both malloc-ing and stack printing to form some paths in this code. Attempt to unify it all into the one get_pkgpath() method by adding an optional third "filename" parameter, and form the necessary path string all in one go. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/md5.h')
0 files changed, 0 insertions, 0 deletions