summaryrefslogtreecommitdiff
path: root/mg.c
diff options
context:
space:
mode:
authorAdrian M. Enache <enache@rdslink.ro>2003-02-23 22:16:39 +0200
committerhv <hv@crypt.org>2003-02-26 01:36:49 +0000
commitfaf82a0b75a45f1e4dbb7ad8cecdfaf9a30a643d (patch)
tree45806f716e73d5c78d51d8ebfa55b86f394c9f0a /mg.c
parentbd5cf8491554ab1313db72afbf9e7bc1debe967c (diff)
downloadperl-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.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/mg.c b/mg.c
index 58a5cd5460..c0f6c16590 100644
--- a/mg.c
+++ b/mg.c
@@ -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;