removed trailing whitespace
authorYang Tse <yangsita@gmail.com>
Fri, 30 Dec 2011 02:36:18 +0000 (03:36 +0100)
committerYang Tse <yangsita@gmail.com>
Fri, 30 Dec 2011 02:36:18 +0000 (03:36 +0100)
18 files changed:
CHANGES.0
CMake/FindCARES.cmake
CMakeLists.txt
docs/INSTALL
docs/examples/Makefile.m32
docs/examples/version-check.pl
lib/Makefile.m32
lib/libcurl.plist
log2changes.pl
perl/contrib/checklinks.pl.in
perl/contrib/crawlink.pl
perl/contrib/getlinks.pl.in
src/Makefile.Watcom
src/Makefile.m32
tests/libtest/first.c
tests/runtests.pl
tests/symbol-scan.pl
tests/unit/README

index d0d09e3..d2413fa 100644 (file)
--- a/CHANGES.0
+++ b/CHANGES.0
@@ -146,7 +146,7 @@ Daniel Stenberg (14 May 2010)
   compressed Content-Encoding!
 
   (http://curl.haxx.se/bug/view.cgi?id=3000056)
-  
+
 Daniel Stenberg (12 May 2010)
 - Howard Chu brought support for RTMP. This is powered by the underlying
   librtmp library. It supports a range of variations and "sub-protocols"
@@ -181,14 +181,14 @@ Daniel Stenberg (7 May 2010)
   That situation is subject for some closer inspection in the future.
 
 - Howard Chu split the I/O handling functions into private handlers.
-    
+
   Howard Chu brought the bulk work of this patch that properly moves out the
   sending and recving of data to the parts of the code that are properly
   responsible for the various ways of doing so.
-  
+
   Daniel Stenberg assisted with polishing a few bits and fixed some minor
   flaws in the original patch.
-  
+
   Another upside of this patch is that we now abuse CURLcodes less with the
   "magic" -1 return codes and instead use CURLE_AGAIN more consistently.
 
@@ -296,7 +296,7 @@ Daniel Stenberg (28 Mar 2010)
 - Ben Greear: If you pass a URL to pop3 that does not contain a message ID as
   part of the URL, it would previously ask for 'INBOX' which just causes the
   pop3 server to return an error.
-    
+
   Now libcurl treats en empty message ID as a request for LIST (list of pop3
   message IDs).  User's code could then parse this and download individual
   messages as desired.
@@ -318,7 +318,7 @@ Daniel Stenberg (24 Mar 2010)
   the last packet received constitutes the end of the response body, libcurl
   still treats it as a timeout condition and reports a message like:
 
-  "Operation timed out after 3000 milliseconds with 876 out of 876 bytes 
+  "Operation timed out after 3000 milliseconds with 876 out of 876 bytes
   received"
 
   It should only a timeout if the timer lapsed and we DIDN'T receive the end
@@ -368,7 +368,7 @@ Daniel Stenberg (22 Mar 2010)
   case of a timeout, the signal handler for SIGALRM never gets removed. I
   think that in my case it gets executed at some point later on when execution
   has long left Curl_resolv_timeout() or even the cURL library.
-  
+
   The code that is jumped to with siglongjmp() simply sets the error message
   to "name lookup timed out" and then returns with CURLRESOLV_ERROR. I guess
   that instead of simply returning without cleaning up, the code should have a
@@ -17288,7 +17288,7 @@ Version 5.1 (not publicly released)
 
    They should be set for protocol-specific proxies. General proxy should be
    set with
-       
+
        ALL_PROXY
 
    And a comma-separated list of host names that shouldn't go through any
index f08aae6..c4ab5f1 100755 (executable)
@@ -11,7 +11,7 @@ FIND_PATH(CARES_INCLUDE_DIR ares.h
   /usr/local/include
   /usr/include
   )
+
 SET(CARES_NAMES ${CARES_NAMES} cares)
 FIND_LIBRARY(CARES_LIBRARY
   NAMES ${CARES_NAMES}
index 8ad8b4a..dabdbca 100644 (file)
@@ -382,7 +382,7 @@ if(CMAKE_USE_OPENSSL)
   check_include_file_concat("openssl/rand.h"   HAVE_OPENSSL_RAND_H)
 endif(CMAKE_USE_OPENSSL)
 
-if(NOT HAVE_LDAP_H) 
+if(NOT HAVE_LDAP_H)
   message(STATUS "LDAP_H not found CURL_DISABLE_LDAP set ON")
   set(CURL_DISABLE_LDAP ON CACHE BOOL "" FORCE)
 endif()
@@ -784,7 +784,7 @@ if(HAVE_SOCKLEN_T)
   check_type_size("socklen_t" CURL_SIZEOF_CURL_SOCKLEN_T)
   set(CMAKE_EXTRA_INCLUDE_FILES)
   if(NOT HAVE_CURL_SIZEOF_CURL_SOCKLEN_T)
-    message(FATAL_ERROR 
+    message(FATAL_ERROR
      "Check for sizeof socklen_t failed, see CMakeFiles/CMakerror.log")
   endif()
 else()
index e0134e8..436ebd0 100644 (file)
@@ -392,7 +392,7 @@ Win32
 
      set BCCDIR=c:\Borland\BCC55
 
-   In order to build a plain vanilla version of curl and libcurl run the 
+   In order to build a plain vanilla version of curl and libcurl run the
    following command from curl's root directory:
 
      make borland
index e744c5b..3c3d121 100644 (file)
@@ -58,7 +58,7 @@ endif
 ifndef LIBIDN_PATH
 LIBIDN_PATH = ../../../libidn-1.18
 endif
-# Edit the path below to point to the base of your MS idndlpackage. 
+# Edit the path below to point to the base of your MS IDN package.
 # Microsoft Internationalized Domain Names (IDN) Mitigation APIs 1.1
 # http://www.microsoft.com/downloads/en/details.aspx?FamilyID=ad6158d7-ddba-416a-9109-07607425a815
 ifndef WINIDN_PATH
index 9b6a268..92f0808 100755 (executable)
@@ -90,7 +90,7 @@ my @recent = reverse sort sortversions keys %used;
 # the most recent symbol
 my $newsym = $recent[0];
 # the most recent version
-my $newver = $doc{$newsym}; 
+my $newver = $doc{$newsym};
 
 print "The scanned source uses these symbols introduced in $newver:\n";
 
index 1405716..be6652d 100644 (file)
@@ -41,7 +41,7 @@ endif
 ifndef LIBIDN_PATH
 LIBIDN_PATH = ../../libidn-1.18
 endif
-# Edit the path below to point to the base of your MS idndlpackage. 
+# Edit the path below to point to the base of your MS IDN package.
 # Microsoft Internationalized Domain Names (IDN) Mitigation APIs 1.1
 # http://www.microsoft.com/downloads/en/details.aspx?FamilyID=ad6158d7-ddba-416a-9109-07607425a815
 ifndef WINIDN_PATH
index 910b2ad..91eab56 100644 (file)
@@ -3,17 +3,17 @@
 <plist version="0.9">
 <dict>
        <key>CFBundleInfoDictionaryVersion</key>
-       <string>6.0</string>    
-       
+       <string>6.0</string>
+
        <key>CFBundleDevelopmentRegion</key>
        <string>English</string>
-       
+
        <key>CFBundleExecutable</key>
        <string>curl</string>
-       
+
        <key>CFBundleIdentifier</key>
        <string>com.libcurl.libcurl</string>
-       
+
        <key>CFBundleVersion</key>
        <string>7.12.3</string>
 
        <string>libcurl</string>
 
        <key>CFBundlePackageType</key>
-       <string>FMWK</string>   
-        
+       <string>FMWK</string>
+
        <key>CFBundleSignature</key>
-       <string>????</string>   
-       
+       <string>????</string>
+
        <key>CFBundleShortVersionString</key>
        <string>libcurl 7.12.3</string>
-       
+
        <key>CFBundleGetInfoString</key>
        <string>libcurl.plist 7.12.3</string>
 </dict>
-</plist>
\ No newline at end of file
+</plist>
index dbdc697..a92d939 100755 (executable)
@@ -34,7 +34,7 @@ while(<STDIN>) {
         my $ref = $2;
         if ($ref =~ /refs\/tags\/curl-([0-9_]*)/) {
             $tag = $1;
-            $tag =~ tr/_/./; 
+            $tag =~ tr/_/./;
         } else {
             $tag = '';
         }
index db70bb1..324a917 100644 (file)
@@ -221,7 +221,7 @@ sub GetLinks {
     while($in =~ /[^<]*(<[^>]+>)/g ) {
         # we have a tag in $1
         $tag = $1;
-    
+
         if($tag =~ /^<!--/) {
             # this is a comment tag, ignore it
         }
index 8cb239a..c224be0 100755 (executable)
@@ -135,7 +135,7 @@ sub SplitURL {
         $getserver = $2;
         $getpath = $3;
         $getdocument = "";
-    
+
         if($getpath !~ /\//) {
             $getpath ="";
             $getdocument = $3;
@@ -256,7 +256,7 @@ sub GetLinks {
     while($in =~ /[^<]*(<[^>]+>)/g ) {
         # we have a tag in $1
         my $tag = $1;
-    
+
         if($tag =~ /^<!--/) {
             # this is a comment tag, ignore it
         }
index 9bdc2bc..7253f1e 100644 (file)
@@ -90,7 +90,7 @@ sub SplitURL {
         $getserver = $2;
         $getpath = $3;
         $getdocument = "";
-    
+
         if($getpath !~ /\//) {
             $getpath ="";
             $getdocument = $3;
@@ -176,7 +176,7 @@ sub GetLinks {
     while($in =~ /[^<]*(<[^>]+>)/g ) {
         # we have a tag in $1
         $tag = $1;
-    
+
         if($tag =~ /^<!--/) {
             # this is a comment tag, ignore it
         }
index f0477fd..01be9c2 100644 (file)
@@ -184,8 +184,8 @@ $(LINK_ARG): $(__MAKEFILES__)
 !ifdef %use_rtmp
        @%append $^@ library $(LIBRTMP_ROOT)$(DS)librtmp$(DS)librtmp.lib, winmm.lib
 !endif
-!ifdef %use_ssh2                                                                                                                    
-       @%append $^@ library $(LIBSSH2_ROOT)$(DS)win32$(DS)libssh2.lib                                                                      
+!ifdef %use_ssh2
+       @%append $^@ library $(LIBSSH2_ROOT)$(DS)win32$(DS)libssh2.lib
 !endif
 !ifdef %use_ssl
        @%append $^@ library $(OPENSSL_ROOT)$(DS)out32$(DS)libeay32.lib, $(OPENSSL_ROOT)$(DS)out32$(DS)ssleay32.lib
index 0822e3a..e3f451f 100644 (file)
@@ -38,7 +38,7 @@ endif
 ifndef LIBIDN_PATH
 LIBIDN_PATH = ../../libidn-1.18
 endif
-# Edit the path below to point to the base of your MS idndlpackage. 
+# Edit the path below to point to the base of your MS IDN package.
 # Microsoft Internationalized Domain Names (IDN) Mitigation APIs 1.1
 # http://www.microsoft.com/downloads/en/details.aspx?FamilyID=ad6158d7-ddba-416a-9109-07607425a815
 ifndef WINIDN_PATH
index 57e6ddd..253acb2 100644 (file)
@@ -38,7 +38,7 @@ int select_wrapper(int nfds, fd_set *rd, fd_set *wr, fd_set *exc,
     return -1;
   }
 #ifdef USE_WINSOCK
-  /* 
+  /*
    * Winsock select() requires that at least one of the three fd_set
    * pointers is not NULL and points to a non-empty fdset. IOW Winsock
    * select() can not be used to sleep without a single fd_set.
index 07d23ae..386ed6f 100755 (executable)
@@ -230,7 +230,7 @@ my %skipped;    # skipped{reason}=counter, reasons for skip
 my @teststat;   # teststat[testnum]=reason, reasons for skip
 my %disabled_keywords;  # key words of tests to skip
 my %enabled_keywords;   # key words of tests to run
-my %disabled;           # disabled test cases 
+my %disabled;           # disabled test cases
 
 my $sshdid;      # for socks server, ssh daemon version id
 my $sshdvernum;  # for socks server, ssh daemon version number
@@ -2265,7 +2265,7 @@ sub checksystem {
                $has_polarssl=1;
                $has_openssl=1;
                $ssllib="polarssl";
-           } 
+           }
            elsif ($libcurl =~ /axtls/i) {
                $has_axtls=1;
                $ssllib="axTLS";
@@ -3680,7 +3680,7 @@ sub startservers {
             }
         }
         elsif($what eq "ftp2") {
-            if($torture && $run{'ftp2'} && 
+            if($torture && $run{'ftp2'} &&
                !responsive_pingpong_server("ftp", "2", $verbose)) {
                 stopserver('ftp2');
             }
index 279053c..91b859b 100644 (file)
@@ -110,7 +110,7 @@ for my $e (sort @syms) {
     # *_LAST and *_LASTENTRY are just prefix for the placeholders used for the
     # last entry in many enum series.
     #
-    
+
     if($e =~ /(OBSOLETE|^CURL_EXTERN|_LAST\z|_LASTENTRY\z)/) {
         $ignored++;
         next;
@@ -159,7 +159,6 @@ if($summary) {
     scalar(@syms)- $ignored;
     printf "%d symbols are listed in symbols-in-versions\n (out of which %d are listed as removed)\n", scalar(keys %doc), scalar(keys %rem);
     printf "%d symbols in symbols-in-versions should match the ones in headers\n", scalar(keys %doc) - scalar(keys %rem);
-    
 }
 
 if($misses) {
index dd368f7..301cd17 100644 (file)
@@ -62,9 +62,9 @@ UNITTEST_START
 
   fail_unless( size == 0 , "initial size should be zero" );
   fail_if( head == NULL , "head should not be initiated to NULL" );
+
   /* you end the test code like this: */
+
 UNITTEST_STOP
 
 ----------------------- end -------------------------------