summaryrefslogtreecommitdiffstats
path: root/crypto/x86_64cpuid.pl
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2016-05-28 16:25:38 +0200
committerAndy Polyakov <appro@openssl.org>2016-05-29 14:12:51 +0200
commitcfe1d9929ee7d58e9e290d20b14b309b327d8a8f (patch)
treed0a0d237f4b3cdd82d109021435c9155720192e4 /crypto/x86_64cpuid.pl
parentConfigure,test/recipes: "pin" glob to File::Glob::glob. (diff)
downloadopenssl-cfe1d9929ee7d58e9e290d20b14b309b327d8a8f.tar.xz
openssl-cfe1d9929ee7d58e9e290d20b14b309b327d8a8f.zip
x86_64 assembly pack: tolerate spaces in source directory name.
[as it is now quoting $output is not required, but done just in case] Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'crypto/x86_64cpuid.pl')
-rw-r--r--crypto/x86_64cpuid.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/x86_64cpuid.pl b/crypto/x86_64cpuid.pl
index 4946688d92..285ad1ba7d 100644
--- a/crypto/x86_64cpuid.pl
+++ b/crypto/x86_64cpuid.pl
@@ -18,7 +18,7 @@ $0 =~ m/(.*[\/\\])[^\/\\]+$/; $dir=$1;
( $xlate="${dir}perlasm/x86_64-xlate.pl" and -f $xlate) or
die "can't locate x86_64-xlate.pl";
-open OUT,"| \"$^X\" $xlate $flavour $output";
+open OUT,"| \"$^X\" \"$xlate\" $flavour \"$output\"";
*STDOUT=*OUT;
($arg1,$arg2,$arg3,$arg4)=$win64?("%rcx","%rdx","%r8", "%r9") : # Win64 order