From: Gurusamy Sarathy Date: Fri, 26 Apr 2002 07:39:20 +0000 (+0000) Subject: fix typo that caused pseudo-fork() crashes on win64 (we were only X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=ce0a1ae02a4caaed550a99c6d18f8cd84af3440f;p=p5sagit%2Fp5-mst-13.2.git fix typo that caused pseudo-fork() crashes on win64 (we were only allocating half of the retstack!) p4raw-id: //depot/perl@16181 --- diff --git a/README.win32 b/README.win32 index d8033b2..4446600 100644 --- a/README.win32 +++ b/README.win32 @@ -253,13 +253,6 @@ the testsuite (many tests will be skipped). There should be no test failures when running under Windows NT/2000/XP. Many tests I fail under Windows 9x due to the inferior command shell. -The following known test failures under the 64-bit edition of Windows .NET -Server beta 3 are expected to be fixed before the 5.8.0 release: - - Failed Test Stat Wstat Total Fail Failed List of Failed - ------------------------------------------------------------------------ - op/fork.t 18 3 16.67% 2 15 17 - Some test failures may occur if you use a command shell other than the native "cmd.exe", or if you are building from a path that contains spaces. So don't do that. diff --git a/sv.c b/sv.c index 609142f..5da249f 100644 --- a/sv.c +++ b/sv.c @@ -10412,7 +10412,7 @@ perl_clone_using(PerlInterpreter *proto_perl, UV flags, PL_retstack_ix = proto_perl->Tretstack_ix; PL_retstack_max = proto_perl->Tretstack_max; Newz(54, PL_retstack, PL_retstack_max, OP*); - Copy(proto_perl->Tretstack, PL_retstack, PL_retstack_ix, I32); + Copy(proto_perl->Tretstack, PL_retstack, PL_retstack_ix, OP*); /* NOTE: si_dup() looks at PL_markstack */ PL_curstackinfo = si_dup(proto_perl->Tcurstackinfo, param);