diff options
author | Nicholas Clark <nick@ccl4.org> | 2010-05-31 13:19:22 +0100 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2010-05-31 13:19:22 +0100 |
commit | c1bf42f3e6ad8f1c3d821a2ae616c5703f66237c (patch) | |
tree | b9f534e9a7e7761c09a8570e021dafb745662fa5 /README.macos | |
parent | 4c050ad563ece4467b3b083d8efcf2b62ad0b9c5 (diff) | |
download | perl-c1bf42f3e6ad8f1c3d821a2ae616c5703f66237c.tar.gz |
In Perl_pad_add_name(), use sv_upgrade() directly rather than new[AH]V().
As newAV() and newHV() are now merely wrappers around sv_upgrade(), and the
existing SV is always brand new and of type SVt_NULL, call them on it, rather
than disposing of it as a side effect of storing a(nother new) SV.
Also, no need to set SvPADMY() again, as it is already set.
Resolves RT #73092.
Diffstat (limited to 'README.macos')
0 files changed, 0 insertions, 0 deletions