diff options
author | Father Chrysostomos <sprout@cpan.org> | 2011-11-29 22:43:15 -0800 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2011-11-29 22:43:15 -0800 |
commit | f52337cfba08c2d05a6207cdbb890803491547fd (patch) | |
tree | 59dc458195baad0ffba567fac91ce9fd48a661b6 /hv.c | |
parent | e0eb33797bd13dd0749017753d6e3b26dd9f3db9 (diff) | |
download | perl-f52337cfba08c2d05a6207cdbb890803491547fd.tar.gz |
Correct comment in hv.c:S_share_hek_flags
It says that allocate one block of memory with the HEK immediately
following the HE, so we can find the HEK from the HE. Of course we
can find the HEK from the HE, as the HE points to it. The two terms
were apparently transposed.
Diffstat (limited to 'hv.c')
-rw-r--r-- | hv.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2735,7 +2735,7 @@ S_share_hek_flags(pTHX_ const char *str, I32 len, register U32 hash, int flags) /* We don't actually store a HE from the arena and a regular HEK. Instead we allocate one chunk of memory big enough for both, and put the HEK straight after the HE. This way we can find the - HEK directly from the HE. + HE directly from the HEK. */ Newx(k, STRUCT_OFFSET(struct shared_he, |