diff options
author | Ed Maste <emaste@FreeBSD.org> | 2017-02-19 17:23:27 +0000 |
---|---|---|
committer | Ed Maste <emaste@FreeBSD.org> | 2017-02-19 17:23:27 +0000 |
commit | 5dff7be120bf34b61d43b37f3951cf223bc52485 (patch) | |
tree | 53e7634f5344586eb76338ffa3150ca36d8e4a1a /sys/boot | |
parent | c6d57d307353774889976a6f89f01a402146349d (diff) | |
download | src-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/boot')
0 files changed, 0 insertions, 0 deletions