diff options
author | rsc <devnull@localhost> | 2007-05-21 19:21:56 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2007-05-21 19:21:56 +0000 |
commit | 29412e1c31070ae006ced13ff614ea3690518cc0 (patch) | |
tree | 45efb642a3b80d398c6c6f06f9b8f2acbbcd4b75 /src/libregexp | |
parent | 4276f847131eca31390dfcbfed956f050c8cd81d (diff) | |
download | plan9port-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.c | 2 |
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; |