diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 1998-11-29 07:06:43 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 1998-11-29 07:06:43 +0000 |
commit | 127ad2b7f46b3b186ffbada86b1d7dda9ffd2a05 (patch) | |
tree | d6eedeaed4c79e42ca431c143e68513ee9d1d99f /pp_ctl.c | |
parent | 338a6d08e163490b2a52a2e64a7488eec1817685 (diff) | |
download | perl-127ad2b7f46b3b186ffbada86b1d7dda9ffd2a05.tar.gz |
fix for pat.t failure under USE_THREADS
p4raw-id: //depot/perl@2379
Diffstat (limited to 'pp_ctl.c')
-rw-r--r-- | pp_ctl.c | 8 |
1 files changed, 2 insertions, 6 deletions
@@ -669,12 +669,8 @@ PP(pp_grepstart) ENTER; /* enter outer scope */ SAVETMPS; -#ifdef USE_THREADS - /* SAVE_DEFSV does *not* suffice here */ - save_sptr(&THREADSV(0)); -#else - SAVESPTR(GvSV(PL_defgv)); -#endif /* USE_THREADS */ + /* SAVE_DEFSV does *not* suffice here for USE_THREADS */ + SAVESPTR(DEFSV); ENTER; /* enter inner scope */ SAVESPTR(PL_curpm); |