diff options
author | Malcolm Beattie <mbeattie@sable.ox.ac.uk> | 1997-11-11 15:20:43 +0000 |
---|---|---|
committer | Malcolm Beattie <mbeattie@sable.ox.ac.uk> | 1997-11-11 15:20:43 +0000 |
commit | 2faa37ccf8e46b865687f0ab4992b29a75eb79ea (patch) | |
tree | 39119f36375c3511f7e95acb160221c4f3b066ea /pp.c | |
parent | 38a03e6ea6b9b346c41b9006fbeedc3b0f0130b2 (diff) | |
download | perl-2faa37ccf8e46b865687f0ab4992b29a75eb79ea.tar.gz |
Change name of OP_SPECIFIC to OP_THREADSV. Fixed perl_get_sv when
getting per-thread magicals. Fixed thr->errsv initialisation.
p4raw-id: //depot/perl@229
Diffstat (limited to 'pp.c')
-rw-r--r-- | pp.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -4296,20 +4296,20 @@ PP(pp_lock) RETURN; } -PP(pp_specific) +PP(pp_threadsv) { dSP; #ifdef USE_THREADS SV **svp = av_fetch(thr->magicals, op->op_targ, FALSE); if (!svp) - croak("panic: pp_specific"); + croak("panic: pp_threadsv"); EXTEND(sp, 1); if (op->op_private & OPpLVAL_INTRO) PUSHs(save_svref(svp)); else PUSHs(*svp); #else - DIE("tried to access thread-specific data in non-threaded perl"); + DIE("tried to access per-thread data in non-threaded perl"); #endif /* USE_THREADS */ RETURN; } |