Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/pactest/tests/deptest001.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 15:16:50 -0500
commit43e16b373be50ca142e2b39055906194049c3686 (patch)
tree156519aa952d8b8f04bb89dea2335ef5279be7e7 /pactest/tests/deptest001.py
parentcb1d4195bf7436240dbcc865113f3be19354aa34 (diff)
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/deptest001.py')
0 files changed, 0 insertions, 0 deletions