summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2008-05-09 17:46:47 +0200
committerDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2008-05-09 17:46:47 +0200
commit4520cf440178ef98e859759e3fdbed4921703ac2 (patch)
tree86d32b42300e893ec1814419fbabc60c27005d4b /m4
parent1e71123be300aa08325aca68f12d54e7149bd820 (diff)
downloadxine-lib-4520cf440178ef98e859759e3fdbed4921703ac2.tar.gz
xine-lib-4520cf440178ef98e859759e3fdbed4921703ac2.tar.bz2
Loop improvements, avoid multiple strlen() and strdup() calls.
Instead of executing strlen() after each snprintf() call, use the value returned by the call itself. Instead of using sprintf() on a buffer and then duplicate it, use asprintf().
Diffstat (limited to 'm4')
0 files changed, 0 insertions, 0 deletions