svn commit: r248215 - stable/9/usr.bin/grep/regex
Mark Johnston
markj at FreeBSD.org
Tue Mar 12 19:28:42 UTC 2013
Author: markj
Date: Tue Mar 12 19:28:41 2013
New Revision: 248215
URL: http://svnweb.freebsd.org/changeset/base/248215
Log:
MFC r248214:
Revert r246917, as it is causing incorrect behaviour as reported on
freebsd-current.
Approved by: emaste (co-mentor)
Modified:
stable/9/usr.bin/grep/regex/tre-fastmatch.c
Directory Properties:
stable/9/usr.bin/grep/ (props changed)
Modified: stable/9/usr.bin/grep/regex/tre-fastmatch.c
==============================================================================
--- stable/9/usr.bin/grep/regex/tre-fastmatch.c Tue Mar 12 19:18:10 2013 (r248214)
+++ stable/9/usr.bin/grep/regex/tre-fastmatch.c Tue Mar 12 19:28:41 2013 (r248215)
@@ -103,7 +103,7 @@ static int fastcmp(const fastmatch_t *fg
((!fg->reversed \
? ((type == STR_WIDE) ? ((j + fg->wlen) > len) \
: ((j + fg->len) > len)) \
- : (j <= 0)))
+ : (j < 0)))
/*
* Checks whether the new position after shifting in the input string
More information about the svn-src-stable-9
mailing list