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:
e24b16f
)
fix $/ init for USE_THREADS
author
Gurusamy Sarathy
<gsar@cpan.org>
Tue, 6 Oct 1998 21:16:34 +0000
(21:16 +0000)
committer
Gurusamy Sarathy
<gsar@cpan.org>
Tue, 6 Oct 1998 21:16:34 +0000
(21:16 +0000)
p4raw-id: //depot/perl@1937
perl.c
patch
|
blob
|
history
diff --git
a/perl.c
b/perl.c
index
0d6b150
..
cb0e624
100644
(file)
--- a/
perl.c
+++ b/
perl.c
@@
-1939,7
+1939,7
@@
init_main_stash(void)
PL_debstash = GvHV(gv_fetchpv("DB::", GV_ADDMULTI, SVt_PVHV));
PL_globalstash = GvHV(gv_fetchpv("CORE::GLOBAL::", GV_ADDMULTI, SVt_PVHV));
/* We must init $/ before switches are processed. */
- sv_setpvn(
GvSV(gv_fetchpv("/", TRUE, SVt_PV)
), "\n", 1);
+ sv_setpvn(
perl_get_sv("/", TRUE
), "\n", 1);
}
STATIC void