projects
/
p5sagit/p5-mst-13.2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
1671070
)
Humbly pay homage to the redundancy gods.
Abhijit Menon-Sen [Mon, 8 Apr 2002 22:40:16 +0000 (22:40 +0000)]
p4raw-id: //depot/perl@15818
mg.c
patch
|
blob
|
blame
|
history
diff --git
a/mg.c
b/mg.c
index
9fe3369
..
4da71b1
100644
(file)
--- a/
mg.c
+++ b/
mg.c
@@
-454,6
+454,7
@@
Perl_magic_len(pTHX_ SV *sv, MAGIC *mg)
char *s = rx->subbeg + s1;
char *send = rx->subbeg + t1;
+ i = t1 - s1;
if (is_utf8_string((U8*)s, i))
i = Perl_utf8_length(aTHX_ (U8*)s, (U8*)send);
}