MFC r313948: 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
Approved by: emaste (mentor)
MFC r313948: bsdgrep: fix EOF handling with --mmap Tags None Referenced Files None Subscribers None
Description
Details
|