From 29412e1c31070ae006ced13ff614ea3690518cc0 Mon Sep 17 00:00:00 2001 From: rsc Date: Mon, 21 May 2007 19:21:56 +0000 Subject: fix pointer comparison (Ramon de Vera) --- src/libregexp/rregexec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libregexp') diff --git a/src/libregexp/rregexec.c b/src/libregexp/rregexec.c index 4312c4f9..16d95e67 100644 --- 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; -- cgit v1.2.3