]> granicus.if.org Git - curl/commitdiff
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 d0d09e366961999f6bf2186908165e774f66e5ce..d2413fa1332f36c48099211c69bc123c9ebea95a 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 f08aae6a518d384519ca0016fcd083dba576ac80..c4ab5f132209be9790d6baca5f21336d74cbc2d0 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 8ad8b4abe154a4bb9adcec22bd5b559698fda429..dabdbcaec2f0bb2d573671cf65fa373969d4962e 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 e0134e8a2157fcd1816c0f075cbd0d196082121f..436ebd0ab8cb638f9032c2490e7f4dcb3f79cd0d 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 e744c5b30f0e5b7fe274237bb6f26ca92ad2ae66..3c3d121edebb96838eaf57da3a4a99271b3edfdd 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 9b6a2684c6e0bf8e739d80d3b28acbb8bfe3428b..92f0808d61948833bff7ff5831fdd78c2815c24c 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 140571653b44fc8e4e5a587e11b8ee797de4a334..be6652debdfc12e2c471947b4740fac994983f31 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 910b2adb1c4eebed1904f378a44841660624986a..91eab569c8008a962c253c278d451df6f1a489a9 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 dbdc697646098c9f25682f2384ee430a49d88e19..a92d939b3f3ef1eb6c74ee2786eee714f24c30f9 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 db70bb112504e95d22b89cab90457554fd366c34..324a917917ba0d81b2612b1a8b9a2bc8d2db9d0b 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 8cb239a6240556d86eb4a1533586d77151f9741d..c224be0051bc5e7f3fc03e311319ee8f6b6507b9 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 9bdc2bc7b15d5330c44435eff677d08488a62e0c..7253f1e7b63196241d08330e3b0c2a3cdaa40ec8 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 f0477fd463f54d886042411546829db9e8f1a153..01be9c2d2d8189095797a8846ec19d43563f54f9 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 0822e3a8e834d6eaa70cb3ecb522bdd3011f8e9b..e3f451f99d8ce6ba44091620488060cb74926c73 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 57e6ddd79871a97c84e33c363b86626419d8f4db..253acb21ddef0e80317e725edb2ca6d9a4ab72ab 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 07d23ae5c8c24997d6f56a1dc755d1897946aa2e..386ed6faf1600eadd08d94d8550733c872ff9775 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 279053cb95a567b6fd31b9b9591a0e0697f738e9..91b859bca5f2fc06145dc531e499353519c37463 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 dd368f7896449ea0460eaae9b5e2e4525864d9ea..301cd17d56247fbf82a3a0df078b13e8350c3aca 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 -------------------------------