projects
/
p5sagit/p5-mst-13.2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
move new variables to the end of the interpreter structure (for
[p5sagit/p5-mst-13.2.git]
/
pp_ctl.c
diff --git
a/pp_ctl.c
b/pp_ctl.c
index
9af9e82
..
a924d2e
100644
(file)
--- a/
pp_ctl.c
+++ b/
pp_ctl.c
@@
-891,6
+891,10
@@
PP(pp_sort)
PL_secondgv = gv_fetchpv("b", TRUE, SVt_PV);
PL_sortstash = stash;
}
+#ifdef USE_THREADS
+ sv_lock((SV *)PL_firstgv);
+ sv_lock((SV *)PL_secondgv);
+#endif
SAVESPTR(GvSV(PL_firstgv));
SAVESPTR(GvSV(PL_secondgv));
}