From ead14fa4cfd532568c1366a577e9579b0b69ac96 Mon Sep 17 00:00:00 2001 From: "simonpj@microsoft.com" Date: Tue, 2 Sep 2008 10:30:43 +0000 Subject: [PATCH] Cope with recent versions of Perl that lack the $* feature --- utils/runstdtest/runstdtest.prl | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/utils/runstdtest/runstdtest.prl b/utils/runstdtest/runstdtest.prl index 385a9fb..ae1822b 100644 --- a/utils/runstdtest/runstdtest.prl +++ b/utils/runstdtest/runstdtest.prl @@ -198,9 +198,10 @@ if ($PostScript ne '') { local($to_do); $PostScriptLines = `cat $PostScript`; $PostScriptLines =~ s/\r//g; - $* = 1; - $PostScriptLines =~ s#\$o1#$TmpPrefix/runtest$$.1#g; - $PostScriptLines =~ s#\$o2#$TmpPrefix/runtest$$.2#g; + $PostScriptLines =~ s#\$o1#$TmpPrefix/runtest$$.1#gm; + $PostScriptLines =~ s#\$o2#$TmpPrefix/runtest$$.2#gm; +# The postfix 'm' deals with recent versions of +# Perl that removed the $* feature } else { $PostScriptLines = ''; } -- 1.7.10.4