projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
73ee8be
)
remove a compiler warning by making HOPBACKc only hop *back*
author
Dave Mitchell
<davem@fdisolutions.com>
Sun, 30 Apr 2006 12:32:09 +0000
(12:32 +0000)
committer
Dave Mitchell
<davem@fdisolutions.com>
Sun, 30 Apr 2006 12:32:09 +0000
(12:32 +0000)
p4raw-id: //depot/perl@28023
regexec.c
patch
|
blob
|
history
diff --git
a/regexec.c
b/regexec.c
index
c006101
..
94ad06f
100644
(file)
--- a/
regexec.c
+++ b/
regexec.c
@@
-104,7
+104,7
@@
: (U8*)(pos + off)))
#define HOPBACKc(pos, off) ((char*) \
((PL_reg_match_utf8) \
- ? reghopmaybe3((U8*)pos, -off, (
(U8*)(off < 0 ? PL_regeol : PL_bostr))
) \
+ ? reghopmaybe3((U8*)pos, -off, (
U8*)PL_bostr
) \
: (pos - off >= PL_bostr) \
? (U8*)(pos - off) \
: (U8*)NULL) \