Module Name:    src
Committed By:   rin
Date:           Sun Nov 19 21:54:31 UTC 2017

Modified Files:
        src/external/bsd/tre/dist/lib: tre-match-backtrack.c

Log Message:
Fix an apparent typo.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/external/bsd/tre/dist/lib/tre-match-backtrack.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/bsd/tre/dist/lib/tre-match-backtrack.c
diff -u src/external/bsd/tre/dist/lib/tre-match-backtrack.c:1.6 src/external/bsd/tre/dist/lib/tre-match-backtrack.c:1.7
--- src/external/bsd/tre/dist/lib/tre-match-backtrack.c:1.6	Sun Nov 19 13:21:02 2017
+++ src/external/bsd/tre/dist/lib/tre-match-backtrack.c	Sun Nov 19 21:54:31 2017
@@ -409,7 +409,7 @@ tre_tnfa_run_backtrack(const tre_tnfa_t 
 	  DPRINT(("  should match back reference %d\n", bt));
 	  /* Get the substring we need to match against.  Remember to
 	     turn off REG_NOSUB temporarily. */
-	  tre_fill_pmatch(bt + 1, pmatch, tnfa->cflags & /*LINTED*/!REG_NOSUB,
+	  tre_fill_pmatch(bt + 1, pmatch, tnfa->cflags & ~REG_NOSUB,
 			  tnfa, tags, pos);
 	  /* LINTED */so = pmatch[bt].rm_so;
 	  /* LINTED */eo = pmatch[bt].rm_eo;

Reply via email to