diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 1998-10-06 21:16:34 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 1998-10-06 21:16:34 +0000 |
commit | 9d14cc18f7ccf6279e31fce0414a00b7ff3bd076 (patch) | |
tree | d7ec3e97b29e16cfad010aa34b0044ba0eef42c7 | |
parent | e24b16f93601a2fb49f1bbf6bab19c3bfe09c0e8 (diff) | |
download | perl-9d14cc18f7ccf6279e31fce0414a00b7ff3bd076.tar.gz |
fix $/ init for USE_THREADS
p4raw-id: //depot/perl@1937
-rw-r--r-- | perl.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |