Author: kevans Date: Fri Jun 8 12:58:55 2018 New Revision: 334837 URL: https://svnweb.freebsd.org/changeset/base/334837
Log: bsdgrep(1): Evict character sequence that moved in Reported by: trasz Modified: head/usr.bin/grep/file.c Modified: head/usr.bin/grep/file.c ============================================================================== --- head/usr.bin/grep/file.c Fri Jun 8 10:09:30 2018 (r334836) +++ head/usr.bin/grep/file.c Fri Jun 8 12:58:55 2018 (r334837) @@ -113,7 +113,7 @@ grep_fgetln(struct file *f, struct parsec *pc) return (bufpos); } - /* Look for a newline in the remaining part of the [6rbuffer */ + /* Look for a newline in the remaining part of the buffer */ if ((p = memchr(bufpos, fileeol, bufrem)) != NULL) { ++p; /* advance over newline */ ret = bufpos; _______________________________________________ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"