diff options
author | Nicholas Clark <nick@ccl4.org> | 2007-05-02 16:26:24 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2007-05-02 16:26:24 +0000 |
commit | b89b0c6f71c5a46eb35a7e4a981d64eb1ed39c5d (patch) | |
tree | 46e4a022eb6944b3d13897b8b4f6902b837e182e /regcomp.c | |
parent | c49d5ed730376407060cbf826eab2369ab99bf61 (diff) | |
download | perl-b89b0c6f71c5a46eb35a7e4a981d64eb1ed39c5d.tar.gz |
Get PERL_OLD_COPY_ON_WRITE passing all tests, apart from
ext/Compress/Raw/Zlib/t/07bufsize.t
which still puzzles me.
p4raw-id: //depot/perl@31120
Diffstat (limited to 'regcomp.c')
-rw-r--r-- | regcomp.c | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -8866,10 +8866,7 @@ Perl_reg_temp_copy (pTHX_ struct regexp *r) { } RX_MATCH_COPIED_off(ret); #ifdef PERL_OLD_COPY_ON_WRITE - /* this is broken. */ - assert(0); - if (ret->saved_copy) - ret->saved_copy=NULL; + ret->saved_copy = NULL; #endif ret->mother_re = r; ret->swap = NULL; |