This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
fix (*glob) = ()
authorDavid Mitchell <davem@iabyn.com>
Sun, 25 Dec 2016 12:14:10 +0000 (12:14 +0000)
committerDavid Mitchell <davem@iabyn.com>
Sun, 25 Dec 2016 18:02:53 +0000 (18:02 +0000)
commit523e5ba86c48932471bfe24c81d5c860ade5fb44
tree62f468576eb3af8843bcef9425eff5ef86e08188
parent4ee2b8db537d28b77d127a86307e426289e5c8b5
fix (*glob) = ()

RT #130385

The new sv_set_undef() function added by me with v5.25.7-12-ge03e82a
didn't handle undeffing a glob correctly, and gave an assertion failure.

Fix it to behave more exactly like (sv_setsv(sv, &PL_sv_undef),
which it is documented as being identical to.
sv.c
t/lib/warnings/sv