/[base]
ViewVC logotype

Revision 313948


Jump to revision: Previous Next
Author: emaste
Date: Sun Feb 19 17:23:27 2017 UTC (7 years, 4 months ago)
Changed paths: 1
Log Message:
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


Changed paths

Path Details
Directoryhead/usr.bin/grep/file.c modified , text changed

  ViewVC Help
Powered by ViewVC 1.1.27