mirror of
https://github.com/curl/curl.git
synced 2025-09-27 14:36:48 +03:00
Fixed CR issue with Win32 version on MSYS.
Previous fix didnt work on Linux ...
This commit is contained in:
parent
5d80017fd6
commit
0f15ed1617
|
@ -14,10 +14,11 @@ my $curl_protocols="";
|
||||||
open(CURL, "$ARGV[1]") || die "Can't get curl $what list\n";
|
open(CURL, "$ARGV[1]") || die "Can't get curl $what list\n";
|
||||||
while( <CURL> )
|
while( <CURL> )
|
||||||
{
|
{
|
||||||
$curl_protocols = lc($_ =~ s/\r//) if ( /$what:/i );
|
$curl_protocols = lc($_) if ( /$what:/i );
|
||||||
}
|
}
|
||||||
close CURL;
|
close CURL;
|
||||||
|
|
||||||
|
$curl_protocols =~ s/\r//;
|
||||||
$curl_protocols =~ /\w+: (.*)$/;
|
$curl_protocols =~ /\w+: (.*)$/;
|
||||||
@curl = split / /,$1;
|
@curl = split / /,$1;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user