aboutsummaryrefslogtreecommitdiff
path: root/src/libregexp
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2007-05-21 19:21:56 +0000
committerrsc <devnull@localhost>2007-05-21 19:21:56 +0000
commit29412e1c31070ae006ced13ff614ea3690518cc0 (patch)
tree45efb642a3b80d398c6c6f06f9b8f2acbbcd4b75 /src/libregexp
parent4276f847131eca31390dfcbfed956f050c8cd81d (diff)
downloadplan9port-29412e1c31070ae006ced13ff614ea3690518cc0.tar.gz
plan9port-29412e1c31070ae006ced13ff614ea3690518cc0.tar.bz2
plan9port-29412e1c31070ae006ced13ff614ea3690518cc0.zip
fix pointer comparison (Ramon de Vera)
Diffstat (limited to 'src/libregexp')
-rw-r--r--src/libregexp/rregexec.c2
1 files changed, 1 insertions, 1 deletions
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;