diff options
author | David Mitchell <davem@iabyn.com> | 2018-04-26 11:46:22 +0100 |
---|---|---|
committer | David Mitchell <davem@iabyn.com> | 2018-04-26 11:46:22 +0100 |
commit | d8306453385a4991e40b4738982bf9617b6c1ccf (patch) | |
tree | f8083043183e2f3960a91d4f8eae78dec0735ddf /pp_sort.c | |
parent | d98f51adb895010fdfbe73640d0f92bb48669f24 (diff) | |
download | perl-d8306453385a4991e40b4738982bf9617b6c1ccf.tar.gz |
Revert "Strengthen weak refs when sorting in-place"
This reverts commit f6107ca24b4cf22dcf7fd69d65612ad718c48fca.
See RT #132142.
For now, re-introduce the bug that fails to convert weak refs to strong
refs when sorting in place.
This is commit 2 of 2.
Diffstat (limited to 'pp_sort.c')
-rw-r--r-- | pp_sort.c | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -1094,9 +1094,6 @@ PP(pp_sort) base[i] = newSVsv(sv); else SvREFCNT_inc_simple_void_NN(sv); - - if (SvWEAKREF(sv)) - sv_rvunweaken(sv); } av_clear(av); if (max > 0) { |