svn commit: r334837 - head/usr.bin/grep
Kyle Evans
kevans at FreeBSD.org
Fri Jun 8 12:58:56 UTC 2018
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;
More information about the svn-src-head
mailing list