diff options
author | Dave Reisner <dreisner@archlinux.org> | 2011-08-30 15:24:28 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-09-01 18:33:28 +0200 |
commit | 11ab9aa9f5f0f3873df89c73e8715b82f485bd9b (patch) | |
tree | 905d304d3d75e72ab91a7fd3c4bc71fe4e346401 /lib/libalpm/po/en_GB.po | |
parent | cf1f0143935fe62ebb568202ff83ba2de0815995 (diff) | |
download | pacman-11ab9aa9f5f0f3873df89c73e8715b82f485bd9b.tar.gz pacman-11ab9aa9f5f0f3873df89c73e8715b82f485bd9b.tar.xz |
pacman/callback: reuse strlen calculation
Call strlen earlier in the dl progress callback, and reuse this length
to replace some heavier str*() calls with more optimized mem*()
replacements. This also gets rid of a false assumption that the ending
string will ever be longer than the original string.
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/po/en_GB.po')
0 files changed, 0 insertions, 0 deletions