diff options
author | Dan McGee <dan@archlinux.org> | 2011-09-19 13:43:13 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-09-19 13:43:13 -0500 |
commit | bfe36c2ddf869e2ebc44bec1e35c0319263ac386 (patch) | |
tree | 2e9020a22a4b2b6db6ddd90ef86954d1767c0f38 /scripts/library/parse_options.sh | |
parent | e1899cbc64c6b634107f09c3a3e8152c63078636 (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 'scripts/library/parse_options.sh')
0 files changed, 0 insertions, 0 deletions