summaryrefslogtreecommitdiffstats
path: root/pactest/tests/upgrade074.py
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 /pactest/tests/upgrade074.py
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 'pactest/tests/upgrade074.py')
0 files changed, 0 insertions, 0 deletions