commit 29412e1c31070ae006ced13ff614ea3690518cc0
parent 4276f847131eca31390dfcbfed956f050c8cd81d
Author: rsc <devnull@localhost>
Date: Mon, 21 May 2007 19:21:56 +0000
fix pointer comparison (Ramon de Vera)
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/libregexp/rregexec.c b/src/libregexp/rregexec.c
@@ -46,7 +46,7 @@ rregexec1(Reprog *progp, /* program to run */
switch(j->starttype) {
case RUNE:
p = runestrchr(s, j->startchar);
- if(p == 0 || p == j->eol)
+ if(p == 0 || p == j->reol)
return match;
s = p;
break;