summaryrefslogtreecommitdiffstats
path: root/src/util
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 15:16:50 -0500
commit43e16b373be50ca142e2b39055906194049c3686 (patch)
tree156519aa952d8b8f04bb89dea2335ef5279be7e7 /src/util
parentcb1d4195bf7436240dbcc865113f3be19354aa34 (diff)
downloadpacman-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 'src/util')
0 files changed, 0 insertions, 0 deletions