gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [gnurl] 196/205: extern-scan.pl: strip trailing CR


From: gnunet
Subject: [GNUnet-SVN] [gnurl] 196/205: extern-scan.pl: strip trailing CR
Date: Thu, 20 Apr 2017 16:22:16 +0200

This is an automated email from the git hooks/post-receive script.

ng0 pushed a commit to annotated tag gnurl-7.54.0
in repository gnurl.

commit c25aba1254135a230971c1ed2a8140bde52b7b07
Author: Marcel Raad <address@hidden>
AuthorDate: Sun Apr 16 14:58:08 2017 +0200

    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
---
 tests/extern-scan.pl | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/tests/extern-scan.pl b/tests/extern-scan.pl
index 7a5c29140..88594ed69 100755
--- a/tests/extern-scan.pl
+++ b/tests/extern-scan.pl
@@ -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;

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]