diff options
author | Dan McGee <dan@archlinux.org> | 2011-09-19 20:43:13 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-09-19 20:43:13 +0200 |
commit | bfe36c2ddf869e2ebc44bec1e35c0319263ac386 (patch) | |
tree | 2e9020a22a4b2b6db6ddd90ef86954d1767c0f38 /install-sh | |
parent | e1899cbc64c6b634107f09c3a3e8152c63078636 (diff) | |
download | pacman-bfe36c2ddf869e2ebc44bec1e35c0319263ac386.tar.gz pacman-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 'install-sh')
0 files changed, 0 insertions, 0 deletions