diff options
author | Dan McGee <dan@archlinux.org> | 2011-11-23 02:09:58 +0100 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-12-07 17:04:14 +0100 |
commit | 86cb6e1f0f59f760a936f648a20206af095a196b (patch) | |
tree | adc4b7e6216f58565c125ff35c5716e1463fa951 /lib/libalpm/version.c | |
parent | 0e4946d5593e5968c1d6bca50402eaf7a8620526 (diff) | |
download | pacman-86cb6e1f0f59f760a936f648a20206af095a196b.tar.gz pacman-86cb6e1f0f59f760a936f648a20206af095a196b.tar.xz |
Slight local database files reading optimization
Since we know the length of the line, we can use this all the way
through and do a cheaper operation than strdup() by just invoking malloc
and memcpy directly.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/version.c')
0 files changed, 0 insertions, 0 deletions