aboutsummaryrefslogtreecommitdiff
path: root/sys/ufs
diff options
context:
space:
mode:
authorEd Maste <emaste@FreeBSD.org>2017-02-19 17:23:27 +0000
committerEd Maste <emaste@FreeBSD.org>2017-02-19 17:23:27 +0000
commit5dff7be120bf34b61d43b37f3951cf223bc52485 (patch)
tree53e7634f5344586eb76338ffa3150ca36d8e4a1a /sys/ufs
parentc6d57d307353774889976a6f89f01a402146349d (diff)
downloadsrc-5dff7be120bf34b61d43b37f3951cf223bc52485.tar.gz
src-5dff7be120bf34b61d43b37f3951cf223bc52485.zip
bsdgrep: fix EOF handling with --mmap
Rework part of the loop in grep_fgetln to return the rest of the line and ensure that we still advance the buffer by the length of the rest of the line. PR: 165471 Submitted by: Kyle Evans <kevans91@ksu.edu> MFC after: 1 month
Notes
Notes: svn path=/head/; revision=313948
Diffstat (limited to 'sys/ufs')
0 files changed, 0 insertions, 0 deletions