summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/handle.h
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-11-23 02:09:58 +0100
committerDan McGee <dan@archlinux.org>2011-12-07 17:04:14 +0100
commit86cb6e1f0f59f760a936f648a20206af095a196b (patch)
treeadc4b7e6216f58565c125ff35c5716e1463fa951 /lib/libalpm/handle.h
parent0e4946d5593e5968c1d6bca50402eaf7a8620526 (diff)
downloadpacman-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/handle.h')
0 files changed, 0 insertions, 0 deletions