From: Guenter Knauf Date: Fri, 20 Jul 2012 15:22:10 +0000 (+0200) Subject: Fixed CR issue with Win32 version on MSYS. X-Git-Tag: curl-7_27_0~18 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0f15ed1617b0798c0469103a8b431f5d5ce9b01c;p=curl Fixed CR issue with Win32 version on MSYS. Previous fix didnt work on Linux ... --- diff --git a/tests/libtest/test1013.pl b/tests/libtest/test1013.pl index 2f67717c5..15e121415 100755 --- a/tests/libtest/test1013.pl +++ b/tests/libtest/test1013.pl @@ -14,10 +14,11 @@ my $curl_protocols=""; open(CURL, "$ARGV[1]") || die "Can't get curl $what list\n"; while( ) { - $curl_protocols = lc($_ =~ s/\r//) if ( /$what:/i ); + $curl_protocols = lc($_) if ( /$what:/i ); } close CURL; +$curl_protocols =~ s/\r//; $curl_protocols =~ /\w+: (.*)$/; @curl = split / /,$1;