Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/src/util/Makefile.am
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-09-27 17:37:27 -0500
committerDan McGee <dan@archlinux.org>2011-10-12 14:22:48 -0500
commita27bdcfe51e0c6eac30d8fbc5dcc2a67a1c1b929 (patch)
tree6cbd1ebd1a903e845abba9ab2452227ab17e5a3c /src/util/Makefile.am
parent89fe19f3e102dae379c00e5b45dd1d42a6963962 (diff)
_alpm_archive_fgets: optimize EOL search
Instead of iterating character by character, use memchr() calls to hopefully speed up the search. A newline is the most likely culprit, so search for that first followed by a NULL byte if there was no newline in the buffer. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'src/util/Makefile.am')
0 files changed, 0 insertions, 0 deletions