To: vim_dev@googlegroups.com Subject: Patch 8.2.4931 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.2.4931 Problem: Crash with sequence of Perl commands. Solution: Move PUTBACK to another line. (closes #10386) Files: src/if_perl.xs *** ../vim-8.2.4930/src/if_perl.xs 2022-01-28 21:00:47.659144775 +0000 --- src/if_perl.xs 2022-05-10 13:32:00.896553812 +0100 *************** *** 1373,1378 **** --- 1373,1379 ---- SPAGAIN; SvREFCNT_dec(sv); sv = POPs; + PUTBACK; } } else *************** *** 1383,1389 **** ref_map_free(); err = SvPV(GvSV(PL_errgv), err_len); } - PUTBACK; FREETMPS; LEAVE; } --- 1384,1389 ---- *** ../vim-8.2.4930/src/version.c 2022-05-10 13:24:17.644706896 +0100 --- src/version.c 2022-05-10 13:30:06.388585631 +0100 *************** *** 748,749 **** --- 748,751 ---- { /* Add new patch number below this line */ + /**/ + 4931, /**/ -- hundred-and-one symptoms of being an internet addict: 164. You got out to buy software, instead of going out for a beer. /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// \\\ \\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///