tfix pointer comparison (Ramon de Vera) - plan9port - [fork] Plan 9 from user space
(HTM) git clone git://src.adamsgaard.dk/plan9port
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 29412e1c31070ae006ced13ff614ea3690518cc0
(DIR) parent 4276f847131eca31390dfcbfed956f050c8cd81d
(HTM) Author: rsc <devnull@localhost>
Date: Mon, 21 May 2007 19:21:56 +0000
fix pointer comparison (Ramon de Vera)
Diffstat:
M src/libregexp/rregexec.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
(DIR) diff --git a/src/libregexp/rregexec.c b/src/libregexp/rregexec.c
t@@ -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;