Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib/libalpm/backup.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/backup.h
parente1899cbc64c6b634107f09c3a3e8152c63078636 (diff)
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/backup.h')
0 files changed, 0 insertions, 0 deletions