Ed Maste 5dff7be120 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
2017-02-19 17:23:27 +00:00
..
2017-02-19 17:23:27 +00:00
2014-02-08 13:37:02 +00:00
2015-06-16 23:37:19 +00:00
2014-07-17 15:59:13 +00:00
2016-07-28 15:19:47 +00:00