From 0f15ed1617b0798c0469103a8b431f5d5ce9b01c Mon Sep 17 00:00:00 2001 From: Guenter Knauf Date: Fri, 20 Jul 2012 17:22:10 +0200 Subject: Fixed CR issue with Win32 version on MSYS. Previous fix didnt work on Linux ... --- tests/libtest/test1013.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; -- cgit v1.2.3