mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 15:48:49 -05:00
extern-scan.pl: strip trailing CR
This makes test 1135 pass with CRLF checkouts. Ref: https://github.com/curl/curl/pull/1344#issuecomment-289243166 Closes https://github.com/curl/curl/pull/1422
This commit is contained in:
parent
5cefe201e9
commit
c25aba1254
@ -49,7 +49,9 @@ sub scanheader {
|
||||
open H, "<$f" || die;
|
||||
while(<H>) {
|
||||
if (/^(CURL_EXTERN.*)/) {
|
||||
print "$1\n";
|
||||
my $decl = $1;
|
||||
$decl =~ s/\r$//;
|
||||
print "$decl\n";
|
||||
}
|
||||
}
|
||||
close H;
|
||||
|
Loading…
Reference in New Issue
Block a user