Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/depcomp
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-01-19 12:00:39 -0600
committerDan McGee <dan@archlinux.org>2011-01-21 09:14:47 -0600
commit01c8f39ab8db36ad7ac1c2078a8c1a5b7504192a (patch)
treeb820fe3d07c7178af3f92c451a5c6572bf937753 /depcomp
parentaff3e63c451ead18571a8abed56e911f71906fe6 (diff)
Improve depends string parsing
Remove the need for an unconditional string duplication by using pointer arithmetic instead, and strndup() instead of an unspecified-length strdup(). This should reduce memory churn a fair amount as this is called pretty frequently during database loads. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'depcomp')
0 files changed, 0 insertions, 0 deletions