This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7526101
)
Correct the size calculations for FIT_ARENA for SVt_REGEXP.
author
Nicholas Clark
<nick@ccl4.org>
Fri, 20 Aug 2010 09:44:40 +0000
(10:44 +0100)
committer
Nicholas Clark
<nick@ccl4.org>
Fri, 20 Aug 2010 16:34:39 +0000
(17:34 +0100)
This should have been done as part of commit
601dfd0af0604fa7
. Its omission
did not cause bugs; it merely resulted in slightly less effective arena sizing.
sv.c
patch
|
blob
|
blame
|
history
diff --git
a/sv.c
b/sv.c
index
4918449
..
77bb1b5
100644
(file)
--- a/
sv.c
+++ b/
sv.c
@@
-948,7
+948,7
@@
static const struct body_details bodies_by_type[] = {
sizeof(regexp),
0,
SVt_REGEXP, FALSE, NONV, HASARENA,
- FIT_ARENA(0, sizeof(regexp)
- STRUCT_OFFSET(regexp, xpv_cur)
)
+ FIT_ARENA(0, sizeof(regexp))
},
/* 48 */