diff options
author | Nicholas Clark <nick@ccl4.org> | 2010-08-20 10:44:40 +0100 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2010-08-20 17:34:39 +0100 |
commit | eaeb1e7f3008ef8680fd7726bb124dac46e2f98c (patch) | |
tree | 9b805784c60e86b2f2a90cfef1a6880c70a9116d /sv.c | |
parent | 7526101e3b4b792395b41754651bdbbea6b8cf55 (diff) | |
download | perl-eaeb1e7f3008ef8680fd7726bb124dac46e2f98c.tar.gz |
Correct the size calculations for FIT_ARENA for SVt_REGEXP.
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.
Diffstat (limited to 'sv.c')
-rw-r--r-- | sv.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 */ |