This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Missing thingies.
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>
Sat, 6 Dec 2003 21:33:22 +0000 (21:33 +0000)
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>
Sat, 6 Dec 2003 21:33:22 +0000 (21:33 +0000)
p4raw-id: //depot/perl@21863

pp.c
pp_hot.c

diff --git a/pp.c b/pp.c
index 7872c1e..6b06c97 100644 (file)
--- a/pp.c
+++ b/pp.c
@@ -106,7 +106,7 @@ PP(pp_padhv)
        RETURNOP(do_kv());
     }
     else if (gimme == G_SCALAR) {
        RETURNOP(do_kv());
     }
     else if (gimme == G_SCALAR) {
-       SV* sv = Perl_hv_scalar((HV*)TARG);
+       SV* sv = Perl_hv_scalar(aTHX_ (HV*)TARG);
        SETs(sv);
     }
     RETURN;
        SETs(sv);
     }
     RETURN;
index d8ccf6d..208d89b 100644 (file)
--- a/pp_hot.c
+++ b/pp_hot.c
@@ -901,7 +901,7 @@ PP(pp_rv2hv)
     }
     else if (gimme == G_SCALAR) {
        dTARGET;
     }
     else if (gimme == G_SCALAR) {
        dTARGET;
-    TARG = Perl_hv_scalar(hv);
+    TARG = Perl_hv_scalar(aTHX_ hv);
        SETTARG;
     }
     RETURN;
        SETTARG;
     }
     RETURN;