projects
/
p5sagit/p5-mst-13.2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
39efed7
)
Fix allocation bug in change 29524.
Nicholas Clark [Mon, 11 Dec 2006 23:44:30 +0000 (23:44 +0000)]
p4raw-id: //depot/perl@29526
util.c
patch
|
blob
|
blame
|
history
diff --git
a/util.c
b/util.c
index
1ae9459
..
9718c54
100644
(file)
--- a/
util.c
+++ b/
util.c
@@
-510,6
+510,8
@@
Perl_fbm_compile(pTHX_ SV *sv, U32 flags)
table[*s] = (U8)i;
s--, i++;
}
+ } else {
+ Sv_Grow(sv, len + PERL_FBM_TABLE_OFFSET);
}
sv_magic(sv, NULL, PERL_MAGIC_bm, NULL, 0); /* deep magic */
SvVALID_on(sv);