summaryrefslogtreecommitdiff
path: root/pp_ctl.c
diff options
context:
space:
mode:
authorMalcolm Beattie <mbeattie@sable.ox.ac.uk>1997-11-25 17:59:53 +0000
committerMalcolm Beattie <mbeattie@sable.ox.ac.uk>1997-11-25 17:59:53 +0000
commitfb54173c01796b37b2259a6538d910d610b2edbb (patch)
tree455db285bf63b05de015837cbe37ff9515ad4862 /pp_ctl.c
parentfb5f0bdfbc514e819b0711dc92c143ae577ceca0 (diff)
downloadperl-fb54173c01796b37b2259a6538d910d610b2edbb.tar.gz
Fix minor thinkos in hv.c and pp_ctl.c. This is 5.004_55.
p4raw-id: //depot/perl@301
Diffstat (limited to 'pp_ctl.c')
-rw-r--r--pp_ctl.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/pp_ctl.c b/pp_ctl.c
index d79145c719..d9f985e8e4 100644
--- a/pp_ctl.c
+++ b/pp_ctl.c
@@ -546,11 +546,12 @@ PP(pp_grepstart)
ENTER; /* enter outer scope */
SAVETMPS;
-#if 0
- SAVE_DEFSV;
-#else
+#ifdef USE_THREADS
+ /* SAVE_DEFSV does *not* suffice here */
save_sptr(av_fetch(thr->threadsv, find_threadsv("_"), FALSE));
-#endif
+#else
+ SAVESPTR(GvSV(defgv));
+#endif /* USE_THREADS */
ENTER; /* enter inner scope */
SAVESPTR(curpm);