From: Guenter Knauf Date: Fri, 20 Jul 2012 13:39:28 +0000 (+0200) Subject: Fixed CR issue with Win32 version on MSYS. X-Git-Tag: curl-7_27_0~19 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5d80017fd6c498764cbbfe86496d62db675a37e8;p=thirdparty%2Fcurl.git Fixed CR issue with Win32 version on MSYS. --- diff --git a/tests/libtest/test1013.pl b/tests/libtest/test1013.pl index 9ea7de02d7..2f67717c5d 100755 --- a/tests/libtest/test1013.pl +++ b/tests/libtest/test1013.pl @@ -14,7 +14,7 @@ my $curl_protocols=""; open(CURL, "$ARGV[1]") || die "Can't get curl $what list\n"; while( ) { - $curl_protocols = lc($_) if ( /$what:/i ); + $curl_protocols = lc($_ =~ s/\r//) if ( /$what:/i ); } close CURL;