diff options
-rw-r--r-- | hv.c | 1 | ||||
-rw-r--r-- | pp_ctl.c | 9 |
2 files changed, 5 insertions, 5 deletions
@@ -233,7 +233,6 @@ bool *needs_store; case 'I': case 'S': *needs_store = FALSE; - default: } } mg = mg->mg_moremagic; @@ -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); |