diff options
author | Dan McGee <dan@archlinux.org> | 2011-02-09 04:16:36 +0100 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-02-11 17:23:43 +0100 |
commit | 06cbb516c35eb81220064878ff202c3107b12c99 (patch) | |
tree | ea0caedb4afbb01b3ad3ade7f140d55826433247 /po/ru.po | |
parent | 56721c12cec02366816130aafaa974667db59a93 (diff) | |
download | pacman-06cbb516c35eb81220064878ff202c3107b12c99.tar.gz pacman-06cbb516c35eb81220064878ff202c3107b12c99.tar.xz |
Avoid a memmove by advancing value pointer
In packages, our description file contains:
key = value is here
type entries, and we passed "key " and " value is here" to our strtrim
function, causing us to always memmove the value portion to remove the
space. Since this is a throwaway buffer, do the advancing on our own before
trimming to save the need to shift memory around; "value is here" will now
be passed and strtrim will be responsible for trailing whitespace.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'po/ru.po')
0 files changed, 0 insertions, 0 deletions