This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
fix s/(.)/die/e
authorDavid Mitchell <davem@iabyn.com>
Sat, 8 Sep 2012 19:17:42 +0000 (20:17 +0100)
committerDavid Mitchell <davem@iabyn.com>
Sat, 8 Sep 2012 19:17:42 +0000 (20:17 +0100)
commit5eabab158821032728b40b21aab4353b1213e250
treea8b8ca2ba475485406a1d9d258dfaf5edb6d5086
parent1703c1fc996f9d5943ebada0759bc5212289ae8e
fix s/(.)/die/e

Commit 6502e08109cd003b2cdf39bc94ef35e52203240b introduced copying just
the part of the regex string that were needed; but piggy-backing on that
commit was a temporary change I made that I forgot to undo, which - it
turns out - causes SEGVs and similar when the replacement part of a
substitution dies.

This commits reverts that change.

Spotted as
    Bleadperl v5.17.3-255-g6502e08 breaks GAAS/URI-1.60.tar.gz
(not assigned an RT ticket number yet)
pp_ctl.c