Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/config.sub
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2011-08-30 09:24:28 -0400
committerDan McGee <dan@archlinux.org>2011-09-01 11:33:28 -0500
commit11ab9aa9f5f0f3873df89c73e8715b82f485bd9b (patch)
tree905d304d3d75e72ab91a7fd3c4bc71fe4e346401 /config.sub
parentcf1f0143935fe62ebb568202ff83ba2de0815995 (diff)
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 'config.sub')
0 files changed, 0 insertions, 0 deletions