summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/alpm.h
diff options
context:
space:
mode:
authorXavier Chantry <shiningxc@gmail.com>2009-09-07 01:15:39 +0200
committerDan McGee <dan@archlinux.org>2009-09-07 22:16:50 +0200
commit43e16b373be50ca142e2b39055906194049c3686 (patch)
tree156519aa952d8b8f04bb89dea2335ef5279be7e7 /lib/libalpm/alpm.h
parentcb1d4195bf7436240dbcc865113f3be19354aa34 (diff)
downloadpacman-43e16b373be50ca142e2b39055906194049c3686.tar.gz
pacman-43e16b373be50ca142e2b39055906194049c3686.tar.xz
rewrite strreplace
* just do one malloc call * p = realloc(p, new_size) was not good (see http://www.iso-9899.info/wiki/Why_not_realloc) * use more efficient strncpy instead of strncat Signed-off-by: Xavier Chantry <shiningxc@gmail.com> Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/alpm.h')
0 files changed, 0 insertions, 0 deletions