mirror of
https://github.com/moparisthebest/curl
synced 2025-02-28 17:31:46 -05: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…
x
Reference in New Issue
Block a user