summaryrefslogtreecommitdiff
path: root/mg.c
diff options
context:
space:
mode:
authorGisle Aas <gisle@activestate.com>2006-01-04 16:15:34 +0000
committerGisle Aas <gisle@activestate.com>2006-01-04 16:15:34 +0000
commit89529cee496f815eec2d49f2510449af5063ddd8 (patch)
treee06748af374c318d12651d338e657323af4a0ce7 /mg.c
parent91d456aef184ffc6173bca456cc087b98f0e0831 (diff)
downloadperl-89529cee496f815eec2d49f2510449af5063ddd8.tar.gz
Make the new STR_WITH_LEN() affected compile under -Dusethreads.
Can't use STR_WITH_LEN() as argument to a macro :-( p4raw-id: //depot/perl@26649
Diffstat (limited to 'mg.c')
-rw-r--r--mg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mg.c b/mg.c
index f13dd36f78..d1bed8e54a 100644
--- a/mg.c
+++ b/mg.c
@@ -1444,7 +1444,7 @@ Perl_magic_setsig(pTHX_ SV *sv, MAGIC *mg)
* tell whether HINT_STRICT_REFS is in force or not.
*/
if (!strchr(s,':') && !strchr(s,'\''))
- sv_insert(sv, 0, 0, STR_WITH_LEN("main::"));
+ Perl_sv_insert(aTHX_ sv, 0, 0, STR_WITH_LEN("main::"));
if (i)
(void)rsignal(i, PL_csighandlerp);
else