From: Gunter Knauf Date: Thu, 21 May 2009 13:02:34 +0000 (+0000) Subject: stripped \r from win32 curl --version output. X-Git-Tag: curl-7_19_6~235 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4a79462c3ed6e55f9203485431d56be5c45315b6;p=curl stripped \r from win32 curl --version output. --- diff --git a/tests/testcurl.pl b/tests/testcurl.pl index 2171622f1..cf362fb87 100755 --- a/tests/testcurl.pl +++ b/tests/testcurl.pl @@ -669,8 +669,9 @@ if (!$crosscompile || (($extvercmd ne '') && (-x $extvercmd))) { my $cmd = ($extvercmd ne '' ? $extvercmd.' ' : '')."./src/curl${binext} --version|"; open(F, $cmd); while() { - print; - print LOG; + s/\r//; + print; + print LOG; } close(F); }