Closed Kritzefitz closed 3 years ago
@Kritzefitz : hi! sorry for the late reply , but can you add a bonafide test script under t/*.t? Perhaps use $^X
and -Mblib
?
@Kritzefitz : hi! I've written my own test now and applied the patch. Thanks!
Thanks for taking care of the test!
This test program
produces the following warning:
This apparently happens, because
Sv2C
tries to catchundef
values by comparing the memory location of the scalar in question to&PL_sv_undef
. WhilePL_sv_undef
certainly is anundef
value, not allundef
values share its memory location. The added commit fixes this, by usingSvOK
to correctly detect allundef
values.