[Midnightbsd-cvs] src [8937] trunk/usr.bin/grep/regex/tre-fastmatch.c: breaking things
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Mon Sep 26 19:06:05 EDT 2016
Revision: 8937
http://svnweb.midnightbsd.org/src/?rev=8937
Author: laffer1
Date: 2016-09-26 19:06:05 -0400 (Mon, 26 Sep 2016)
Log Message:
-----------
breaking things
Modified Paths:
--------------
trunk/usr.bin/grep/regex/tre-fastmatch.c
Modified: trunk/usr.bin/grep/regex/tre-fastmatch.c
===================================================================
--- trunk/usr.bin/grep/regex/tre-fastmatch.c 2016-09-26 23:05:39 UTC (rev 8936)
+++ trunk/usr.bin/grep/regex/tre-fastmatch.c 2016-09-26 23:06:05 UTC (rev 8937)
@@ -103,7 +103,7 @@
((!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 Midnightbsd-cvs
mailing list