projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cf042ed
)
Initialise $@ early (fixes t/lib/ph.t for threaded perl).
author
Malcolm Beattie
<mbeattie@sable.ox.ac.uk>
Fri, 20 Feb 1998 15:46:15 +0000
(15:46 +0000)
committer
Malcolm Beattie
<mbeattie@sable.ox.ac.uk>
Fri, 20 Feb 1998 15:46:15 +0000
(15:46 +0000)
p4raw-id: //depot/perl@560
perl.c
patch
|
blob
|
history
diff --git
a/perl.c
b/perl.c
index
418c491
..
ec232e4
100644
(file)
--- a/
perl.c
+++ b/
perl.c
@@
-2839,6
+2839,7
@@
init_main_thread()
sv_setpvn(bodytarget, "", 0);
formtarget = bodytarget;
thr->errsv = newSVpv("", 0);
+ (void) find_threadsv("@"); /* Ensure $@ is initialised early */
return thr;
}
#endif /* USE_THREADS */