Browse Source

removed trailing whitespace

tags/curl-7_30_0
Yang Tse 9 years ago
parent
commit
a07bc79117
100 changed files with 511 additions and 508 deletions
  1. 15
    15
      CHANGES
  2. 57
    57
      CHANGES.0
  3. 7
    7
      CMake/CheckTypeSize.cmake
  4. 1
    1
      CMake/CurlTests.c
  5. 4
    4
      CMake/OtherTests.cmake
  6. 4
    4
      CVS-INFO
  7. 7
    7
      MacOSX-Framework
  8. 32
    32
      acinclude.m4
  9. 4
    4
      docs/BUGS
  10. 2
    2
      docs/CONTRIBUTE
  11. 1
    1
      docs/DISTRO-DILEMMA
  12. 3
    3
      docs/FAQ
  13. 4
    4
      docs/FEATURES
  14. 15
    15
      docs/INSTALL
  15. 7
    7
      docs/INSTALL.cmake
  16. 6
    6
      docs/INSTALL.devcpp
  17. 6
    6
      docs/INTERNALS
  18. 2
    2
      docs/KNOWN_BUGS
  19. 14
    14
      docs/MANUAL
  20. 6
    6
      docs/README.cmake
  21. 7
    7
      docs/README.netware
  22. 4
    4
      docs/README.win32
  23. 9
    9
      docs/RESOURCES
  24. 1
    1
      docs/SSLCERTS
  25. 5
    5
      docs/TODO
  26. 3
    3
      docs/TheArtOfHttpScripting
  27. 5
    5
      docs/VERSIONS
  28. 4
    4
      docs/curl-config.1
  29. 1
    1
      docs/curl.1
  30. 4
    4
      docs/examples/Makefile.example
  31. 2
    2
      docs/examples/chkspeed.c
  32. 3
    3
      docs/examples/cookie_interface.c
  33. 1
    1
      docs/examples/curlx.c
  34. 2
    2
      docs/examples/ftpgetinfo.c
  35. 4
    4
      docs/examples/multi-double.c
  36. 1
    1
      docs/examples/multi-post.c
  37. 1
    1
      docs/examples/sampleconv.c
  38. 3
    3
      docs/libcurl/curl_easy_getinfo.3
  39. 1
    1
      docs/libcurl/curl_easy_init.3
  40. 2
    2
      docs/libcurl/curl_easy_send.3
  41. 1
    1
      docs/libcurl/curl_easy_setopt.3
  42. 1
    1
      docs/libcurl/curl_formadd.3
  43. 1
    1
      docs/libcurl/curl_formget.3
  44. 1
    1
      docs/libcurl/curl_free.3
  45. 1
    1
      docs/libcurl/curl_multi_socket_action.3
  46. 1
    1
      docs/libcurl/curl_share_setopt.3
  47. 5
    5
      docs/libcurl/libcurl-tutorial.3
  48. 1
    1
      docs/libcurl/symbols-in-versions
  49. 4
    4
      include/README
  50. 1
    1
      include/curl/curlrules.h
  51. 7
    7
      include/curl/stdcheaders.h
  52. 5
    5
      install-sh
  53. 1
    1
      lib/CMakeLists.txt
  54. 1
    1
      lib/Makefile.am
  55. 1
    1
      lib/Makefile.riscos
  56. 2
    2
      lib/Makefile.vxworks
  57. 5
    5
      lib/README.ares
  58. 4
    4
      lib/README.curlx
  59. 3
    3
      lib/README.encoding
  60. 4
    4
      lib/README.memoryleak
  61. 14
    12
      lib/arpa_telnet.h
  62. 2
    2
      lib/curl_addrinfo.h
  63. 9
    9
      lib/curl_md5.h
  64. 2
    2
      lib/curl_sspi.h
  65. 1
    1
      lib/curl_threads.c
  66. 3
    3
      lib/firefox-db2pem.sh
  67. 9
    9
      lib/getinfo.h
  68. 2
    2
      lib/hostip4.c
  69. 12
    12
      lib/http_negotiate.h
  70. 3
    3
      lib/mk-ca-bundle.pl
  71. 2
    2
      lib/netrc.c
  72. 10
    9
      lib/netrc.h
  73. 5
    5
      lib/setup-os400.h
  74. 3
    3
      lib/setup.h
  75. 9
    9
      lib/speedcheck.h
  76. 9
    10
      lib/strdup.h
  77. 9
    10
      lib/strtok.h
  78. 5
    6
      lib/strtoofft.h
  79. 2
    2
      maketgz
  80. 6
    6
      packages/AIX/RPM/README
  81. 7
    7
      packages/AIX/RPM/curl.spec.in
  82. 2
    2
      packages/Linux/RPM/curl-ssl.spec.in
  83. 1
    1
      packages/Linux/RPM/curl.spec.in
  84. 1
    1
      packages/Makefile.am
  85. 6
    6
      packages/README
  86. 2
    2
      packages/Symbian/group/curl.iby
  87. 1
    1
      packages/Symbian/group/libcurl.mmp
  88. 1
    1
      packages/Symbian/readme.txt
  89. 2
    1
      packages/TPF/maketpf.env_curl
  90. 6
    4
      packages/TPF/maketpf.env_curllib
  91. 1
    1
      packages/Win32/cygwin/Makefile.am
  92. 10
    10
      packages/Win32/cygwin/README
  93. 10
    10
      packages/vms/build_vms.com
  94. 1
    1
      packages/vms/config-vms.h
  95. 1
    1
      packages/vms/curlmsg.h
  96. 11
    11
      packages/vms/curlmsg.msg
  97. 13
    13
      packages/vms/curlmsg.sdl
  98. 4
    4
      perl/README
  99. 4
    4
      perl/contrib/checklinks.pl.in
  100. 0
    0
      perl/contrib/crawlink.pl

+ 15
- 15
CHANGES View File

@@ -14,7 +14,7 @@ Daniel Stenberg (13 Feb 2010)
14 14
 - Martin Hager reported and fixed a problem with a missing quote in libcurl.m4
15 15
 
16 16
   (http://curl.haxx.se/bug/view.cgi?id=2951319)
17
- 
17
+
18 18
 - Tom Donovan fixed the CURL_FORMAT_* defines when building with cmake.
19 19
 
20 20
   (http://curl.haxx.se/bug/view.cgi?id=2951269)
@@ -244,7 +244,7 @@ Daniel Stenberg (26 Dec 2009)
244 244
 Daniel Stenberg (17 Dec 2009)
245 245
 - David Byron fixed Curl_ossl_cleanup to actually call ENGINE_cleanup when
246 246
   available.
247
-  
247
+
248 248
 - Follow-up fix for the proxy fix I did for Jon Nelson's bug. It turned out I
249 249
   was a bit too quick and broke test case 1101 with that change. The order of
250 250
   some of the setups is sensitive. I now changed it slightly again to make
@@ -435,7 +435,7 @@ Daniel Stenberg (11 Nov 2009)
435 435
   in the DNS cache would linger too long if the request that added it was in
436 436
   use that long. He also provided the patch that now makes libcurl capable of
437 437
   still doing a request while the DNS hash entry may get timed out.
438
-  
438
+
439 439
 - Christian Schmitz noticed that the progress meter/callback was not properly
440 440
   used during the FTP connection phase (after the actual TCP connect), while
441 441
   it of course should be. I also made the speed check get called correctly so
@@ -530,7 +530,7 @@ Daniel Stenberg (1 Oct 2009)
530 530
   him grief. This is a regression that was introduced in 7.19.1 and I find it
531 531
   strange it hasn't hit us harder, but I won't persue into figuring out
532 532
   exactly why.
533
- 
533
+
534 534
 - Constantine Sapuntzakis: The current implementation will always set
535 535
   SO_SNDBUF to CURL_WRITE_SIZE even if the SO_SNDBUF starts out larger.  The
536 536
   patch doesn't do a setsockopt if SO_SNDBUF is already greater than
@@ -564,7 +564,7 @@ Daniel Stenberg (25 Sep 2009)
564 564
   (http://curl.haxx.se/bug/view.cgi?id=2861587) identifying that libcurl used
565 565
   the OpenSSL function X509_load_crl_file() wrongly and failed if it would
566 566
   load a CRL file with more than one certificate within. This is now fixed.
567
-  
567
+
568 568
 Daniel Stenberg (16 Sep 2009)
569 569
 - Sven Anders reported that we introduced a cert verfication flaw for OpenSSL-
570 570
   powered libcurl in 7.19.6. If there was a X509v3 Subject Alternative Name
@@ -787,7 +787,7 @@ Michal Marek (15 Jul 2009)
787 787
 Guenter Knauf (14 Jul 2009)
788 788
 - renamed generated config.h to curl_config.h to avoid any future clashes
789 789
   with config.h from other projects.
790
-  
790
+
791 791
 Daniel Stenberg (9 Jul 2009)
792 792
 - Eric Wong introduced curlx_nonblock() that the curl tool now (re-)uses for
793 793
   setting a file descriptor non-blocking. Used by the functionality Eric
@@ -1239,7 +1239,7 @@ Yang Tse (2 Apr 2009)
1239 1239
 
1240 1240
 Daniel Stenberg (1 Apr 2009)
1241 1241
 - Andre Guibert de Bruet fixed a NULL pointer use in an infof() call if a
1242
-  strdup() call failed. 
1242
+  strdup() call failed.
1243 1243
 
1244 1244
 Daniel Fandrich (31 Mar 2009)
1245 1245
 - Properly return an error code in curl_easy_recv (reported by Jim Freeman).
@@ -1248,7 +1248,7 @@ Daniel Stenberg (18 Mar 2009)
1248 1248
 - Kamil Dudka brought a patch that enables 6 additional crypto algorithms when
1249 1249
   NSS is used. These ciphers were added in NSS 3.4 and require to be enabled
1250 1250
   explicitly.
1251
- 
1251
+
1252 1252
 Daniel Stenberg (13 Mar 2009)
1253 1253
 - Use libssh2_version() to present the libssh2 version in case the libssh2
1254 1254
   library is found to support it.
@@ -1268,8 +1268,8 @@ Yang Tse (11 Mar 2009)
1268 1268
   reported by Pierre Brico.
1269 1269
 
1270 1270
 Daniel Stenberg (9 Mar 2009)
1271
-- Frank Hempel found out a bug and provided the fix: 
1272
-  
1271
+- Frank Hempel found out a bug and provided the fix:
1272
+
1273 1273
   curl_easy_duphandle did not necessarily duplicate the CURLOPT_COOKIEFILE
1274 1274
   option. It only enabled the cookie engine in the destination handle if
1275 1275
   data->cookies is not NULL (where data is the source handle). In case of a
@@ -1288,7 +1288,7 @@ Daniel Stenberg (9 Mar 2009)
1288 1288
   checkouts who don't do cvs update with the -d option won't get the new dirs
1289 1289
   and then will get funny outputs that can be a bit hard to understand and
1290 1290
   fix.
1291
-  
1291
+
1292 1292
 Daniel Stenberg (8 Mar 2009)
1293 1293
 - Andre Guibert de Bruet found and fixed a code segment in ssluse.c where the
1294 1294
   allocation of the memory BIO was not being properly checked.
@@ -1361,7 +1361,7 @@ Daniel Stenberg (25 Feb 2009)
1361 1361
   just to avoid it to fail very early when libgcrypt dislikes the situation,
1362 1362
   but that move was bad and the fix should rather be in libgcrypt or
1363 1363
   elsewhere.
1364
-  
1364
+
1365 1365
 Daniel Stenberg (24 Feb 2009)
1366 1366
 - Brian J. Murrell found out that Negotiate proxy authentication didn't work.
1367 1367
   It happened because the code used the struct for server-based auth all the
@@ -1395,7 +1395,7 @@ Daniel Stenberg (20 Feb 2009)
1395 1395
   necessary to get read in ftp_done().
1396 1396
 
1397 1397
 Daniel Stenberg (19 Feb 2009)
1398
-- Patrik Thunstrom reported a problem and helped me repeat it. It turned out 
1398
+- Patrik Thunstrom reported a problem and helped me repeat it. It turned out
1399 1399
   libcurl did a superfluous 1000ms wait when doing SFTP downloads!
1400 1400
 
1401 1401
   We read data with libssh2 while doing the "DO" operation for SFTP and then
@@ -1525,7 +1525,7 @@ Daniel Stenberg (26 Jan 2009)
1525 1525
 
1526 1526
 - Alexey Borzov filed bug report #2535504
1527 1527
   (http://curl.haxx.se/bug/view.cgi?id=2535504) pointing out that realms with
1528
-  quoted quotation marks in HTTP Digest headers didn't work. I've now added 
1528
+  quoted quotation marks in HTTP Digest headers didn't work. I've now added
1529 1529
   test case 1095 that verifies my fix.
1530 1530
 
1531 1531
 - Craig A West brought CURLOPT_NOPROXY and the corresponding --noproxy option.
@@ -1676,7 +1676,7 @@ Daniel Stenberg (29 Dec 2008)
1676 1676
 Daniel Stenberg (28 Dec 2008)
1677 1677
 - Peter Korsgaard fixed building libcurl with "configure --with-ssl
1678 1678
   --disable-verbose".
1679
-  
1679
+
1680 1680
 - Anthony Bryan fixed more language and spelling flaws in man pages.
1681 1681
 
1682 1682
 Daniel Stenberg (22 Dec 2008)

+ 57
- 57
CHANGES.0 View File

@@ -2022,14 +2022,14 @@ Daniel S (22 October 2007)
2022 2022
        at connection cleanup, at which time the struct HandleData could be
2023 2023
        used by another connection.
2024 2024
        Also, the unused char *urlpath member is removed from struct FTP.
2025
- 
2025
+
2026 2026
   #2 - provide a Curl_reset_reqproto() function that frees
2027 2027
        data->reqdata.proto.* on connection setup if needed (that is if the
2028 2028
        SessionHandle was used by a different connection).
2029 2029
 
2030 2030
   A long-term goal is of course to somehow get rid of how the reqdata struct
2031 2031
   is used, as it is too error-prone.
2032
- 
2032
+
2033 2033
 - Bug report #1815530 (http://curl.haxx.se/bug/view.cgi?id=1815530) points out
2034 2034
   that specifying a proxy with a trailing slash didn't work (unless it also
2035 2035
   contained a port number).
@@ -2125,7 +2125,7 @@ Daniel S (26 September 2007)
2125 2125
   method to GET in the subsequent request (like it does for response code 302
2126 2126
   - because that's what many/most browsers do), but with this CURLOPT_POST301
2127 2127
   option enabled it will do what the spec says and do the next request using
2128
-  the same method again. I.e keep POST after 301. 
2128
+  the same method again. I.e keep POST after 301.
2129 2129
 
2130 2130
   The curl tool got this option as --post301
2131 2131
 
@@ -2272,11 +2272,11 @@ Dan F (30 August 2007)
2272 2272
     CURLE_FTP_QUOTE_ERROR =>        CURLE_QUOTE_ERROR
2273 2273
     CURLE_TFTP_DISKFULL =>          CURLE_REMOTE_DISK_FULL
2274 2274
     CURLE_TFTP_EXISTS =>            CURLE_REMOTE_FILE_EXISTS
2275
-    CURLE_HTTP_RANGE_ERROR =>       CURLE_RANGE_ERROR 
2275
+    CURLE_HTTP_RANGE_ERROR =>       CURLE_RANGE_ERROR
2276 2276
 
2277 2277
   The following options were renamed:
2278 2278
 
2279
-    CURLOPT_SSLKEYPASSWD => CURLOPT_KEYPASSWD 
2279
+    CURLOPT_SSLKEYPASSWD => CURLOPT_KEYPASSWD
2280 2280
     CURLOPT_FTPAPPEND =>    CURLOPT_APPEND
2281 2281
     CURLOPT_FTPLISTONLY =>  CURLOPT_DIRLISTONLY
2282 2282
     CURLOPT_FTP_SSL =>      CURLOPT_USE_SSL
@@ -2552,7 +2552,7 @@ James H (5 July 2007)
2552 2552
 Daniel S (1 July 2007)
2553 2553
 - Thomas J. Moore provided a patch that introduces Kerberos5 support in
2554 2554
   libcurl. This also makes the options change name to --krb (from --krb4) and
2555
-  CURLOPT_KRBLEVEL (from CURLOPT_KRB4LEVEL) but the old names are still 
2555
+  CURLOPT_KRBLEVEL (from CURLOPT_KRB4LEVEL) but the old names are still
2556 2556
 
2557 2557
 - Song Ma helped me verify and extend a fix for doing FTP over a SOCKS4/5
2558 2558
   proxy.
@@ -2581,7 +2581,7 @@ Daniel S (25 June 2007)
2581 2581
   chunked encoding (that also lacks "Connection: close"). It now simply
2582 2582
   assumes that the connection WILL be closed to signal the end, as that is how
2583 2583
   RFC2616 section 4.4 point #5 says we should behave.
2584
-  
2584
+
2585 2585
 Version 7.16.3 (25 June 2007)
2586 2586
 
2587 2587
 Daniel S (23 June 2007)
@@ -2595,7 +2595,7 @@ Daniel S (21 June 2007)
2595 2595
 - Gerrit Bruchhäuser pointed out a warning that the Intel(R) Thread Checker
2596 2596
   tool reports and it was indeed a legitimate one and it is one fixed. It was
2597 2597
   a use of a share without doing the proper locking first.
2598
-  
2598
+
2599 2599
 Daniel S (20 June 2007)
2600 2600
 - Adam Piggott filed bug report #1740263
2601 2601
   (http://curl.haxx.se/bug/view.cgi?id=1740263). Adam discovered that when
@@ -2712,7 +2712,7 @@ Daniel S (24 May 2007)
2712 2712
 - Song Ma filed bug report #1724016
2713 2713
   (http://curl.haxx.se/bug/view.cgi?id=1724016) noticing that downloading
2714 2714
   glob-ranges for TFTP was broken in CVS. Fixed now.
2715
-  
2715
+
2716 2716
 - 'mytx' in bug report #1723194 (http://curl.haxx.se/bug/view.cgi?id=1723194)
2717 2717
   pointed out that the warnf() function in the curl tool didn't properly deal
2718 2718
   with the cases when excessively long words were used in the string to chop
@@ -3012,7 +3012,7 @@ Yang Tse (20 March 2007)
3012 3012
 Yang Tse (19 March 2007)
3013 3013
 - Bryan Henderson fixed the progress function so that it can get called more
3014 3014
   frequently allowing same calling frecuency for the client progress callback.
3015
-  
3015
+
3016 3016
 Dan F (15 March 2007)
3017 3017
 - Various memory leaks plugged and NULL pointer fixes made in the ssh code.
3018 3018
 
@@ -3090,11 +3090,11 @@ Daniel (27 February 2007)
3090 3090
   server through a proxy and have the remote https server port set using the
3091 3091
   CURLOPT_PORT option, protocol gets reset to http from https after the first
3092 3092
   request.
3093
- 
3093
+
3094 3094
   User defined URL was modified internally by libcurl and subsequent reuse of
3095 3095
   the easy handle may lead to connection using a different protocol (if not
3096 3096
   originally http).
3097
- 
3097
+
3098 3098
   I found that libcurl hardcoded the protocol to "http" when it tries to
3099 3099
   regenerate the URL if CURLOPT_PORT is set. I tried to fix the problem as
3100 3100
   follows and it's working fine so far
@@ -3179,7 +3179,7 @@ Daniel (12 February 2007)
3179 3179
 - release tarballs made with maketgz will from now on have a LIBCURL_TIMESTAMP
3180 3180
   define set to hold the exact date and time of when the tarball was built, as
3181 3181
   a human readable string using the UTC time zone.
3182
-  
3182
+
3183 3183
 - Jeff Pohlmeyer fixed a flaw in curl_multi_add_handle() when adding a handle
3184 3184
   that has an easy handle present in the "closure" list pending closure.
3185 3185
 
@@ -3703,7 +3703,7 @@ Daniel (6 September 2006)
3703 3703
   an FTP connection.
3704 3704
 
3705 3705
   This is a major change.
3706
-  
3706
+
3707 3707
 Daniel (4 September 2006)
3708 3708
 - Dmitry Rechkin (http://curl.haxx.se/bug/view.cgi?id=1551412) provided a
3709 3709
   patch that while not fixing things very nicely, it does make the SOCKS5
@@ -4433,7 +4433,7 @@ Daniel (6 December 2005)
4433 4433
   given a too long URL.
4434 4434
 
4435 4435
   These overflows happen if you
4436
- 
4436
+
4437 4437
   1 - pass in a URL with no protocol (like "http://") prefix, using no slash
4438 4438
       and the string is 256 bytes or longer. This leads to a single zero byte
4439 4439
       overflow of the malloced buffer.
@@ -4900,7 +4900,7 @@ Daniel (6 June 2005)
4900 4900
   executable, while is just a local directory (I have . in the PATH)
4901 4901
 
4902 4902
   2) I got several warning for head -1 deprecated in favour of head -n 1
4903
- 
4903
+
4904 4904
   3) ares directory is missing some file (missing is missing :-) ) because
4905 4905
   automake and friends is not run.
4906 4906
 
@@ -4987,7 +4987,7 @@ Version 7.14.0-pre2 (11 May 2005)
4987 4987
 Daniel (11 May 2005)
4988 4988
 - Starting now, libcurl sends a little different set of headers in its default
4989 4989
   HTTP requests:
4990
-  
4990
+
4991 4991
   A) Normal non-proxy HTTP:
4992 4992
     - no more "Pragma: no-cache" (this only makes sense to proxies)
4993 4993
 
@@ -8083,7 +8083,7 @@ Version 7.10.8-pre1 (8 September 2003)
8083 8083
 Daniel (7 September)
8084 8084
 - Jurij Smakov found out that the non-OpenSSL MD5 code was not working on
8085 8085
   Alpha (or ia64). Only the OpenSSL-version did. I made a fix I think corrects
8086
-  the problem. 
8086
+  the problem.
8087 8087
 
8088 8088
 Daniel (5 September)
8089 8089
 - Kevin Fisk reported that configure --enable-thread didn't work. I fixed.
@@ -8102,7 +8102,7 @@ Early (4 September)
8102 8102
     - include/curl/curl.h
8103 8103
         Added option CURLOPT_FTP_RESPONSE_TIMEOUT
8104 8104
     - lib/ftp.c
8105
-        Added branch inside Curl_GetFTPResponse to check for 
8105
+        Added branch inside Curl_GetFTPResponse to check for
8106 8106
         data->set.ftp_response_timeout
8107 8107
     - lib/url.c
8108 8108
         Modified Curl_setopt to recognize CURLOPT_FTP_RESPONSE_TIMEOUT
@@ -8264,7 +8264,7 @@ Early (6 August)
8264 8264
 - Added option CURLOPT_FTP_CREATE_MISSING_DIRS
8265 8265
     This option will force the target file's path to be created if it
8266 8266
     does not already exist on the remote system.
8267
- 
8267
+
8268 8268
   Files affected:
8269 8269
     - include/curl/curl.h
8270 8270
         Added option CURLOPT_FTP_CREATE_MISSING_DIRS
@@ -8276,12 +8276,12 @@ Early (6 August)
8276 8276
         Modified ftp_perform() to call its change directory function
8277 8277
           through a pointer.  The pointer points to ftp_cwd by default,
8278 8278
           and is modified to point to ftp_force_cwd IFF
8279
-          data->set.ftp_create_missing_dirs is not 0.        
8279
+          data->set.ftp_create_missing_dirs is not 0.
8280 8280
     - lib/url.c
8281 8281
         Modified Curl_setopt to recognize CURLOPT_FTP_CREATE_MISSING_DIRS
8282 8282
     - lib/urldata.h
8283 8283
         Added ftp_create_missing_dirs to struct UserDefined
8284
-       
8284
+
8285 8285
 - Minor Bugfix for CURLOPT_TIMECONDITION with FTP - if the file was not
8286 8286
   present to do the time comparison, it would fail.
8287 8287
   Files affected:
@@ -8292,9 +8292,9 @@ Early (6 August)
8292 8292
             return result;
8293 8293
         And then by the code that actually did the time comparison.
8294 8294
         The code that did the comparison handled the case where the filetime
8295
-        was not available (as indicated by info.filetime < 0 or set.timevalue 
8295
+        was not available (as indicated by info.filetime < 0 or set.timevalue
8296 8296
         < 0), so I replaced the if (result) return result with a switch(result)
8297
-        that allows CURLE_FTP_COULDNT_RETR_FILE to fall through to the 
8297
+        that allows CURLE_FTP_COULDNT_RETR_FILE to fall through to the
8298 8298
         normal time comparison.
8299 8299
 
8300 8300
 Daniel (3 August)
@@ -8491,7 +8491,7 @@ Daniel (16 June)
8491 8491
 
8492 8492
 - I remade the HTTP Digest code to use the MD5-code provided by OpenSSL if
8493 8493
   that is present, and only use our own MD5-code if it isn't.
8494
-  
8494
+
8495 8495
 Daniel (13 June)
8496 8496
 - More NTLM help, fixes and patches from Cris Bailiff.
8497 8497
 
@@ -9112,7 +9112,7 @@ Version 7.10.3-pre5 (9 Jan 2003)
9112 9112
 Daniel (9 Jan 2003)
9113 9113
 - Fixed tests/memanalyze.pl to work with file names that contain colons (as on
9114 9114
   Windows).
9115
-  
9115
+
9116 9116
 - Kjetil Jacobsen quickly pointed out that lib/share.h was missing...
9117 9117
 
9118 9118
 Version 7.10.3-pre4 (9 Jan 2003)
@@ -9404,7 +9404,7 @@ Daniel (21 Oct 2002)
9404 9404
 - Albert Chin helped me get the -no-undefined option corrected in
9405 9405
   lib/Makefile.am since Cygwin builds want it there while Solaris builds don't
9406 9406
   want it present. Kevin Roth helped me try it out on cygwin.
9407
-  
9407
+
9408 9408
 - Nikita Schmidt provided a bug fix for a FOLLOWLOCATION bug introduced when
9409 9409
   the ../ support got in (7.10.1).
9410 9410
 
@@ -9648,7 +9648,7 @@ Daniel (9 Aug 2002)
9648 9648
   signals to get sent. This is basicly for multi-threaded applications that
9649 9649
   now can use timeouts properly, without risking any signals to burst in and
9650 9650
   ruin the party.
9651
-  
9651
+
9652 9652
 Daniel (5 Aug 2002)
9653 9653
 - Lukasz Czekierda reported that RFC2732-style literal IPv6 addresses didn't
9654 9654
   work. When did that code vanish? Anyway, it's back again now and seems to
@@ -9737,7 +9737,7 @@ Daniel (12 Jun 2002)
9737 9737
   CURLFORM_BUFFERPTR, CURLFORM_BUFFERLENGTH.  They are used to create a
9738 9738
   multipart that appears as a regular file upload, but the data is provided
9739 9739
   with a pointer and length.
9740
-  
9740
+
9741 9741
 - Nico Baggus made the VMS version use sigsetjmp() too.
9742 9742
 
9743 9743
 - Jörn Hartroth fixed the mingw32 build using the mm lib.
@@ -10564,7 +10564,7 @@ Daniel (16 January 2002)
10564 10564
   function for version information. This way, curl will report the version of
10565 10565
   the SSL library actually running right now, not the one that had its headers
10566 10566
   installed when libcurl was built. Mainly intersting when running with shared
10567
-  OpenSSL libraries.  
10567
+  OpenSSL libraries.
10568 10568
 
10569 10569
 Version 7.9.3-pre2
10570 10570
 
@@ -10947,7 +10947,7 @@ Daniel (8 November 2001)
10947 10947
   gethostbyname_r() but can't figure out how to use it, and it should really
10948 10948
   figure out how to use it as it was running Linux and we know how that
10949 10949
   works...
10950
- 
10950
+
10951 10951
 Daniel (7 November 2001)
10952 10952
 - docs/VERSIONS is a new file in the archive that explains the version number
10953 10953
   system we use in the curl project.
@@ -11325,7 +11325,7 @@ Daniel (3 September 2001)
11325 11325
 - Installed libtool 1.4.1, libtoolized and everything.
11326 11326
 
11327 11327
 Daniel (1 September 2001)
11328
-- Heikki Korpela pointed out that I did not ship the proper libtool stuff in 
11328
+- Heikki Korpela pointed out that I did not ship the proper libtool stuff in
11329 11329
   the pre-releases, even though that was my intention. libtoolize has now
11330 11330
   been re-run.
11331 11331
 
@@ -11832,7 +11832,7 @@ Daniel (11 May 2001)
11832 11832
   another one.
11833 11833
 
11834 11834
 - Ingo Wilken patched away two redirect problems more!
11835
-  
11835
+
11836 11836
 Daniel (10 May 2001)
11837 11837
 - Cris Bailiff correctly noted that the space-after-header problem with
11838 11838
   Location: is present on several other places in the libcurl sources.
@@ -11851,7 +11851,7 @@ Daniel (9 May 2001)
11851 11851
 
11852 11852
 - stunnel.pm was accidentally left out from the release archive, it is now
11853 11853
   added (stunnel is needed to run the https-tests in the test suite)
11854
-  
11854
+
11855 11855
 Daniel (7 May 2001)
11856 11856
 - Corrected two minor compiler warnings due to the FILE * to void * conversion
11857 11857
   that I missed at two places. Jörn Hartroth brought me patches. Sander Gates
@@ -12445,7 +12445,7 @@ Daniel (29 January 2001)
12445 12445
 Version 7.6.1-pre1
12446 12446
 
12447 12447
 Daniel (29 January 2001)
12448
-- Yet another Content-Range change. Ok now? Bob Schader checks from his end 
12448
+- Yet another Content-Range change. Ok now? Bob Schader checks from his end
12449 12449
   and it works for him.
12450 12450
 
12451 12451
 Daniel (27 January 2001)
@@ -12817,7 +12817,7 @@ Daniel (13 November 2000)
12817 12817
 - While writing test cases for the test suite, I discovered an old limitation
12818 12818
   that prevented -o and -T to be used at the same time. I removed this
12819 12819
   immediately as this has no relevance in the current libcurl.
12820
-  
12820
+
12821 12821
 - Chris Faherty fixed a free-twice problem in lib/file.c
12822 12822
 
12823 12823
 - I fixed the perl http server problem in the test suite.
@@ -12840,7 +12840,7 @@ Daniel (10 November 2000)
12840 12840
 
12841 12841
 - Angus Mackay's getpass_r() in lib/getpass.c is now compliant with the
12842 12842
   getpass_r() function it seems some systems actually have.
12843
-  
12843
+
12844 12844
 - Venkataramana Mokkapati detected a bug in the cookie parser and corrected
12845 12845
   it.  If the cookie was set for the full host name (domain=full.host.com),
12846 12846
   the cookie was never sent back because of a faulty length comparison between
@@ -12851,7 +12851,7 @@ Daniel (9 November 2000)
12851 12851
   it). Added a check for RSAglue/rsaref for the cases where libcrypto is found
12852 12852
   but libssl isn't. I haven't verified this fix yet though, as I have no
12853 12853
   system that requires those libs to build.
12854
-  
12854
+
12855 12855
 Version 7.4.2 pre3
12856 12856
 
12857 12857
 Daniel (7 November 2000)
@@ -12869,7 +12869,7 @@ Daniel (6 November 2000)
12869 12869
 - Emmanuel Tychon discovered that curl didn't really like user names only in
12870 12870
   the URL. I corrected this and I also fixed the since long living problem
12871 12871
   with URL encoded user names and passwords in the URLs. They should work now.
12872
-  
12872
+
12873 12873
 Daniel (2 November 2000)
12874 12874
 - When I added --interface, the new error code that was added with it was
12875 12875
   inserted in the wrong place and thus all error codes from 35 and upwards got
@@ -12896,7 +12896,7 @@ Daniel (30 October 2000)
12896 12896
   and then use the CURLOPT_CAINFO to set the certificate to verify the remote
12897 12897
   peer against. After an such an operation with a verification request, the
12898 12898
   *_getinfo() option CURLINFO_SSL_VERIFYRESULT will return information about
12899
-  whether the verification succeeded or not.  
12899
+  whether the verification succeeded or not.
12900 12900
 
12901 12901
 Daniel (27 October 2000)
12902 12902
 - Georg Horn brought us a splendid patch that solves the long-standing
@@ -12911,7 +12911,7 @@ Daniel (26 October 2000)
12911 12911
   getpass() function (now known as my_getpass()) was also fixed to not use any
12912 12912
   static buffers. This also means we cannot use the "standard" getpass()
12913 12913
   function even for those systems that have it, since it isn't thread-safe.
12914
-  
12914
+
12915 12915
 - Kevin Roth found out that if you'd write a config file with '-v url', the
12916 12916
   url would not be used as "default URL" as documented, although if you wrote
12917 12917
   it 'url -v' it worked! This has been corrected now.
@@ -12939,7 +12939,7 @@ Daniel (23 October 2000)
12939 12939
   -u or -U flags (CURLOPT_USERPWD and CURLOPT_PROXYUSERPWD). This also
12940 12940
   suggests that curl probably should url-decode the password piece of an URL
12941 12941
   so that you could pass an encoded @-letter there...
12942
-  
12942
+
12943 12943
 Daniel (20 October 2000)
12944 12944
 - Yet another http server barfed on curl's request that include the port
12945 12945
   number in the Host: header always. I now only include the port number if it
@@ -12953,7 +12953,7 @@ Daniel (17 October 2000)
12953 12953
 - Vladimir Oblomov reported that the -Y and -y options didn't work. They
12954 12954
   didn't work for me either. This once again proves we should have that test
12955 12955
   suite...
12956
-  
12956
+
12957 12957
 - I finally changed the error message libcurl returns if you try a https://
12958 12958
   URL when the library wasn't build with SSL enabled. It will now return this
12959 12959
   error:
@@ -13046,7 +13046,7 @@ Daniel (4 October 2000)
13046 13046
   as is the -w section in curl.1. I added two options to enable the user to
13047 13047
   get information about the received headers' size and the size of the HTTP
13048 13048
   request. T. Bharath requested them.
13049
-  
13049
+
13050 13050
 Daniel (3 October 2000)
13051 13051
 - Corrected a sever free() before use in the new add_buffer_send()! ;-)
13052 13052
 
@@ -13073,7 +13073,7 @@ Daniel (2 October 2000)
13073 13073
   start with. If curl's average upload speed is faster than buffer size bytes
13074 13074
   per second, curl will increase the used buffer size up to max 50Kb. It
13075 13075
   should make the progress meter work better.
13076
-  
13076
+
13077 13077
 Version 7.4 pre1
13078 13078
 
13079 13079
 Daniel (29 September 2000)
@@ -13103,7 +13103,7 @@ Daniel (26 September 2000)
13103 13103
 
13104 13104
 - I changed the OpenSSL fix to work with older versions as well. The posted
13105 13105
   patch was only working with 0.9.6 and no older ones.
13106
-  
13106
+
13107 13107
 Version 7.3-pre8
13108 13108
 
13109 13109
 Daniel (25 September 2000)
@@ -13190,7 +13190,7 @@ Daniel (15 September 2000)
13190 13190
 - Kai-Uwe Rommel pointed out a problem in the httpproxytunnel stuff for ftp.
13191 13191
   Adjusted it. Added better info message when setting up the tunnel and the
13192 13192
   pasv message when doing the second connect.
13193
-  
13193
+
13194 13194
 Version 7.3pre1
13195 13195
 
13196 13196
 Daniel (15 September 2000)
@@ -13199,7 +13199,7 @@ Daniel (15 September 2000)
13199 13199
 
13200 13200
 - TheArtOfHTTPScripting was corrected all over. I both type and spell really
13201 13201
   bad at times!
13202
-  
13202
+
13203 13203
 Daniel (14 September 2000)
13204 13204
 - -p/--proxytunnel was added to 'curl'. It uses the new
13205 13205
   CURLOPT_HTTPPROXYTUNNEL libcurl option that allows "any" protocol to tunnel
@@ -14364,7 +14364,7 @@ Version 5.10
14364 14364
  Troy (12 August 1999)
14365 14365
  - Added MingW32 (GCC-2.95) support under Win32. The INSTALL file was also
14366 14366
    a bit rearranged.
14367
- 
14367
+
14368 14368
  Daniel (12 August 1999)
14369 14369
  - I had to copy a good <arpa/telnet.h> include file into the curl source
14370 14370
    tree to enable the silly win32 systems to compile. The distribution rights
@@ -14436,7 +14436,7 @@ Version 5.10
14436 14436
 
14437 14437
  Daniel (2 August 1999)
14438 14438
  - Applied a progress-bar patch from Lars J. Aas. It offers
14439
-   a new styled progress bar enabled with -#/--progress-bar. 
14439
+   a new styled progress bar enabled with -#/--progress-bar.
14440 14440
 
14441 14441
  T. Yamada <tai at imasy.or.jp> (30 July 1999)
14442 14442
  - It breaks with segfault when 1) curl is using .netrc to obtain
@@ -14662,7 +14662,7 @@ Version 5.6.3beta
14662 14662
    start. The fix dated April 6 and posted on the mailing list forced curl to
14663 14663
    use v2 at all times using a modern OpenSSL version, but we don't really
14664 14664
    want such a crippled solution.
14665
- 
14665
+
14666 14666
  - Marc Boucher sent me a patch that corrected a math error for the
14667 14667
    "Curr.Speed" progress meter.
14668 14668
 
@@ -15074,7 +15074,7 @@ Version 5.0 beta 21
15074 15074
  - Ok, I expanded the tgz-target to update the version string on each occation
15075 15075
    I build a release archive!
15076 15076
  - I reacted on Angus Mackay's initiative and remade the parameter parser to
15077
-   be more getopt compliant. Curl now supports "merged" flags as in 
15077
+   be more getopt compliant. Curl now supports "merged" flags as in
15078 15078
 	curl -lsv ftp.site.com
15079 15079
    Do note that I had to move three short-names of the options. Parameters
15080 15080
    that needs an additional string such as -x must be stand-alone or the
@@ -15296,7 +15296,7 @@ Version 4.5.1
15296 15296
  - SSL through proxy fix
15297 15297
  - Added -A to allow User-Agent: changes
15298 15298
 
15299
- Daniel Stenberg 
15299
+ Daniel Stenberg
15300 15300
  - Made the -A work when SSL-through-proxy.
15301 15301
 
15302 15302
 Version 4.5
@@ -15416,7 +15416,7 @@ Version 3.2
15416 15416
  Daniel Stenberg
15417 15417
  - Major rewrite of two crucial parts of this code: upload and download.
15418 15418
    They are both now using a select() switch, that allows much better
15419
-   progress meter and time control. 
15419
+   progress meter and time control.
15420 15420
  - alarm() usage removed completely
15421 15421
  - FTP get can now list directory contents if the path ends with a slash '/'.
15422 15422
    Urlget on a ftp-path that doesn't end with a slash means urlget will
@@ -15459,7 +15459,7 @@ Version 2.9
15459 15459
  Remco van Hooff
15460 15460
  - Added a fix to make it compile smoothly on Amiga using the SAS/C
15461 15461
    compiler.
15462
-  
15462
+
15463 15463
  Daniel Stenberg
15464 15464
  - Believe it or not, but the STUPID Novell web server seems to require
15465 15465
    that the Host: keyword is used, so well I use it and I (re-introduce) the
@@ -15477,7 +15477,7 @@ Version 2.7
15477 15477
    fetch multipart files like that.
15478 15478
  - '-f' is introduced, it means Fail without output in case of HTTP server
15479 15479
    errors (return code >=300).
15480
- - Added support for -r, ranges. Specify which part of a document you 
15480
+ - Added support for -r, ranges. Specify which part of a document you
15481 15481
    want, and only that part is returned. Only with HTTP/1.1-servers.
15482 15482
  - Split up the source in 3 parts. Now all pure URL functions are in
15483 15483
    urlget.c and stuff that deals with the stand-alone program is in main.c.
@@ -15545,7 +15545,7 @@ Version 2.2
15545 15545
  Johan Andersson
15546 15546
  - The urlget function didn't set the path to url when using proxy.
15547 15547
  - Fixed bug with IMC proxy. Now using (almost) complete GET command.
15548
-  
15548
+
15549 15549
  Daniel Stenberg
15550 15550
  - Made it compile on Solaris. Had to reorganize the includes a bit.
15551 15551
    (so Win32, Linux, SunOS 4 and Solaris 2 compile fine.)

+ 7
- 7
CMake/CheckTypeSize.cmake View File

@@ -11,11 +11,11 @@ macro(CHECK_TYPE_SIZE TYPE VARIABLE)
11 11
   if(NOT DEFINED ${VARIABLE})
12 12
     if("HAVE_${VARIABLE}" MATCHES "^HAVE_${VARIABLE}$")
13 13
       set(CHECK_TYPE_SIZE_TYPE "${TYPE}")
14
-      set(MACRO_CHECK_TYPE_SIZE_FLAGS 
14
+      set(MACRO_CHECK_TYPE_SIZE_FLAGS
15 15
         "${CMAKE_REQUIRED_FLAGS}")
16 16
       foreach(def HAVE_SYS_TYPES_H HAVE_STDINT_H HAVE_STDDEF_H)
17 17
         if("${def}")
18
-          set(MACRO_CHECK_TYPE_SIZE_FLAGS 
18
+          set(MACRO_CHECK_TYPE_SIZE_FLAGS
19 19
             "${MACRO_CHECK_TYPE_SIZE_FLAGS} -D${def}")
20 20
         endif("${def}")
21 21
       endforeach(def)
@@ -25,14 +25,14 @@ macro(CHECK_TYPE_SIZE TYPE VARIABLE)
25 25
       endforeach(def)
26 26
       configure_file(
27 27
         "${CMAKE_CURRENT_SOURCE_DIR}/CMake/CheckTypeSize.c.in"
28
-        "${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeTmp/CheckTypeSize.c" 
28
+        "${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeTmp/CheckTypeSize.c"
29 29
         IMMEDIATE @ONLY)
30
-      file(READ 
30
+      file(READ
31 31
         "${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeTmp/CheckTypeSize.c"
32 32
         CHECK_TYPE_SIZE_FILE_CONTENT)
33 33
       message(STATUS "Check size of ${TYPE}")
34 34
       if(CMAKE_REQUIRED_LIBRARIES)
35
-        set(CHECK_TYPE_SIZE_ADD_LIBRARIES 
35
+        set(CHECK_TYPE_SIZE_ADD_LIBRARIES
36 36
           "-DLINK_LIBRARIES:STRING=${CMAKE_REQUIRED_LIBRARIES}")
37 37
       endif(CMAKE_REQUIRED_LIBRARIES)
38 38
       try_run(${VARIABLE} HAVE_${VARIABLE}
@@ -43,11 +43,11 @@ macro(CHECK_TYPE_SIZE TYPE VARIABLE)
43 43
         OUTPUT_VARIABLE OUTPUT)
44 44
       if(HAVE_${VARIABLE})
45 45
         message(STATUS "Check size of ${TYPE} - done")
46
-        file(APPEND ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeOutput.log 
46
+        file(APPEND ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeOutput.log
47 47
           "Determining size of ${TYPE} passed with the following output:\n${OUTPUT}\n\n")
48 48
       else(HAVE_${VARIABLE})
49 49
         message(STATUS "Check size of ${TYPE} - failed")
50
-        file(APPEND ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeError.log 
50
+        file(APPEND ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeError.log
51 51
           "Determining size of ${TYPE} failed with the following output:\n${OUTPUT}\nCheckTypeSize.c:\n${CHECK_TYPE_SIZE_FILE_CONTENT}\n\n")
52 52
       endif(HAVE_${VARIABLE})
53 53
     endif("HAVE_${VARIABLE}" MATCHES "^HAVE_${VARIABLE}$")

+ 1
- 1
CMake/CurlTests.c View File

@@ -1,6 +1,6 @@
1 1
 #ifdef TIME_WITH_SYS_TIME
2 2
 /* Time with sys/time test */
3
- 
3
+
4 4
 #include <sys/types.h>
5 5
 #include <sys/time.h>
6 6
 #include <time.h>

+ 4
- 4
CMake/OtherTests.cmake View File

@@ -68,7 +68,7 @@ if(curl_cv_recv)
68 68
           endforeach(recv_arg3)
69 69
         endforeach(recv_arg2)
70 70
       endforeach(recv_arg1)
71
-    endforeach(recv_retv) 
71
+    endforeach(recv_retv)
72 72
   else(NOT DEFINED curl_cv_func_recv_args OR "${curl_cv_func_recv_args}" STREQUAL "unknown")
73 73
     string(REGEX REPLACE "^([^,]*),[^,]*,[^,]*,[^,]*,[^,]*$" "\\1" RECV_TYPE_ARG1 "${curl_cv_func_recv_args}")
74 74
     string(REGEX REPLACE "^[^,]*,([^,]*),[^,]*,[^,]*,[^,]*$" "\\1" RECV_TYPE_ARG2 "${curl_cv_func_recv_args}")
@@ -81,7 +81,7 @@ if(curl_cv_recv)
81 81
     #MESSAGE("RECV_TYPE_ARG4 ${RECV_TYPE_ARG4}")
82 82
     #MESSAGE("RECV_TYPE_RETV ${RECV_TYPE_RETV}")
83 83
   endif(NOT DEFINED curl_cv_func_recv_args OR "${curl_cv_func_recv_args}" STREQUAL "unknown")
84
-  
84
+
85 85
   if("${curl_cv_func_recv_args}" STREQUAL "unknown")
86 86
     message(FATAL_ERROR "Cannot find proper types to use for recv args")
87 87
   endif("${curl_cv_func_recv_args}" STREQUAL "unknown")
@@ -134,7 +134,7 @@ if(curl_cv_send)
134 134
           endforeach(send_arg3)
135 135
         endforeach(send_arg2)
136 136
       endforeach(send_arg1)
137
-    endforeach(send_retv) 
137
+    endforeach(send_retv)
138 138
   else(NOT DEFINED curl_cv_func_send_args OR "${curl_cv_func_send_args}" STREQUAL "unknown")
139 139
     string(REGEX REPLACE "^([^,]*),[^,]*,[^,]*,[^,]*,[^,]*,[^,]*$" "\\1" SEND_TYPE_ARG1 "${curl_cv_func_send_args}")
140 140
     string(REGEX REPLACE "^[^,]*,([^,]*),[^,]*,[^,]*,[^,]*,[^,]*$" "\\1" SEND_TYPE_ARG2 "${curl_cv_func_send_args}")
@@ -149,7 +149,7 @@ if(curl_cv_send)
149 149
     #MESSAGE("SEND_TYPE_RETV ${SEND_TYPE_RETV}")
150 150
     #MESSAGE("SEND_QUAL_ARG2 ${SEND_QUAL_ARG2}")
151 151
   endif(NOT DEFINED curl_cv_func_send_args OR "${curl_cv_func_send_args}" STREQUAL "unknown")
152
-  
152
+
153 153
   if("${curl_cv_func_send_args}" STREQUAL "unknown")
154 154
     message(FATAL_ERROR "Cannot find proper types to use for send args")
155 155
   endif("${curl_cv_func_send_args}" STREQUAL "unknown")

+ 4
- 4
CVS-INFO View File

@@ -1,7 +1,7 @@
1
-                                  _   _ ____  _     
2
-                              ___| | | |  _ \| |    
3
-                             / __| | | | |_) | |    
4
-                            | (__| |_| |  _ <| |___ 
1
+                                  _   _ ____  _
2
+                              ___| | | |  _ \| |
3
+                             / __| | | | |_) | |
4
+                            | (__| |_| |  _ <| |___
5 5
                              \___|\___/|_| \_\_____|
6 6
 
7 7
 CVS-INFO

+ 7
- 7
MacOSX-Framework View File

@@ -1,5 +1,5 @@
1 1
 #!/bin/bash
2
-# This script performs all of the steps needed to build a 
2
+# This script performs all of the steps needed to build a
3 3
 # universal binary libcurl.framework for Mac OS X 10.4 or greater.
4 4
 
5 5
 VERSION=`/usr/bin/sed -ne 's/^#define LIBCURL_VERSION "\(.*\)"/\1/p' include/curl/curlver.h`
@@ -22,10 +22,10 @@ if test -d $SDK32; then
22 22
     CFLAGS="-Os -isysroot $SDK32 $ARCHES32 $MINVER32" \
23 23
     LDFLAGS="-Wl,-syslibroot,$SDK32 $ARCHES32 $MINVER32 -Wl,-headerpad_max_install_names" \
24 24
     CC=$CC
25
-  
25
+
26 26
   echo "----Building 32 bit libcurl..."
27 27
   make
28
-  
28
+
29 29
   echo "----Creating 32 bit framework..."
30 30
   rm -r libcurl.framework
31 31
   mkdir -p libcurl.framework/Versions/A/Resources
@@ -40,7 +40,7 @@ if test -d $SDK32; then
40 40
   ln -fs Versions/A/Headers Headers
41 41
   cd Versions
42 42
   ln -fs A Current
43
-  
43
+
44 44
   if test -d $SDK64; then
45 45
     popd
46 46
     make clean
@@ -49,10 +49,10 @@ if test -d $SDK32; then
49 49
       CFLAGS="-Os -isysroot $SDK64 $ARCHES64 $MINVER64" \
50 50
       LDFLAGS="-Wl,-syslibroot,$SDK64 $ARCHES64 $MINVER64 -Wl,-headerpad_max_install_names" \
51 51
       CC=$CC
52
-  
52
+
53 53
     echo "----Building 64 bit libcurl..."
54 54
     make
55
-  
55
+
56 56
     echo "----Appending 64 bit framework to 32 bit framework..."
57 57
     cp lib/.libs/libcurl.dylib libcurl.framework/Versions/A/libcurl64
58 58
     install_name_tool -id @executable_path/../Frameworks/libcurl.framework/Versions/A/libcurl libcurl.framework/Versions/A/libcurl64
@@ -69,7 +69,7 @@ if test -d $SDK32; then
69 69
 #endif
70 70
 EOF
71 71
   fi
72
-  
72
+
73 73
   lipo -info libcurl.framework/Versions/A/libcurl
74 74
   echo "libcurl.framework is built and can now be included in other projects."
75 75
   echo "Copy libcurl.framework to your bundle's Contents/Frameworks folder, ~/Library/Frameworks or /Library/Frameworks."

+ 32
- 32
acinclude.m4 View File

@@ -5,7 +5,7 @@
5 5
 #                            | (__| |_| |  _ <| |___
6 6
 #                             \___|\___/|_| \_\_____|
7 7
 #
8
-# Copyright (C) 1998 - 2009, Daniel Stenberg, <daniel@haxx.se>, et al.
8
+# Copyright (C) 1998 - 2010, Daniel Stenberg, <daniel@haxx.se>, et al.
9 9
 #
10 10
 # This software is licensed as described in the file COPYING, which
11 11
 # you should have received as part of this distribution. The terms
@@ -167,7 +167,7 @@ AC_DEFUN([CURL_CHECK_AIX_ALL_SOURCE], [
167 167
 
168 168
 dnl CURL_CHECK_HEADER_WINDOWS
169 169
 dnl -------------------------------------------------
170
-dnl Check for compilable and valid windows.h header 
170
+dnl Check for compilable and valid windows.h header
171 171
 
172 172
 AC_DEFUN([CURL_CHECK_HEADER_WINDOWS], [
173 173
   AC_CACHE_CHECK([for windows.h], [ac_cv_header_windows_h], [
@@ -240,7 +240,7 @@ AC_DEFUN([CURL_CHECK_NATIVE_WINDOWS], [
240 240
 
241 241
 dnl CURL_CHECK_HEADER_WINSOCK
242 242
 dnl -------------------------------------------------
243
-dnl Check for compilable and valid winsock.h header 
243
+dnl Check for compilable and valid winsock.h header
244 244
 
245 245
 AC_DEFUN([CURL_CHECK_HEADER_WINSOCK], [
246 246
   AC_REQUIRE([CURL_CHECK_HEADER_WINDOWS])dnl
@@ -277,7 +277,7 @@ AC_DEFUN([CURL_CHECK_HEADER_WINSOCK], [
277 277
 
278 278
 dnl CURL_CHECK_HEADER_WINSOCK2
279 279
 dnl -------------------------------------------------
280
-dnl Check for compilable and valid winsock2.h header 
280
+dnl Check for compilable and valid winsock2.h header
281 281
 
282 282
 AC_DEFUN([CURL_CHECK_HEADER_WINSOCK2], [
283 283
   AC_REQUIRE([CURL_CHECK_HEADER_WINDOWS])dnl
@@ -966,13 +966,13 @@ AC_DEFUN([CURL_CHECK_HEADER_MEMORY], [
966 966
 
967 967
 dnl CURL_CHECK_FUNC_GETNAMEINFO
968 968
 dnl -------------------------------------------------
969
-dnl Test if the getnameinfo function is available, 
969
+dnl Test if the getnameinfo function is available,
970 970
 dnl and check the types of five of its arguments.
971 971
 dnl If the function succeeds HAVE_GETNAMEINFO will be
972 972
 dnl defined, defining the types of the arguments in
973 973
 dnl GETNAMEINFO_TYPE_ARG1, GETNAMEINFO_TYPE_ARG2,
974 974
 dnl GETNAMEINFO_TYPE_ARG46 and GETNAMEINFO_TYPE_ARG7,
975
-dnl and also defining the type qualifier of first 
975
+dnl and also defining the type qualifier of first
976 976
 dnl argument in GETNAMEINFO_QUAL_ARG1.
977 977
 
978 978
 AC_DEFUN([CURL_CHECK_FUNC_GETNAMEINFO], [
@@ -1056,7 +1056,7 @@ AC_DEFUN([CURL_CHECK_FUNC_GETNAMEINFO], [
1056 1056
               if test "$curl_cv_func_getnameinfo_args" = "unknown"; then
1057 1057
                 AC_COMPILE_IFELSE([
1058 1058
                   AC_LANG_PROGRAM([[
1059
-#undef inline 
1059
+#undef inline
1060 1060
 #ifdef HAVE_WINDOWS_H
1061 1061
 #ifndef WIN32_LEAN_AND_MEAN
1062 1062
 #define WIN32_LEAN_AND_MEAN
@@ -1067,7 +1067,7 @@ AC_DEFUN([CURL_CHECK_FUNC_GETNAMEINFO], [
1067 1067
 #endif
1068 1068
 #include <windows.h>
1069 1069
 #ifdef HAVE_WINSOCK2_H
1070
-#include <winsock2.h> 
1070
+#include <winsock2.h>
1071 1071
 #ifdef HAVE_WS2TCPIP_H
1072 1072
 #include <ws2tcpip.h>
1073 1073
 #endif
@@ -1167,7 +1167,7 @@ AC_DEFUN([CURL_CHECK_FUNC_GETNAMEINFO], [
1167 1167
 
1168 1168
 dnl TYPE_SOCKADDR_STORAGE
1169 1169
 dnl -------------------------------------------------
1170
-dnl Check for struct sockaddr_storage. Most IPv6-enabled 
1170
+dnl Check for struct sockaddr_storage. Most IPv6-enabled
1171 1171
 dnl hosts have it, but AIX 4.3 is one known exception.
1172 1172
 
1173 1173
 AC_DEFUN([TYPE_SOCKADDR_STORAGE],
@@ -1213,7 +1213,7 @@ AC_DEFUN([CURL_CHECK_NI_WITHSCOPEID], [
1213 1213
   AC_CHECK_HEADERS(stdio.h sys/types.h sys/socket.h \
1214 1214
                    netdb.h netinet/in.h arpa/inet.h)
1215 1215
   #
1216
-  AC_CACHE_CHECK([for working NI_WITHSCOPEID], 
1216
+  AC_CACHE_CHECK([for working NI_WITHSCOPEID],
1217 1217
     [ac_cv_working_ni_withscopeid], [
1218 1218
     AC_RUN_IFELSE([
1219 1219
       AC_LANG_PROGRAM([[
@@ -1305,11 +1305,11 @@ AC_DEFUN([CURL_CHECK_NI_WITHSCOPEID], [
1305 1305
 
1306 1306
 dnl CURL_CHECK_FUNC_RECV
1307 1307
 dnl -------------------------------------------------
1308
-dnl Test if the socket recv() function is available, 
1309
-dnl and check its return type and the types of its 
1310
-dnl arguments. If the function succeeds HAVE_RECV 
1311
-dnl will be defined, defining the types of the arguments 
1312
-dnl in RECV_TYPE_ARG1, RECV_TYPE_ARG2, RECV_TYPE_ARG3 
1308
+dnl Test if the socket recv() function is available,
1309
+dnl and check its return type and the types of its
1310
+dnl arguments. If the function succeeds HAVE_RECV
1311
+dnl will be defined, defining the types of the arguments
1312
+dnl in RECV_TYPE_ARG1, RECV_TYPE_ARG2, RECV_TYPE_ARG3
1313 1313
 dnl and RECV_TYPE_ARG4, defining the type of the function
1314 1314
 dnl return value in RECV_TYPE_RETV.
1315 1315
 
@@ -1321,7 +1321,7 @@ AC_DEFUN([CURL_CHECK_FUNC_RECV], [
1321 1321
   AC_MSG_CHECKING([for recv])
1322 1322
   AC_LINK_IFELSE([
1323 1323
     AC_LANG_PROGRAM([[
1324
-#undef inline 
1324
+#undef inline
1325 1325
 #ifdef HAVE_WINDOWS_H
1326 1326
 #ifndef WIN32_LEAN_AND_MEAN
1327 1327
 #define WIN32_LEAN_AND_MEAN
@@ -1365,7 +1365,7 @@ AC_DEFUN([CURL_CHECK_FUNC_RECV], [
1365 1365
                 if test "$curl_cv_func_recv_args" = "unknown"; then
1366 1366
                   AC_COMPILE_IFELSE([
1367 1367
                     AC_LANG_PROGRAM([[
1368
-#undef inline 
1368
+#undef inline
1369 1369
 #ifdef HAVE_WINDOWS_H
1370 1370
 #ifndef WIN32_LEAN_AND_MEAN
1371 1371
 #define WIN32_LEAN_AND_MEAN
@@ -1438,13 +1438,13 @@ AC_DEFUN([CURL_CHECK_FUNC_RECV], [
1438 1438
 
1439 1439
 dnl CURL_CHECK_FUNC_SEND
1440 1440
 dnl -------------------------------------------------
1441
-dnl Test if the socket send() function is available, 
1442
-dnl and check its return type and the types of its 
1443
-dnl arguments. If the function succeeds HAVE_SEND 
1444
-dnl will be defined, defining the types of the arguments 
1445
-dnl in SEND_TYPE_ARG1, SEND_TYPE_ARG2, SEND_TYPE_ARG3 
1441
+dnl Test if the socket send() function is available,
1442
+dnl and check its return type and the types of its
1443
+dnl arguments. If the function succeeds HAVE_SEND
1444
+dnl will be defined, defining the types of the arguments
1445
+dnl in SEND_TYPE_ARG1, SEND_TYPE_ARG2, SEND_TYPE_ARG3
1446 1446
 dnl and SEND_TYPE_ARG4, defining the type of the function
1447
-dnl return value in SEND_TYPE_RETV, and also defining the 
1447
+dnl return value in SEND_TYPE_RETV, and also defining the
1448 1448
 dnl type qualifier of second argument in SEND_QUAL_ARG2.
1449 1449
 
1450 1450
 AC_DEFUN([CURL_CHECK_FUNC_SEND], [
@@ -1455,7 +1455,7 @@ AC_DEFUN([CURL_CHECK_FUNC_SEND], [
1455 1455
   AC_MSG_CHECKING([for send])
1456 1456
   AC_LINK_IFELSE([
1457 1457
     AC_LANG_PROGRAM([[
1458
-#undef inline 
1458
+#undef inline
1459 1459
 #ifdef HAVE_WINDOWS_H
1460 1460
 #ifndef WIN32_LEAN_AND_MEAN
1461 1461
 #define WIN32_LEAN_AND_MEAN
@@ -1499,7 +1499,7 @@ AC_DEFUN([CURL_CHECK_FUNC_SEND], [
1499 1499
                 if test "$curl_cv_func_send_args" = "unknown"; then
1500 1500
                   AC_COMPILE_IFELSE([
1501 1501
                     AC_LANG_PROGRAM([[
1502
-#undef inline 
1502
+#undef inline
1503 1503
 #ifdef HAVE_WINDOWS_H
1504 1504
 #ifndef WIN32_LEAN_AND_MEAN
1505 1505
 #define WIN32_LEAN_AND_MEAN
@@ -1623,7 +1623,7 @@ AC_DEFUN([CURL_CHECK_FUNC_RECVFROM], [
1623 1623
   AC_MSG_CHECKING([for recvfrom])
1624 1624
   AC_LINK_IFELSE([
1625 1625
     AC_LANG_PROGRAM([[
1626
-#undef inline 
1626
+#undef inline
1627 1627
 #ifdef HAVE_WINDOWS_H
1628 1628
 #ifndef WIN32_LEAN_AND_MEAN
1629 1629
 #define WIN32_LEAN_AND_MEAN
@@ -1669,7 +1669,7 @@ AC_DEFUN([CURL_CHECK_FUNC_RECVFROM], [
1669 1669
                     if test "$curl_cv_func_recvfrom_args" = "unknown"; then
1670 1670
                       AC_COMPILE_IFELSE([
1671 1671
                         AC_LANG_PROGRAM([[
1672
-#undef inline 
1672
+#undef inline
1673 1673
 #ifdef HAVE_WINDOWS_H
1674 1674
 #ifndef WIN32_LEAN_AND_MEAN
1675 1675
 #define WIN32_LEAN_AND_MEAN
@@ -1805,7 +1805,7 @@ AC_DEFUN([CURL_CHECK_MSG_NOSIGNAL], [
1805 1805
   AC_CACHE_CHECK([for MSG_NOSIGNAL], [ac_cv_msg_nosignal], [
1806 1806
     AC_COMPILE_IFELSE([
1807 1807
       AC_LANG_PROGRAM([[
1808
-#undef inline 
1808
+#undef inline
1809 1809
 #ifdef HAVE_WINDOWS_H
1810 1810
 #ifndef WIN32_LEAN_AND_MEAN
1811 1811
 #define WIN32_LEAN_AND_MEAN
@@ -1856,7 +1856,7 @@ AC_DEFUN([CURL_CHECK_STRUCT_TIMEVAL], [
1856 1856
   AC_CACHE_CHECK([for struct timeval], [ac_cv_struct_timeval], [
1857 1857
     AC_COMPILE_IFELSE([
1858 1858
       AC_LANG_PROGRAM([[
1859
-#undef inline 
1859
+#undef inline
1860 1860
 #ifdef HAVE_WINDOWS_H
1861 1861
 #ifndef WIN32_LEAN_AND_MEAN
1862 1862
 #define WIN32_LEAN_AND_MEAN
@@ -2815,8 +2815,8 @@ AC_HELP_STRING([--without-ca-path], [Don't use a default CA path]),
2815 2815
       done
2816 2816
     fi
2817 2817
   fi
2818
-        
2819
-    
2818
+
2819
+
2820 2820
 
2821 2821
   if test "x$ca" != "xno"; then
2822 2822
     CURL_CA_BUNDLE='"'$ca'"'
@@ -3043,7 +3043,7 @@ AC_DEFUN([CURL_CONFIGURE_CURL_OFF_T], [
3043 3043
       '__int32'        \
3044 3044
       'int'            ; do
3045 3045
       DO_CURL_OFF_T_CHECK([$t4], [4])
3046
-    done 
3046
+    done
3047 3047
     AC_MSG_RESULT([$curl_typeof_curl_off_t])
3048 3048
   fi
3049 3049
   if test "$curl_typeof_curl_off_t" = "unknown"; then

+ 4
- 4
docs/BUGS View File

@@ -1,8 +1,8 @@
1 1
 $Id$
2
-                                  _   _ ____  _     
3
-                              ___| | | |  _ \| |    
4
-                             / __| | | | |_) | |    
5
-                            | (__| |_| |  _ <| |___ 
2
+                                  _   _ ____  _
3
+                              ___| | | |  _ \| |
4
+                             / __| | | | |_) | |
5
+                            | (__| |_| |  _ <| |___
6 6
                              \___|\___/|_| \_\_____|
7 7
 
8 8
 BUGS

+ 2
- 2
docs/CONTRIBUTE View File

@@ -28,7 +28,7 @@
28 28
  2.10 Document
29 29
  2.11 Test Cases
30 30
 
31
- 3. Pushing Out Your Changes 
31
+ 3. Pushing Out Your Changes
32 32
  3.1 Write Access to CVS Repository
33 33
  3.2 How To Make a Patch
34 34
  3.3 How to get your changes into the main sources
@@ -175,7 +175,7 @@
175 175
  test case that verifies that it works as documented. If every submitter also
176 176
  posts a few test cases, it won't end up as a heavy burden on a single person!
177 177
 
178
-3. Pushing Out Your Changes 
178
+3. Pushing Out Your Changes
179 179
 
180 180
 3.1 Write Access to CVS Repository
181 181
 

+ 1
- 1
docs/DISTRO-DILEMMA View File

@@ -11,7 +11,7 @@ Condition
11 11
  This document reflects my view and understanding of these things. Please tell
12 12
  me where and how you think I'm wrong, and I'll try to correct my mistakes.
13 13
 
14
-Background 
14
+Background
15 15
 
16 16
  The Free Software Foundation has deemed the Original BSD license[1] to be
17 17
  "incompatible"[2] with GPL[3]. I'd rather say it is the other way around, but

+ 3
- 3
docs/FAQ View File

@@ -90,7 +90,7 @@ FAQ
90 90
   5.12 Can I make libcurl fake or hide my real IP address?
91 91
   5.13 How do I stop an ongoing transfer?
92 92
   5.14 Using C++ non-static functions for callbacks?
93
-  5.15 How do I get an FTP directory listing? 
93
+  5.15 How do I get an FTP directory listing?
94 94
 
95 95
  6. License Issues
96 96
   6.1 I have a GPL program, can I use the libcurl library?
@@ -648,7 +648,7 @@ FAQ
648 648
      curl ftp://ftp.sunet.se//tmp/
649 649
 
650 650
   3.18 Can I use curl to send a POST/PUT and not wait for a response?
651
- 
651
+
652 652
   No.
653 653
 
654 654
   But you could easily write your own program using libcurl to do such stunts.
@@ -1164,7 +1164,7 @@ FAQ
1164 1164
      curl_easy_setopt(hcurl, CURLOPT_WRITEFUNCTION, YourClass:staticFunction);
1165 1165
      curl_easy_setopt(hcurl, CURLOPT_WRITEDATA, this);
1166 1166
 
1167
-  5.15 How do I get an FTP directory listing? 
1167
+  5.15 How do I get an FTP directory listing?
1168 1168
 
1169 1169
   If you end the FTP URL you request with a slash, libcurl will provide you
1170 1170
   with a directory listing of that given directory. You can also set

+ 4
- 4
docs/FEATURES View File

@@ -1,7 +1,7 @@
1
-                                  _   _ ____  _     
2
-                              ___| | | |  _ \| |    
3
-                             / __| | | | |_) | |    
4
-                            | (__| |_| |  _ <| |___ 
1
+                                  _   _ ____  _
2
+                              ___| | | |  _ \| |
3
+                             / __| | | | |_) | |
4
+                            | (__| |_| |  _ <| |___
5 5
                              \___|\___/|_| \_\_____|
6 6
 
7 7
 FEATURES

+ 15
- 15
docs/INSTALL View File

@@ -144,7 +144,7 @@ UNIX
144 144
 
145 145
      To get support for SCP and SFTP, build with --with-libssh2 and have
146 146
      libssh2 0.16 or later installed.
147
-     
147
+
148 148
    SPECIAL CASES
149 149
    -------------
150 150
    Some versions of uClibc require configuring with CPPFLAGS=-D_GNU_SOURCE=1
@@ -202,7 +202,7 @@ Win32
202 202
 
203 203
    If you have any problems linking libraries or finding header files, be sure
204 204
    to verify that the provided "Makefile.m32" files use the proper paths, and
205
-   adjust as necessary. It is also possible to override these paths with 
205
+   adjust as necessary. It is also possible to override these paths with
206 206
    environment variables, for example:
207 207
 
208 208
      set ZLIB_PATH=c:\zlib-1.2.3
@@ -676,8 +676,8 @@ eCos
676 676
 +++ src/main.c	24 Jul 2006 21:37:23 -0000
677 677
 @@ -4286,11 +4286,31 @@
678 678
  }
679
- 
680
- 
679
+
680
+
681 681
 +#ifdef __ECOS
682 682
 +#include <cyg/fileio/fileio.h>
683 683
 +MTAB_ENTRY( testfs_mte1,
@@ -686,7 +686,7 @@ eCos
686 686
 +                   "",
687 687
 +                   0);
688 688
 +#endif
689
- 
689
+
690 690
  int main(int argc, char *argv[])
691 691
  {
692 692
    int res;
@@ -704,7 +704,7 @@ eCos
704 704
 +  }
705 705
 +#endif
706 706
    memset(&config, 0, sizeof(struct Configurable));
707
- 
707
+
708 708
    config.errors = stderr; /* default errors to stderr */
709 709
 
710 710
 
@@ -713,7 +713,7 @@ Minix
713 713
    curl can be compiled on Minix 3 using gcc or ACK (starting with
714 714
    ver. 3.1.3).  Ensure that GNU gawk and bash are both installed and
715 715
    available in the PATH.
716
-   
716
+
717 717
    ACK
718 718
    ---
719 719
    Increase the heap sizes of the compiler with the command:
@@ -730,9 +730,9 @@ Minix
730 730
    GCC
731 731
    ---
732 732
    Make sure gcc is in your PATH with the command:
733
-   
733
+
734 734
      export PATH=/usr/gnu/bin:$PATH
735
-   
735
+
736 736
    then configure and compile curl with:
737 737
 
738 738
      ./configure CC=gcc AR=/usr/gnu/bin/gar GREP=grep
@@ -756,11 +756,11 @@ Symbian OS
756 756
 VxWorks
757 757
 ========
758 758
    Build for VxWorks is performed using cross compilation.
759
-   That means you build on Windows machine using VxWorks tools and 
759
+   That means you build on Windows machine using VxWorks tools and
760 760
    run the built image on the VxWorks device.
761
-   
761
+
762 762
    To build libcurl for VxWorks you need:
763
-   
763
+
764 764
       - CYGWIN (free, http://cygwin.com/)
765 765
       - Wind River Workbench (commercial)
766 766
 
@@ -774,10 +774,10 @@ VxWorks
774 774
     3. Adjust environment variables defined in 'Environment' section
775 775
        of the Makefile.vxworks file to point to your software folders.
776 776
     4. Build the libcurl by typing 'make -f ./Makefile.vxworks'
777
-   
778
-   As a result the libcurl.a library should be created in the 'lib' folder.   
777
+
778
+   As a result the libcurl.a library should be created in the 'lib' folder.
779 779
    To clean the build results type 'make -f ./Makefile.vxworks clean'.
780
-   
780
+
781 781
 
782 782
 CROSS COMPILE
783 783
 =============

+ 7
- 7
docs/INSTALL.cmake View File

@@ -14,9 +14,9 @@ Building with CMake
14 14
    CMake is specifed in the file CMakeLists.txt found in the top of the curl
15 15
    source tree. Once the correct version of CMake is installed you can follow
16 16
    the instructions below for the platform you are building on.
17
-  
17
+
18 18
    CMake builds can be configured either from the command line, or from one
19
-   of CMake's GUI's.  
19
+   of CMake's GUI's.
20 20
 
21 21
 Command Line CMake
22 22
 ==================
@@ -30,7 +30,7 @@ Command Line CMake
30 30
        # the Curl source tree.  CMake will pick a compiler for you. If you
31 31
        # want to specifiy the compile, you can set the CC environment
32 32
        # variable prior to running CMake.
33
-       cmake ../curl  
33
+       cmake ../curl
34 34
        make
35 35
        # currently make test and make install are not implemented
36 36
        #make test
@@ -54,12 +54,12 @@ cmake-gui
54 54
         2. Fill in the "Where to build the binaries" combo box with the path
55 55
         to the directory for your build tree, ideally this should not be the
56 56
         same as the source tree, but a parallel diretory called curl-build or
57
-        something similar.  
57
+        something similar.
58 58
         3. Once the source and binary directories are specified, press the
59 59
         "Configure" button.
60
-        4. Select the native build tool that you want to use.  
60
+        4. Select the native build tool that you want to use.
61 61
         5. At this point you can change any of the options presented in the
62 62
         GUI.  Once you have selected all the options you want, click the
63
-        "Generate" button. 
63
+        "Generate" button.
64 64
         6. Run the native build tool that you used CMake to genratate.
65
-        
65
+

+ 6
- 6
docs/INSTALL.devcpp View File

@@ -1,13 +1,13 @@
1 1
 DevCpp-Mingw Install & Compilation                                   Sept 2005
2 2
 ==================================
3 3
 
4
-Reference Emails available at curl@haxx.se: 
4
+Reference Emails available at curl@haxx.se:
5 5
 
6 6
   Libcurl Install and Use Issues
7
-  Awaiting an Answer for Win 32 Install 
7
+  Awaiting an Answer for Win 32 Install
8 8
   res = curl_easy_perform(curl); Error
9 9
   Makefile Issues
10
-  
10
+
11 11
 
12 12
 Having previously done a thorough review of what was available that met my
13 13
 requirements under GPL, I settled for Libcurl as the software of choice for
@@ -110,7 +110,7 @@ Next read the contents of Makefile.m32. It includes instructions on its use.
110 110
 
111 111
 Method I - DOS Command Line
112 112
 ---------------------------
113
- 
113
+
114 114
 Note - The only reason I have included this method is that Method II which is
115 115
 the preferred method for compiling does not allow for the setting of option
116 116
 switches (e.g. SSL = 1 or SSL =0). At least that's what they tell me at the
@@ -191,7 +191,7 @@ the contents of the LIB Folder. If not go there.
191 191
 files and close box. Wait till all files are added. This may take 30 seconds
192 192
 or longer.
193 193
 
194
-9- Drop the Menu Execute/Click on Compile. 
194
+9- Drop the Menu Execute/Click on Compile.
195 195
 
196 196
 10- That's it.
197 197
 
@@ -269,7 +269,7 @@ added. Otherwise you may experience link errors.
269 269
 2- Don't forget to include   #include "curl/curl.h".
270 270
 
271 271
 e.g.
272
-    #define CURL_STATICLIB 
272
+    #define CURL_STATICLIB
273 273
 #include <windows.h>
274 274
     #include "curl/curl.h"
275 275
 #include <fstream>

+ 6
- 6
docs/INTERNALS View File

@@ -1,7 +1,7 @@
1
-                                  _   _ ____  _     
2
-                              ___| | | |  _ \| |    
3
-                             / __| | | | |_) | |    
4
-                            | (__| |_| |  _ <| |___ 
1
+                                  _   _ ____  _
2
+                              ___| | | |  _ \| |
3
+                             / __| | | | |_) | |
4
+                            | (__| |_| |  _ <| |___
5 5
                              \___|\___/|_| \_\_____|
6 6
 
7 7
 INTERNALS
@@ -304,7 +304,7 @@ Library
304 304
 
305 305
  lib/timeval.c features replacement functions for systems that don't have
306 306
  gettimeofday() and a few support functions for timeval convertions.
307
- 
307
+
308 308
  A function named curl_version() that returns the full curl version string is
309 309
  found in lib/version.c.
310 310
 
@@ -375,7 +375,7 @@ SSL libraries
375 375
 
376 376
 Library Symbols
377 377
 ===============
378
- 
378
+
379 379
  All symbols used internally in libcurl must use a 'Curl_' prefix if they're
380 380
  used in more than a single file. Single-file symbols must be made static.
381 381
  Public ("exported") symbols must use a 'curl_' prefix. (There are exceptions,

+ 2
- 2
docs/KNOWN_BUGS View File

@@ -21,7 +21,7 @@ may have been fixed since this was written!
21 21
 
22 22
 70. Problem re-using easy handle after call to curl_multi_remove_handle
23 23
   http://curl.haxx.se/mail/lib-2009-07/0249.html
24
-    
24
+
25 25
 68. "More questions about ares behavior".
26 26
   http://curl.haxx.se/mail/lib-2009-08/0012.html
27 27
 
@@ -163,7 +163,7 @@ may have been fixed since this was written!
163 163
   to VMS file structures and the perceived file sizes stat() returns. A
164 164
   possible fix would involve sending a "STRU VMS" command.
165 165
   http://curl.haxx.se/bug/view.cgi?id=1156287
166
-  
166
+
167 167
 21. FTP ASCII transfers do not follow RFC959. They don't convert the data
168 168
    accordingly (not for sending nor for receiving). RFC 959 section 3.1.1.1
169 169
    clearly describes how this should be done:

+ 14
- 14
docs/MANUAL View File

@@ -168,7 +168,7 @@ RANGES
168 168
 
169 169
   Get the first 100 bytes of a document using FTP:
170 170
 
171
-        curl -r 0-99 ftp://www.get.this/README  
171
+        curl -r 0-99 ftp://www.get.this/README
172 172
 
173 173
 UPLOADING
174 174
 
@@ -184,7 +184,7 @@ UPLOADING
184 184
 
185 185
   Upload a local file to the remote site, and use the local file name remote
186 186
   too:
187
- 
187
+
188 188
         curl -T uploadfile -u user:passwd ftp://ftp.upload.com/
189 189
 
190 190
   Upload a local file to get appended to the remote file:
@@ -223,7 +223,7 @@ VERBOSE / DEBUG
223 223
   this:
224 224
 
225 225
         curl --trace trace.txt www.haxx.se
226
- 
226
+
227 227
 
228 228
 DETAILED INFORMATION
229 229
 
@@ -325,12 +325,12 @@ POST (HTTP)
325 325
   To send two files in one post you can do it in two ways:
326 326
 
327 327
   1. Send multiple files in a single "field" with a single field name:
328
- 
329
-        curl -F "pictures=@dog.gif,cat.gif" 
330
- 
331
-  2. Send two fields with two field names: 
332 328
 
333
-        curl -F "docpicture=@dog.gif" -F "catpicture=@cat.gif" 
329
+        curl -F "pictures=@dog.gif,cat.gif"
330
+
331
+  2. Send two fields with two field names:
332
+
333
+        curl -F "docpicture=@dog.gif" -F "catpicture=@cat.gif"
334 334
 
335 335
   To send a field value literally without interpreting a leading '@'
336 336
   or '<', or an embedded ';type=', use --form-string instead of
@@ -678,15 +678,15 @@ HTTPS
678 678
   formatted one that curl can use, do something like this (assuming netscape,
679 679
   but IE is likely to work similarly):
680 680
 
681
-    You start with hitting the 'security' menu button in netscape. 
681
+    You start with hitting the 'security' menu button in netscape.
682 682
 
683
-    Select 'certificates->yours' and then pick a certificate in the list 
683
+    Select 'certificates->yours' and then pick a certificate in the list
684 684
 
685
-    Press the 'export' button 
685
+    Press the 'export' button
686 686
 
687
-    enter your PIN code for the certs 
687
+    enter your PIN code for the certs
688 688
 
689
-    select a proper place to save it 
689
+    select a proper place to save it
690 690
 
691 691
     Run the 'openssl' application to convert the certificate. If you cd to the
692 692
     openssl installation, you can do it like:
@@ -793,7 +793,7 @@ ENVIRONMENT VARIABLES
793 793
 
794 794
   They should be set for protocol-specific proxies. General proxy should be
795 795
   set with
796
-        
796
+
797 797
         ALL_PROXY
798 798
 
799 799
   A comma-separated list of host names that shouldn't go through any proxy is

+ 6
- 6
docs/README.cmake View File

@@ -1,7 +1,7 @@
1
-                                  _   _ ____  _     
2
-                              ___| | | |  _ \| |    
3
-                             / __| | | | |_) | |    
4
-                            | (__| |_| |  _ <| |___ 
1
+                                  _   _ ____  _
2
+                              ___| | | |  _ \| |
3
+                             / __| | | | |_) | |
4
+                            | (__| |_| |  _ <| |___
5 5
                              \___|\___/|_| \_\_____|
6 6
 
7 7
 README.cmake
@@ -10,7 +10,7 @@ README.cmake
10 10
   Curl contains CMake build files that provide a way to build Curl with the
11 11
   CMake build tool (www.cmake.org). CMake is a cross platform meta build tool
12 12
   that generates native makefiles and IDE project files. The CMake build
13
-  system can be used to build Curl on any of its supported platforms. 
13
+  system can be used to build Curl on any of its supported platforms.
14 14
 
15 15
   Read the INSTALL.cmake file for instructions on how to compile curl with
16
-  CMake.  
16
+  CMake.

+ 7
- 7
docs/README.netware View File

@@ -1,7 +1,7 @@
1
-                                  _   _ ____  _     
2
-                              ___| | | |  _ \| |    
3
-                             / __| | | | |_) | |    
4
-                            | (__| |_| |  _ <| |___ 
1
+                                  _   _ ____  _
2
+                              ___| | | |  _ \| |
3
+                             / __| | | | |_) | |
4
+                            | (__| |_| |  _ <| |___
5 5
                              \___|\___/|_| \_\_____|
6 6
 
7 7
 README.netware
@@ -10,9 +10,9 @@ README.netware
10 10
 
11 11
   Curl has been successfully compiled with gcc / nlmconv on different flavours
12 12
   of Linux as well as with the official Metrowerks CodeWarrior compiler.
13
-  While not being the main development target, a continously growing share of 
13
+  While not being the main development target, a continously growing share of
14 14
   curl users are NetWare-based, specially also consuming the lib from PHP.
15
-      
15
+
16 16
   The unix-style man pages are tricky to read on windows, so therefore are all
17 17
   those pages converted to HTML as well as pdf, and included in the release
18 18
   archives.
@@ -24,4 +24,4 @@ README.netware
24 24
 
25 25
   Read the INSTALL file for instructions how to compile curl self.
26 26
 
27
-  
27
+

+ 4
- 4
docs/README.win32 View File

@@ -1,7 +1,7 @@
1
-                                  _   _ ____  _     
2
-                              ___| | | |  _ \| |    
3
-                             / __| | | | |_) | |    
4
-                            | (__| |_| |  _ <| |___ 
1
+                                  _   _ ____  _
2
+                              ___| | | |  _ \| |
3
+                             / __| | | | |_) | |
4
+                            | (__| |_| |  _ <| |___
5 5
                              \___|\___/|_| \_\_____|
6 6
 
7 7
 README.win32

+ 9
- 9
docs/RESOURCES View File

@@ -1,7 +1,7 @@
1
-                                  _   _ ____  _     
2
-  Project                     ___| | | |  _ \| |    
3
-                             / __| | | | |_) | |    
4
-                            | (__| |_| |  _ <| |___ 
1
+                                  _   _ ____  _
2
+  Project                     ___| | | |  _ \| |
3
+                             / __| | | | |_) | |
4
+                            | (__| |_| |  _ <| |___
5 5
                              \___|\___/|_| \_\_____|
6 6
 
7 7
 
@@ -46,7 +46,7 @@ This document lists documents and standards used by curl.
46 46
              Character Sets, Languages, and Continuations
47 47
 
48 48
   RFC 2388 - "Returning Values from Forms: multipart/form-data"
49
-             Use this as an addition to the RFC1867 
49
+             Use this as an addition to the RFC1867
50 50
 
51 51
   RFC 2396 - "Uniform Resource Identifiers: Generic Syntax and Semantics" This
52 52
              one obsoletes RFC 1738, but since RFC 1738 is often mentioned
@@ -61,12 +61,12 @@ This document lists documents and standards used by curl.
61 61
   RFC 2617 - HTTP Authentication
62 62
 
63 63
   RFC 2718 - Guidelines for new URL Schemes
64
-             
64
+
65 65
   RFC 2732 - Format for Literal IPv6 Addresses in URL's
66
-             
66
+
67 67
   RFC 2818 - HTTP Over TLS (TLS is the successor to SSL)
68
-             
68
+
69 69
   RFC 2964 - Use of HTTP State Management
70
-             
70
+
71 71
   RFC 2965 - HTTP State Management Mechanism. Cookies. Obsoletes RFC2109
72 72
 

+ 1
- 1
docs/SSLCERTS View File

@@ -103,7 +103,7 @@ https://wiki.mozilla.org/NSS_Shared_DB
103 103
 Starting with version 7.19.7 libcurl will check for the NSS version it runs,
104 104
 and add automatically the 'sql:' prefix to the certdb directory (either the
105 105
 hardcoded default /etc/pki/nssdb or the directory configured with SSL_DIR
106
-environment variable) if a version 3.12.0 or later is detected. 
106
+environment variable) if a version 3.12.0 or later is detected.
107 107
 To check which certdb format your distribution provides examine the default
108 108
 certdb location /etc/pki/nssdb; the new certdb format can be identified by
109 109
 the filenames cert9.db, key4.db, pkcs11.txt; filenames of older versions are

+ 5
- 5
docs/TODO View File

@@ -1,7 +1,7 @@
1
-                                  _   _ ____  _     
2
-                              ___| | | |  _ \| |    
3
-                             / __| | | | |_) | |    
4
-                            | (__| |_| |  _ <| |___ 
1
+                                  _   _ ____  _
2
+                              ___| | | |  _ \| |
3
+                             / __| | | | |_) | |
4
+                            | (__| |_| |  _ <| |___
5 5
                              \___|\___/|_| \_\_____|
6 6
 
7 7
                 Things that could be nice to do in the future
@@ -132,7 +132,7 @@
132 132
 
133 133
  libcurl built without an asynchronous resolver library uses alarm() to time
134 134
  out DNS lookups. When a timeout occurs, this causes libcurl to jump from the
135
- signal handler back into the library with a sigsetjmp, which effectively 
135
+ signal handler back into the library with a sigsetjmp, which effectively
136 136
  causes libcurl to continue running within the signal handler. This is
137 137
  non-portable and could cause problems on some platforms. A discussion on the
138 138
  problem is available at http://curl.haxx.se/mail/lib-2008-09/0197.html

+ 3
- 3
docs/TheArtOfHttpScripting View File

@@ -222,7 +222,7 @@ Date:    May 28, 2008
222 222
  The site might require a different authentication method (check the headers
223 223
  returned by the server), and then --ntlm, --digest, --negotiate or even
224 224
  --anyauth might be options that suit you.
225
- 
225
+
226 226
  Sometimes your HTTP access is only available through the use of a HTTP
227 227
  proxy. This seems to be especially common at various companies. A HTTP proxy
228 228
  may require its own user and password to allow the client to get through to
@@ -292,8 +292,8 @@ Date:    May 28, 2008
292 292
  such pages in the same manner it display all HTTP replies. It does however
293 293
  feature an option that will make it attempt to follow the Location: pointers.
294 294
 
295
- To tell curl to follow a Location: 
296
- 
295
+ To tell curl to follow a Location:
296
+
297 297
         curl -L www.sitethatredirects.com
298 298
 
299 299
  If you use curl to POST to a site that immediately redirects you to another

+ 5
- 5
docs/VERSIONS View File

@@ -1,7 +1,7 @@
1
-                                  _   _ ____  _     
2
-                              ___| | | |  _ \| |    
3
-                             / __| | | | |_) | |    
4
-                            | (__| |_| |  _ <| |___ 
1
+                                  _   _ ____  _
2
+                              ___| | | |  _ \| |
3
+                             / __| | | | |_) | |
4
+                            | (__| |_| |  _ <| |___
5 5
                              \___|\___/|_| \_\_____|
6 6
 
7 7
 Version Numbers and Releases
@@ -52,7 +52,7 @@ Version Numbers and Releases
52 52
  have the libcurl version stored in the curl/curlver.h file using a static
53 53
  numbering scheme that can be used for comparison. The version number is
54 54
  defined as:
55
-        
55
+
56 56
         #define LIBCURL_VERSION_NUM 0xXXYYZZ
57 57
 
58 58
  Where XX, YY and ZZ are the main version, release and patch numbers in

+ 4
- 4
docs/curl-config.1 View File

@@ -5,7 +5,7 @@
5 5
 .\" *                            | (__| |_| |  _ <| |___
6 6
 .\" *                             \___|\___/|_| \_\_____|
7 7
 .\" *
8
-.\" * Copyright (C) 1998 - 2007, Daniel Stenberg, <daniel@haxx.se>, et al.
8
+.\" * Copyright (C) 1998 - 2010, Daniel Stenberg, <daniel@haxx.se>, et al.
9 9
 .\" *
10 10
 .\" * This software is licensed as described in the file COPYING, which
11 11
 .\" * you should have received as part of this distribution. The terms
@@ -38,9 +38,9 @@ Displays the compiler used to build libcurl.
38 38
 Set of compiler options (CFLAGS) to use when compiling files that use
39 39
 libcurl. Currently that is only the include path to the curl include files.
40 40
 .IP "--checkfor [version]"
41
-Specify the oldest possible libcurl version string you want, and this 
42
-script will return 0 if the current installation is new enough or it 
43
-returns 1 and outputs a text saying that the current version is not new 
41
+Specify the oldest possible libcurl version string you want, and this
42
+script will return 0 if the current installation is new enough or it
43
+returns 1 and outputs a text saying that the current version is not new
44 44
 enough. (Added in 7.15.4)
45 45
 .IP "--configure"
46 46
 Displays the arguments given to configure when building curl.

+ 1
- 1
docs/curl.1 View File

@@ -215,7 +215,7 @@ local directory hierarchy as needed. This option creates the dirs mentioned
215 215
 with the -o option, nothing else. If the -o file name uses no dir or if the
216 216
 dirs it mentions already exist, no dir will be created.
217 217
 
218
-To create remote directories when using FTP or SFTP, try 
218
+To create remote directories when using FTP or SFTP, try
219 219
 \fI--ftp-create-dirs\fP.
220 220
 .IP "--crlf"
221 221
 (FTP) Convert LF to CRLF in upload. Useful for MVS (OS/390).

+ 4
- 4
docs/examples/Makefile.example View File

@@ -1,8 +1,8 @@
1 1
 #############################################################################
2
-#                                  _   _ ____  _     
3
-#  Project                     ___| | | |  _ \| |    
4
-#                             / __| | | | |_) | |    
5
-#                            | (__| |_| |  _ <| |___ 
2
+#                                  _   _ ____  _
3
+#  Project                     ___| | | |  _ \| |
4
+#                             / __| | | | |_) | |
5
+#                            | (__| |_| |  _ <| |___
6 6
 #                             \___|\___/|_| \_\_____|
7 7
 #
8 8
 # $Id$

+ 2
- 2
docs/examples/chkspeed.c View File

@@ -40,7 +40,7 @@
40 40
 static size_t WriteCallback(void *ptr, size_t size, size_t nmemb, void *data)
41 41
 {
42 42
   /* we are not interested in the downloaded bytes itself,
43
-     so we only return the size we would have saved ... */  
43
+     so we only return the size we would have saved ... */
44 44
   return (size_t)(size * nmemb);
45 45
 }
46 46
 
@@ -57,7 +57,7 @@ int main(int argc, char *argv[])
57 57
     for (argc--, argv++; *argv; argc--, argv++) {
58 58
       if (strncasecmp(*argv, "-", 1) == 0) {
59 59
         if (strncasecmp(*argv, "-H", 2) == 0) {
60
-          fprintf(stderr, 
60
+          fprintf(stderr,
61 61
                   "\rUsage: %s [-m=1|2|5|10|20|50|100] [-t] [-x] [url]\n",
62 62
                   appname);
63 63
           exit(1);

+ 3
- 3
docs/examples/cookie_interface.c View File

@@ -5,7 +5,7 @@
5 5
  *                            | (__| |_| |  _ <| |___
6 6
  *                             \___|\___/|_| \_\_____|
7 7
  *
8
- *  This example shows usage of simple cookie interface. 
8
+ *  This example shows usage of simple cookie interface.
9 9
  */
10 10
 
11 11
 #include <stdio.h>
@@ -80,7 +80,7 @@ main(void)
80 80
     res = curl_easy_setopt(curl, CURLOPT_COOKIELIST, nline);
81 81
     if (res != CURLE_OK) {
82 82
       fprintf(stderr, "Curl curl_easy_setopt failed: %s\n", curl_easy_strerror(res));
83
-      return 1;            
83
+      return 1;
84 84
     }
85 85
 
86 86
     /* HTTP-header style cookie */
@@ -90,7 +90,7 @@ main(void)
90 90
     res = curl_easy_setopt(curl, CURLOPT_COOKIELIST, nline);
91 91
     if (res != CURLE_OK) {
92 92
       fprintf(stderr, "Curl curl_easy_setopt failed: %s\n", curl_easy_strerror(res));
93
-      return 1;            
93
+      return 1;
94 94
     }
95 95
 
96 96
     print_cookies(curl);

+ 1
- 1
docs/examples/curlx.c View File

@@ -115,7 +115,7 @@ static const char *curlx_usage[]={
115 115
 
116 116
 */
117 117
 
118
-/* 
118
+/*
119 119
  * We use this ZERO_NULL to avoid picky compiler warnings,
120 120
  * when assigning a NULL pointer to a function pointer var.
121 121
  */

+ 2
- 2
docs/examples/ftpgetinfo.c View File

@@ -23,7 +23,7 @@
23 23
 static size_t throw_away(void *ptr, size_t size, size_t nmemb, void *data)
24 24
 {
25 25
   /* we are not interested in the headers itself,
26
-     so we only return the size we would have saved ... */  
26
+     so we only return the size we would have saved ... */
27 27
   return (size_t)(size * nmemb);
28 28
 }
29 29
 
@@ -45,7 +45,7 @@ int main(void)
45 45
     /* No download if the file */
46 46
     curl_easy_setopt(curl, CURLOPT_NOBODY, 1L);
47 47
     /* Ask for filetime */
48
-    curl_easy_setopt(curl, CURLOPT_FILETIME, 1L); 
48
+    curl_easy_setopt(curl, CURLOPT_FILETIME, 1L);
49 49
     /* No header output: TODO 14.1 http-style HEAD output for ftp */
50 50
     curl_easy_setopt(curl, CURLOPT_HEADERFUNCTION, throw_away);
51 51
     curl_easy_setopt(curl, CURLOPT_HEADER, 0L);

+ 4
- 4
docs/examples/multi-double.c View File

@@ -1,8 +1,8 @@
1 1
 /*****************************************************************************
2
- *                                  _   _ ____  _     
3
- *  Project                     ___| | | |  _ \| |    
4
- *                             / __| | | | |_) | |    
5
- *                            | (__| |_| |  _ <| |___ 
2
+ *                                  _   _ ____  _
3
+ *  Project                     ___| | | |  _ \| |
4
+ *                             / __| | | | |_) | |
5
+ *                            | (__| |_| |  _ <| |___
6 6
  *                             \___|\___/|_| \_\_____|
7 7
  *
8 8
  * $Id$

+ 1
- 1
docs/examples/multi-post.c View File

@@ -28,7 +28,7 @@ int main(int argc, char *argv[])
28 28
   struct curl_slist *headerlist=NULL;
29 29
   static const char buf[] = "Expect:";
30 30
 
31
-  /* Fill in the file upload field. This makes libcurl load data from  
31
+  /* Fill in the file upload field. This makes libcurl load data from
32 32
      the given file name when curl_easy_perform() is called. */
33 33
   curl_formadd(&formpost,
34 34
                &lastptr,

+ 1
- 1
docs/examples/sampleconv.c View File

@@ -9,7 +9,7 @@
9 9
  */
10 10
 /*
11 11
    This is a simple example showing how a program on a non-ASCII platform
12
-   would invoke callbacks to do its own codeset conversions instead of 
12
+   would invoke callbacks to do its own codeset conversions instead of
13 13
    using the built-in iconv functions in libcurl.
14 14
 
15 15
    The IBM-1047 EBCDIC codeset is used for this example but the code

+ 3
- 3
docs/libcurl/curl_easy_getinfo.3 View File

@@ -5,7 +5,7 @@
5 5
 .\" *                            | (__| |_| |  _ <| |___
6 6
 .\" *                             \___|\___/|_| \_\_____|
7 7
 .\" *
8
-.\" * Copyright (C) 1998 - 2009, Daniel Stenberg, <daniel@haxx.se>, et al.
8
+.\" * Copyright (C) 1998 - 2010, Daniel Stenberg, <daniel@haxx.se>, et al.
9 9
 .\" *
10 10
 .\" * This software is licensed as described in the file COPYING, which
11 11
 .\" * you should have received as part of this distribution. The terms
@@ -217,10 +217,10 @@ Applications wishing to resume an RTSP session on another connection should
217 217
 retreive this info before closing the active connection.
218 218
 .IP CURLINFO_RTSP_CLIENT_CSEQ
219 219
 Pass a pointer to a long to receive the next CSeq that will be used by the
220
-application. 
220
+application.
221 221
 .IP CURLINFO_RTSP_SERVER_CSEQ
222 222
 Pass a pointer to a long to receive the next server CSeq that will be expected
223
-by the application. 
223
+by the application.
224 224
 
225 225
 \fI(NOTE: listening for server initiated requests is currently
226 226
 unimplemented).\fP

+ 1
- 1
docs/libcurl/curl_easy_init.3 View File

@@ -14,7 +14,7 @@ handle that you must use as input to other easy-functions. curl_easy_init
14 14
 initializes curl and this call \fBMUST\fP have a corresponding call to
15 15
 \fIcurl_easy_cleanup(3)\fP when the operation is complete.
16 16
 
17
-If you did not already call \fIcurl_global_init(3)\fP, 
17
+If you did not already call \fIcurl_global_init(3)\fP,
18 18
 \fIcurl_easy_init(3)\fP does it automatically.
19 19
 This may be lethal in multi-threaded cases, since \fIcurl_global_init(3)\fP is
20 20
 not thread-safe, and it may result in resource problems because there is

+ 2
- 2
docs/libcurl/curl_easy_send.3 View File

@@ -5,7 +5,7 @@
5 5
 .\" *                            | (__| |_| |  _ <| |___
6 6
 .\" *                             \___|\___/|_| \_\_____|
7 7
 .\" *
8
-.\" * Copyright (C) 1998 - 2008, Daniel Stenberg, <daniel@haxx.se>, et al.
8
+.\" * Copyright (C) 1998 - 2010, Daniel Stenberg, <daniel@haxx.se>, et al.
9 9
 .\" *
10 10
 .\" * This software is licensed as described in the file COPYING, which
11 11
 .\" * you should have received as part of this distribution. The terms
@@ -23,7 +23,7 @@
23 23
 .\"
24 24
 .TH curl_easy_send 3 "29 April 2008" "libcurl 7.18.2" "libcurl Manual"
25 25
 .SH NAME
26
-curl_easy_send - sends raw data over an "easy" connection 
26
+curl_easy_send - sends raw data over an "easy" connection
27 27
 .SH SYNOPSIS
28 28
 .B #include <curl/easy.h>
29 29
 .sp

+ 1
- 1
docs/libcurl/curl_easy_setopt.3 View File

@@ -435,7 +435,7 @@ Therefore the (probably undefined) contents of the buffer is NOT copied
435 435
 by the library. You should keep the associated storage available until
436 436
 libcurl no longer needs it. Failing to do so will cause very odd behavior
437 437
 or even crashes. libcurl will need it until you call \fIcurl_easy_cleanup(3)\fP
438
-or you set the same option again to use a different pointer. 
438
+or you set the same option again to use a different pointer.
439 439
 
440 440
 Use \fICURLOPT_VERBOSE\fP and \fICURLOPT_DEBUGFUNCTION\fP to better
441 441
 debug/trace why errors happen.

+ 1
- 1
docs/libcurl/curl_formadd.3 View File

@@ -152,7 +152,7 @@ to a CURL_FORMADD_* constant defined in
152 152
 
153 153
  /* Add simple name/content section */
154 154
  curl_formadd(&post, &last, CURLFORM_COPYNAME, "name",
155
-              CURLFORM_COPYCONTENTS, "content", CURLFORM_END); 
155
+              CURLFORM_COPYCONTENTS, "content", CURLFORM_END);
156 156
 
157 157
  /* Add simple name/content/contenttype section */
158 158
  curl_formadd(&post, &last, CURLFORM_COPYNAME, "htmlcode",

+ 1
- 1
docs/libcurl/curl_formget.3 View File

@@ -22,7 +22,7 @@ passed to the curl_formget_callback function.
22 22
 
23 23
 The curl_formget_callback will be executed for each part of the HTTP POST
24 24
 chain. The void *arg pointer will be the one passed as second argument to
25
-curl_formget(). The character buffer passed to it must not be freed. The 
25
+curl_formget(). The character buffer passed to it must not be freed. The
26 26
 callback should return the buffer length passed to it on success.
27 27
 .SH RETURN VALUE
28 28
 0 means everything was ok, non-zero means an error occurred

+ 1
- 1
docs/libcurl/curl_free.3 View File

@@ -1,6 +1,6 @@
1 1
 .\" You can view this file with:
2 2
 .\" nroff -man [file]
3
-.\" $Id: 
3
+.\" $Id$
4 4
 .\"
5 5
 .TH curl_free 3 "12 Aug 2003" "libcurl 7.10" "libcurl Manual"
6 6
 .SH NAME

+ 1
- 1
docs/libcurl/curl_multi_socket_action.3 View File

@@ -7,7 +7,7 @@ curl_multi_socket_action \- reads/writes available data given an action
7 7
 .nf
8 8
 #include <curl/curl.h>
9 9
 
10
-CURLMcode curl_multi_socket_action(CURLM * multi_handle, 
10
+CURLMcode curl_multi_socket_action(CURLM * multi_handle,
11 11
                                    curl_socket_t sockfd, int ev_bitmask,
12 12
                                    int *running_handles);
13 13
 .fi

+ 1
- 1
docs/libcurl/curl_share_setopt.3 View File

@@ -48,7 +48,7 @@ be used!
48 48
 .RE
49 49
 .IP CURLSHOPT_UNSHARE
50 50
 This option does the opposite of \fICURLSHOPT_SHARE\fP. It specifies that
51
-the specified \fIparameter\fP will no longer be shared. Valid values are 
51
+the specified \fIparameter\fP will no longer be shared. Valid values are
52 52
 the same as those for \fICURLSHOPT_SHARE\fP.
53 53
 .IP CURLSHOPT_USERDATA
54 54
 The \fIparameter\fP allows you to specify a pointer to data that will be passed

+ 5
- 5
docs/libcurl/libcurl-tutorial.3 View File

@@ -5,7 +5,7 @@
5 5
 .\" *                            | (__| |_| |  _ <| |___
6 6
 .\" *                             \___|\___/|_| \_\_____|
7 7
 .\" *
8
-.\" * Copyright (C) 1998 - 2009, Daniel Stenberg, <daniel@haxx.se>, et al.
8
+.\" * Copyright (C) 1998 - 2010, Daniel Stenberg, <daniel@haxx.se>, et al.
9 9
 .\" *
10 10
 .\" * This software is licensed as described in the file COPYING, which
11 11
 .\" * you should have received as part of this distribution. The terms
@@ -273,7 +273,7 @@ GnuTLS
273 273
  http://www.gnu.org/software/gnutls/manual/html_node/Multi_002dthreaded-applications.html
274 274
 
275 275
 NSS
276
- 
276
+
277 277
  is claimed to be thread-safe already without anything required.
278 278
 
279 279
 yassl
@@ -391,7 +391,7 @@ another option for this, the CURLOPT_PROXYUSERPWD. It is used quite similar
391 391
 to the CURLOPT_USERPWD option like this:
392 392
 
393 393
  curl_easy_setopt(easyhandle, CURLOPT_PROXYUSERPWD, "myname:thesecret");
394
- 
394
+
395 395
 There's a long time UNIX "standard" way of storing ftp user names and
396 396
 passwords, namely in the $HOME/.netrc file. The file should be made private
397 397
 so that only the user may read it (see also the "Security Considerations"
@@ -1200,7 +1200,7 @@ between requests.
1200 1200
 
1201 1201
 .IP "Dangerous URLs"
1202 1202
 SCP URLs can contain raw commands within the scp: URL, which is a side effect
1203
-of how the SCP protocol is designed. e.g. 
1203
+of how the SCP protocol is designed. e.g.
1204 1204
 scp://user:pass@host/a;date >/tmp/test;
1205 1205
 Apps must not allow unsanitized SCP: URLs to be passed in for downloads.
1206 1206
 
@@ -1223,7 +1223,7 @@ the CURLOPT_MAXFILESIZE_LARGE option is not sufficient to guard against this.
1223 1223
 Instead, the app should monitor the amount of data received within the
1224 1224
 write or progress callback and abort once the limit is reached.
1225 1225
 
1226
-A malicious HTTP server could cause an infinite redirection loop, causing a 
1226
+A malicious HTTP server could cause an infinite redirection loop, causing a
1227 1227
 denial-of-service. This can be mitigated by using the CURLOPT_MAXREDIRS
1228 1228
 option.
1229 1229
 

+ 1
- 1
docs/libcurl/symbols-in-versions View File

@@ -224,7 +224,7 @@ CURLOPT_FTPAPPEND               7.1           7.16.4
224 224
 CURLOPT_FTPASCII                7.1           7.11.1      7.15.4
225 225
 CURLOPT_FTPLISTONLY             7.1           7.16.4
226 226
 CURLOPT_FTPPORT                 7.1
227
-CURLOPT_FTPSSLAUTH              7.12.2     
227
+CURLOPT_FTPSSLAUTH              7.12.2
228 228
 CURLOPT_FTP_ACCOUNT             7.13.1
229 229
 CURLOPT_FTP_ALTERNATIVE_TO_USER 7.15.5
230 230
 CURLOPT_FTP_CREATE_MISSING_DIRS 7.10.7

+ 4
- 4
include/README View File

@@ -1,7 +1,7 @@
1
-                                  _   _ ____  _     
2
-                              ___| | | |  _ \| |    
3
-                             / __| | | | |_) | |    
4
-                            | (__| |_| |  _ <| |___ 
1
+                                  _   _ ____  _
2
+                              ___| | | |  _ \| |
3
+                             / __| | | | |_) | |
4
+                            | (__| |_| |  _ <| |___
5 5
                              \___|\___/|_| \_\_____|
6 6
 
7 7
 Include files for libcurl, external users.

+ 1
- 1
include/curl/curlrules.h View File

@@ -187,7 +187,7 @@ typedef char
187 187
 /*          EXTERNALLY AND INTERNALLY VISIBLE DEFINITIONS           */
188 188
 /* ================================================================ */
189 189
 
190
-/* 
190
+/*
191 191
  * CURL_ISOCPP and CURL_OFF_T_C definitions are done here in order to allow
192 192
  * these to be visible and exported by the external libcurl interface API,
193 193
  * while also making them visible to the library internals, simply including

+ 7
- 7
include/curl/stdcheaders.h View File

@@ -1,18 +1,18 @@
1 1
 #ifndef __STDC_HEADERS_H
2 2
 #define __STDC_HEADERS_H
3 3
 /***************************************************************************
4
- *                                  _   _ ____  _     
5
- *  Project                     ___| | | |  _ \| |    
6
- *                             / __| | | | |_) | |    
7
- *                            | (__| |_| |  _ <| |___ 
4
+ *                                  _   _ ____  _
5
+ *  Project                     ___| | | |  _ \| |
6
+ *                             / __| | | | |_) | |
7
+ *                            | (__| |_| |  _ <| |___
8 8
  *                             \___|\___/|_| \_\_____|
9 9
  *
10
- * Copyright (C) 1998 - 2009, Daniel Stenberg, <daniel@haxx.se>, et al.
10
+ * Copyright (C) 1998 - 2010, Daniel Stenberg, <daniel@haxx.se>, et al.
11 11
  *
12 12
  * This software is licensed as described in the file COPYING, which
13 13
  * you should have received as part of this distribution. The terms
14 14
  * are also available at http://curl.haxx.se/docs/copyright.html.
15
- * 
15
+ *
16 16
  * You may opt to use, copy, modify, merge, publish, distribute and/or sell
17 17
  * copies of the Software, and permit persons to whom the Software is
18 18
  * furnished to do so, under the terms of the COPYING file.
@@ -31,4 +31,4 @@ size_t fwrite (const void *, size_t, size_t, FILE *);
31 31
 int strcasecmp(const char *, const char *);
32 32
 int strncasecmp(const char *, const char *, size_t);
33 33
 
34
-#endif
34
+#endif /* __STDC_HEADERS_H */

+ 5
- 5
install-sh View File

@@ -124,7 +124,7 @@ if [ x"$dir_arg" != x ]; then
124 124
 else
125 125
 
126 126
 # Waiting for this to be detected by the "$instcmd $src $dsttmp" command
127
-# might cause directories to be created, which would be especially bad 
127
+# might cause directories to be created, which would be especially bad
128 128
 # if $src (and thus $dsttmp) contains '*'.
129 129
 
130 130
 	if [ -f $src -o -d $src ]
@@ -201,17 +201,17 @@ else
201 201
 
202 202
 # If we're going to rename the final executable, determine the name now.
203 203
 
204
-	if [ x"$transformarg" = x ] 
204
+	if [ x"$transformarg" = x ]
205 205
 	then
206 206
 		dstfile=`basename $dst`
207 207
 	else
208
-		dstfile=`basename $dst $transformbasename | 
208
+		dstfile=`basename $dst $transformbasename |
209 209
 			sed $transformarg`$transformbasename
210 210
 	fi
211 211
 
212 212
 # don't allow the sed command to completely eliminate the filename
213 213
 
214
-	if [ x"$dstfile" = x ] 
214
+	if [ x"$dstfile" = x ]
215 215
 	then
216 216
 		dstfile=`basename $dst`
217 217
 	else
@@ -242,7 +242,7 @@ else
242 242
 # Now rename the file to the real destination.
243 243
 
244 244
 	$doit $rmcmd -f $dstdir/$dstfile &&
245
-	$doit $mvcmd $dsttmp $dstdir/$dstfile 
245
+	$doit $mvcmd $dsttmp $dstdir/$dstfile
246 246
 
247 247
 fi &&
248 248
 

+ 1
- 1
lib/CMakeLists.txt View File

@@ -57,7 +57,7 @@ if(HAVE_FEATURES_H)
57 57
     nonblock.c
58 58
     hash.c
59 59
     http.c
60
-    if2ip.c 
60
+    if2ip.c
61 61
     mprintf.c
62 62
     multi.c
63 63
     sendf.c

+ 1
- 1
lib/Makefile.am View File

@@ -95,7 +95,7 @@ endif
95 95
 #
96 96
 # Here's the simplified rule guide on how to change -version-info:
97 97
 # (current version is C:R:A)
98
-# 
98
+#
99 99
 # 1. if there are only source changes, use C:R+1:A
100 100
 # 2. if interfaces were added use C+1:0:A+1
101 101
 # 3. if interfaces were removed, then use C+1:0:0

+ 1
- 1
lib/Makefile.riscos View File

@@ -20,7 +20,7 @@ objs =	o.base64 o.connect o.cookie o.dict \
20 20
 
21 21
 # Compile options:
22 22
 linkopts	= -o libcurl
23
-compileropts	= -mpoke-function-name -IUtilLib: -mthrowback 
23
+compileropts	= -mpoke-function-name -IUtilLib: -mthrowback
24 24
 
25 25
 # Project target:
26 26
 libcurl:		$(objs)

+ 2
- 2
lib/Makefile.vxworks View File

@@ -43,14 +43,14 @@ ARES_LIB    :=
43 43
 
44 44
 
45 45
 # ----------------------------------------------------------------------
46
-# Compiler 
46
+# Compiler
47 47
 # ----------------------------------------------------------------------
48 48
 
49 49
 CC := ccppc
50 50
 AR := arppc
51 51
 LINK := ccppc
52 52
 CFLAGS := -D__GNUC__ -D__ppc__ -msoft-float -fno-builtin -mcpu=604 -mlongcall -DCPU=PPC604 -D_GNU_TOOL -Wall -W -Winline $(USER_CFLAGS)
53
-LDFLAGS := -nostdlib -Wl,-i -Wl,-X 
53
+LDFLAGS := -nostdlib -Wl,-i -Wl,-X
54 54
 INCLUDE_FLAG := -I
55 55
 C_DEBUGFLAG := -g
56 56
 C_OPTFLAG := -O2

+ 5
- 5
lib/README.ares View File

@@ -1,14 +1,14 @@
1 1
 $Id$
2
-                                  _   _ ____  _     
3
-                              ___| | | |  _ \| |    
4
-                             / __| | | | |_) | |    
5
-                            | (__| |_| |  _ <| |___ 
2
+                                  _   _ ____  _
3
+                              ___| | | |  _ \| |
4
+                             / __| | | | |_) | |
5
+                            | (__| |_| |  _ <| |___
6 6
                              \___|\___/|_| \_\_____|
7 7
 
8 8
           How To Build libcurl to Use c-ares For Asynch Name Resolves
9 9
           ===========================================================
10 10
 
11
-c-ares: 
11
+c-ares:
12 12
   http://daniel.haxx.se/projects/c-ares/
13 13
 
14 14
 NOTE

+ 4
- 4
lib/README.curlx View File

@@ -1,8 +1,8 @@
1 1
 $Id$
2
-                                  _   _ ____  _     
3
-                              ___| | | |  _ \| |    
4
-                             / __| | | | |_) | |    
5
-                            | (__| |_| |  _ <| |___ 
2
+                                  _   _ ____  _
3
+                              ___| | | |  _ \| |
4
+                             / __| | | | |_) | |
5
+                            | (__| |_| |  _ <| |___
6 6
                              \___|\___/|_| \_\_____|
7 7
 
8 8
                      Source Code Functions Apps Might Use

+ 3
- 3
lib/README.encoding View File

@@ -1,7 +1,7 @@
1 1
 
2 2
 		    Content Encoding Support for libcurl
3 3
 
4
-* About content encodings: 
4
+* About content encodings:
5 5
 
6 6
 HTTP/1.1 [RFC 2616] specifies that a client may request that a server encode
7 7
 its response. This is usually used to compress a response using one of a set
@@ -31,9 +31,9 @@ Gallagher, and support for the 'gzip' encoding was added by Dan Fandrich.
31 31
 
32 32
 * The libcurl interface:
33 33
 
34
-To cause libcurl to request a content encoding use: 
34
+To cause libcurl to request a content encoding use:
35 35
 
36
-    curl_easy_setopt(curl, CURLOPT_ENCODING, <string>) 
36
+    curl_easy_setopt(curl, CURLOPT_ENCODING, <string>)
37 37
 
38 38
 where <string> is the intended value of the Accept-Encoding header.
39 39
 

+ 4
- 4
lib/README.memoryleak View File

@@ -1,8 +1,8 @@
1 1
 $Id$
2
-                                  _   _ ____  _     
3
-                              ___| | | |  _ \| |    
4
-                             / __| | | | |_) | |    
5
-                            | (__| |_| |  _ <| |___ 
2
+                                  _   _ ____  _
3
+                              ___| | | |  _ \| |
4
+                             / __| | | | |_) | |
5
+                            | (__| |_| |  _ <| |___
6 6
                              \___|\___/|_| \_\_____|
7 7
 
8 8
              How To Track Down Suspected Memory Leaks in libcurl

+ 14
- 12
lib/arpa_telnet.h View File

@@ -1,18 +1,18 @@
1
-#ifndef __ARPA_TELNET_H
2
-#define __ARPA_TELNET_H
1
+#ifndef HEADER_CURL_ARPA_TELNET_H
2
+#define HEADER_CURL_ARPA_TELNET_H
3 3
 /***************************************************************************
4
- *                                  _   _ ____  _     
5
- *  Project                     ___| | | |  _ \| |    
6
- *                             / __| | | | |_) | |    
7
- *                            | (__| |_| |  _ <| |___ 
4
+ *                                  _   _ ____  _
5
+ *  Project                     ___| | | |  _ \| |
6
+ *                             / __| | | | |_) | |
7
+ *                            | (__| |_| |  _ <| |___
8 8
  *                             \___|\___/|_| \_\_____|
9 9
  *
10
- * Copyright (C) 1998 - 2009, Daniel Stenberg, <daniel@haxx.se>, et al.
10
+ * Copyright (C) 1998 - 2010, Daniel Stenberg, <daniel@haxx.se>, et al.
11 11
  *
12 12
  * This software is licensed as described in the file COPYING, which
13 13
  * you should have received as part of this distribution. The terms
14 14
  * are also available at http://curl.haxx.se/docs/copyright.html.
15
- * 
15
+ *
16 16
  * You may opt to use, copy, modify, merge, publish, distribute and/or sell
17 17
  * copies of the Software, and permit persons to whom the Software is
18 18
  * furnished to do so, under the terms of the COPYING file.
@@ -58,12 +58,12 @@ static const char * const telnetoptions[]=
58 58
 #define CURL_TELOPT_OK(x) ((x) <= CURL_TELOPT_MAXIMUM)
59 59
 #define CURL_TELOPT(x)    telnetoptions[x]
60 60
 
61
-#define CURL_NTELOPTS 40 
61
+#define CURL_NTELOPTS 40
62 62
 
63 63
 /*
64 64
  * First some defines
65 65
  */
66
-#define CURL_xEOF 236 /* End Of File */ 
66
+#define CURL_xEOF 236 /* End Of File */
67 67
 #define CURL_SE   240 /* Sub negotiation End */
68 68
 #define CURL_NOP  241 /* No OPeration */
69 69
 #define CURL_DM   242 /* Data Mark */
@@ -97,5 +97,7 @@ static const char * const telnetcmds[]=
97 97
 #define CURL_TELCMD_OK(x) ( ((unsigned int)(x) >= CURL_TELCMD_MINIMUM) && \
98 98
                        ((unsigned int)(x) <= CURL_TELCMD_MAXIMUM) )
99 99
 #define CURL_TELCMD(x)    telnetcmds[(x)-CURL_TELCMD_MINIMUM]
100
-#endif
101
-#endif
100
+
101
+#endif /* CURL_DISABLE_TELNET */
102
+
103
+#endif /* HEADER_CURL_ARPA_TELNET_H */

+ 2
- 2
lib/curl_addrinfo.h View File

@@ -7,7 +7,7 @@
7 7
  *                            | (__| |_| |  _ <| |___
8 8
  *                             \___|\___/|_| \_\_____|
9 9
  *
10
- * Copyright (C) 1998 - 2009, Daniel Stenberg, <daniel@haxx.se>, et al.
10
+ * Copyright (C) 1998 - 2010, Daniel Stenberg, <daniel@haxx.se>, et al.
11 11
  *
12 12
  * This software is licensed as described in the file COPYING, which
13 13
  * you should have received as part of this distribution. The terms
@@ -45,7 +45,7 @@
45 45
 #endif
46 46
 
47 47
 
48
-/* 
48
+/*
49 49
  * Curl_addrinfo is our internal struct definition that we use to allow
50 50
  * consistent internal handling of this data. We use this even when the
51 51
  * system provides an addrinfo structure definition. And we use this for

+ 9
- 9
lib/curl_md5.h View File

@@ -1,18 +1,18 @@
1
-#ifndef __CURL_MD5_H
2
-#define __CURL_MD5_H
1
+#ifndef HEADER_CURL_MD5_H
2
+#define HEADER_CURL_MD5_H
3 3
 /***************************************************************************
4
- *                                  _   _ ____  _     
5
- *  Project                     ___| | | |  _ \| |    
6
- *                             / __| | | | |_) | |    
7
- *                            | (__| |_| |  _ <| |___ 
4
+ *                                  _   _ ____  _
5
+ *  Project                     ___| | | |  _ \| |
6
+ *                             / __| | | | |_) | |
7
+ *                            | (__| |_| |  _ <| |___
8 8
  *                             \___|\___/|_| \_\_____|
9 9
  *
10
- * Copyright (C) 1998 - 2008, Daniel Stenberg, <daniel@haxx.se>, et al.
10
+ * Copyright (C) 1998 - 2010, Daniel Stenberg, <daniel@haxx.se>, et al.
11 11
  *
12 12
  * This software is licensed as described in the file COPYING, which
13 13
  * you should have received as part of this distribution. The terms
14 14
  * are also available at http://curl.haxx.se/docs/copyright.html.
15
- * 
15
+ *
16 16
  * You may opt to use, copy, modify, merge, publish, distribute and/or sell
17 17
  * copies of the Software, and permit persons to whom the Software is
18 18
  * furnished to do so, under the terms of the COPYING file.
@@ -26,4 +26,4 @@
26 26
 void Curl_md5it(unsigned char *output,
27 27
                 const unsigned char *input);
28 28
 
29
-#endif
29
+#endif /* HEADER_CURL_MD5_H */

+ 2
- 2
lib/curl_sspi.h View File

@@ -7,7 +7,7 @@
7 7
  *                            | (__| |_| |  _ <| |___
8 8
  *                             \___|\___/|_| \_\_____|
9 9
  *
10
- * Copyright (C) 1998 - 2009, Daniel Stenberg, <daniel@haxx.se>, et al.
10
+ * Copyright (C) 1998 - 2010, Daniel Stenberg, <daniel@haxx.se>, et al.
11 11
  *
12 12
  * This software is licensed as described in the file COPYING, which
13 13
  * you should have received as part of this distribution. The terms
@@ -29,7 +29,7 @@
29 29
 
30 30
 #include <curl/curl.h>
31 31
 
32
-/* 
32
+/*
33 33
  * When including the folowing three headers, it is mandatory to define either
34 34
  * SECURITY_WIN32 or SECURITY_KERNEL, indicating who is compiling the code.
35 35
  */

+ 1
- 1
lib/curl_threads.c View File

@@ -45,7 +45,7 @@
45 45
 
46 46
 struct curl_actual_call {
47 47
   unsigned int (*func)(void *);
48
-  void *arg;  
48
+  void *arg;
49 49
 };
50 50
 
51 51
 static void *curl_thread_create_thunk(void *arg)

+ 3
- 3
lib/firefox-db2pem.sh View File

@@ -6,7 +6,7 @@
6 6
 # *                            | (__| |_| |  _ <| |___
7 7
 # *                             \___|\___/|_| \_\_____|
8 8
 # *
9
-# * Copyright (C) 1998 - 2008, Daniel Stenberg, <daniel@haxx.se>, et al.
9
+# * Copyright (C) 1998 - 2010, Daniel Stenberg, <daniel@haxx.se>, et al.
10 10
 # *
11 11
 # * This software is licensed as described in the file COPYING, which
12 12
 # * you should have received as part of this distribution. The terms
@@ -21,11 +21,11 @@
21 21
 # *
22 22
 # * $Id$
23 23
 # ***************************************************************************
24
-# This shell script creates a fresh ca-bundle.crt file for use with libcurl. 
24
+# This shell script creates a fresh ca-bundle.crt file for use with libcurl.
25 25
 # It extracts all ca certs it finds in the local Firefox database and converts
26 26
 # them all into PEM format.
27 27
 #
28
-db=`ls -1d $HOME/.mozilla/firefox/*default`  
28
+db=`ls -1d $HOME/.mozilla/firefox/*default`
29 29
 out=$1
30 30
 
31 31
 if test -z "$out"; then

+ 9
- 9
lib/getinfo.h View File

@@ -1,18 +1,18 @@