From 9d14cc18f7ccf6279e31fce0414a00b7ff3bd076 Mon Sep 17 00:00:00 2001 From: Gurusamy Sarathy Date: Tue, 6 Oct 1998 21:16:34 +0000 Subject: [PATCH] fix $/ init for USE_THREADS p4raw-id: //depot/perl@1937 --- perl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/perl.c b/perl.c index 0d6b150..cb0e624 100644 --- 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 -- 2.7.4