diff options
author | Adrian M. Enache <enache@rdslink.ro> | 2003-02-23 22:16:39 +0200 |
---|---|---|
committer | hv <hv@crypt.org> | 2003-02-26 01:36:49 +0000 |
commit | faf82a0b75a45f1e4dbb7ad8cecdfaf9a30a643d (patch) | |
tree | 45806f716e73d5c78d51d8ebfa55b86f394c9f0a /mg.c | |
parent | bd5cf8491554ab1313db72afbf9e7bc1debe967c (diff) | |
download | perl-faf82a0b75a45f1e4dbb7ad8cecdfaf9a30a643d.tar.gz |
Re: [perl #20683] [fix] Better Patch
Message-ID: <20030223181639.GA18713@ratsnest.hole>
p4raw-id: //depot/perl@18782
Diffstat (limited to 'mg.c')
-rw-r--r-- | mg.c | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -1818,6 +1818,13 @@ Perl_magic_setuvar(pTHX_ SV *sv, MAGIC *mg) } int +Perl_magic_setregexp(pTHX_ SV *sv, MAGIC *mg) +{ + sv_unmagic(sv, PERL_MAGIC_qr); + return 0; +} + +int Perl_magic_freeregexp(pTHX_ SV *sv, MAGIC *mg) { regexp *re = (regexp *)mg->mg_obj; |