Closed jmarshall closed 6 years ago
That's very nice @jmarshall, I couldn't think of a better way of solving this. I guess you've checked with environment which was causing you problems (5.10.1) and it didn't show problems running it multiple times.
Yes, with this change there's no valgrind invalid read errors on Perl 5.10.1 for t/03cram.t. Across many runs.
valgrind ./Build test
completes without problems too.
Brilliant, getting this in
Thanks!
:+1: :+1:
On #67, I wrote
This implements that. First attempt was via
sv_magic()
, but that didn't get the ordering right. Using an external global hash is a bit more manual but also more explicit.