projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5d80017
)
Fixed CR issue with Win32 version on MSYS.
author
Guenter Knauf
<lists@gknw.net>
Fri, 20 Jul 2012 15:22:10 +0000
(17:22 +0200)
committer
Guenter Knauf
<lists@gknw.net>
Fri, 20 Jul 2012 15:22:10 +0000
(17:22 +0200)
Previous fix didnt work on Linux ...
tests/libtest/test1013.pl
patch
|
blob
|
history
diff --git
a/tests/libtest/test1013.pl
b/tests/libtest/test1013.pl
index
2f67717
..
15e1214
100755
(executable)
--- 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> )
{
- $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;