summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2012-05-28 23:32:11 +0200
committerDan McGee <dan@archlinux.org>2012-06-26 06:04:31 +0200
commitf556fe8b4a199116b5665bb5f0886e4c2962b077 (patch)
treeda359a1cea95066f32962219e4909adf325c0df4 /scripts
parent74274b5dc347ba70e4abd1f329feb41538f82ff4 (diff)
downloadpacman-f556fe8b4a199116b5665bb5f0886e4c2962b077.tar.gz
pacman-f556fe8b4a199116b5665bb5f0886e4c2962b077.tar.xz
add line length parameter to _alpm_strip_newline
If known, callers can pass the line size to this function in order to avoid an strlen call. Otherwise, they simply pass 0 and _alpm_strip_newline will do the call instead. Signed-off-by: Dave Reisner <dreisner@archlinux.org> Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions