]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
all: fix codespell errors
authorViktor Szakats <commit@vsz.me>
Mon, 25 May 2020 19:44:04 +0000 (19:44 +0000)
committerViktor Szakats <commit@vsz.me>
Mon, 25 May 2020 19:44:04 +0000 (19:44 +0000)
Reviewed-by: Jay Satiro
Reviewed-by: Daniel Stenberg
Closes https://github.com/curl/curl/pull/5452

22 files changed:
docs/GOVERNANCE.md
docs/KNOWN_BUGS
docs/TODO
docs/examples/anyauthput.c
docs/examples/curlx.c
include/curl/curlver.h
lib/ftp.c
lib/socks_gssapi.c
lib/socks_sspi.c
lib/urldata.h
lib/vtls/gtls.c
lib/vtls/schannel.c
packages/vms/build_vms.com
scripts/copyright.pl
scripts/release-notes.pl
src/tool_operate.c
tests/data/test1238
tests/options-scan.pl
tests/runtests.1
tests/secureserver.pl
tests/server/sockfilt.c
tests/sshserver.pl

index 81747179b90593f5592588de16550bcb7202b33c..30df155b5088c578aaff68c2df11abc9f31b0a51 100644 (file)
@@ -49,7 +49,7 @@ Donations to the project can also come in form of server hosting, providing
 services and paying for people to work on curl related code etc. Usually, such
 donations are services paid for directly by the sponsors.
 
-We grade sponsors in a few different levels and if they meet the criterias,
+We grade sponsors in a few different levels and if they meet the criteria,
 they can be mentioned on the Sponsors page on the curl web site.
 
 ## Commercial Support
index 96829ab8d752ee2060cf4edbc8fb6f1f30dc301f..f9637480e1ebbe9d96597667fd112db30b8cb178 100644 (file)
@@ -49,7 +49,7 @@ problems may have been fixed or changed somewhat since this was written!
  5.1 OS400 port requires deprecated IBM library
  5.2 curl-config --libs contains private details
  5.3 curl compiled on OSX 10.13 failed to run on OSX 10.10
- 5.4 Build with staticly built dependency
+ 5.4 Build with statically built dependency
  5.5 can't handle Unicode arguments in non-Unicode builds on Windows
  5.6 cmake support gaps
  5.7 Visual Studio project gaps
@@ -364,11 +364,11 @@ problems may have been fixed or changed somewhat since this was written!
 
  See https://github.com/curl/curl/issues/2905
 
-5.4 Build with staticly built dependency
+5.4 Build with statically built dependency
 
  The build scripts in curl (autotools, cmake and others) are primarily done to
  work with shared/dynamic third party dependencies. When linking with shared
- libraries, the depedency "chain" is handled automatically by the library
+ libraries, the dependency "chain" is handled automatically by the library
  loader - on all modern systems.
 
  If you instead link with a static library, we need to provide all the
@@ -636,7 +636,7 @@ problems may have been fixed or changed somewhat since this was written!
 9.2 wolfssh: publickey auth doesn't work
 
  When building curl to use the wolfSSH backend for SFTP, the publickey
- authentication doesn't work. This is simply funtionality not written for curl
+ authentication doesn't work. This is simply functionality not written for curl
  yet, the necessary API for make this work is provided by wolfSSH.
 
  See https://github.com/curl/curl/issues/4820
index b3ce1cb3fd1dc3910809e1651c1ccb11c5160f0e..cdae462af3e04ab776d13c09058ccb603076b4dd 100644 (file)
--- a/docs/TODO
+++ b/docs/TODO
 
  On recent macOS versions, the getaddrinfo() function itself has built-in IDN
  support. By setting the AI_CANONNAME flag, the function will return the
- encoded namne in the ai_canonname struct field in the returned information.
+ encoded name in the ai_canonname struct field in the returned information.
  This could be used by curl on macOS when built without a separate IDN library
  and an IDN host name is used in a URL.
 
index a6ecb31748872598f17e5fd6fda896c736a6a632..7faf93dcd4429e7168236997655a47fe709ce665 100644 (file)
@@ -5,7 +5,7 @@
  *                            | (__| |_| |  _ <| |___
  *                             \___|\___/|_| \_\_____|
  *
- * Copyright (C) 1998 - 2019, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2020, Daniel Stenberg, <daniel@haxx.se>, et al.
  *
  * This software is licensed as described in the file COPYING, which
  * you should have received as part of this distribution. The terms
@@ -20,7 +20,7 @@
  *
  ***************************************************************************/
 /* <DESC>
- * HTTP PUT upload with authentiction using "any" method. libcurl picks the
+ * HTTP PUT upload with authentication using "any" method. libcurl picks the
  * one the server supports/wants.
  * </DESC>
  */
@@ -44,7 +44,7 @@
 #endif
 
 /*
- * This example shows a HTTP PUT operation with authentiction using "any"
+ * This example shows a HTTP PUT operation with authentication using "any"
  * type. It PUTs a file given as a command line argument to the URL also given
  * on the command line.
  *
index e21a9ff9a915d0e6725339bda0777a1bc1223be7..8b48c99c83cdef0e367d94357c71e2a7937f5c77 100644 (file)
@@ -15,7 +15,7 @@
  */
 
 /*
- * Copyright (c) 2003 - 2019 The OpenEvidence Project.  All rights reserved.
+ * Copyright (c) 2003 - 2020 The OpenEvidence Project.  All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions
@@ -459,7 +459,7 @@ int main(int argc, char **argv)
     if(!serverurl) {
       int j = 0;
       BIO_printf(p.errorbio, "no service URL in user cert "
-                 "cherching in others certificats\n");
+                 "searching in others certificates\n");
       for(j = 0; j<sk_X509_num(p.ca); j++) {
         serverurl = my_get_ext(sk_X509_value(p.ca, j), p.accesstype,
                                NID_info_access);
@@ -474,7 +474,7 @@ int main(int argc, char **argv)
   }
 
   if(!serverurl) {
-    BIO_printf(p.errorbio, "no service URL in certificats,"
+    BIO_printf(p.errorbio, "no service URL in certificates,"
                " check '-accesstype (AD_DVCS | ad_timestamping)'"
                " or use '-connect'\n");
     goto err;
index db186ce075cfdba624ff1563bf9915a9e1951851..a398b0bc1cb84c2cdc02c7dafb35a133905d1d2f 100644 (file)
@@ -39,7 +39,7 @@
 #define LIBCURL_VERSION_PATCH 0
 
 /* This is the numeric version of the libcurl version number, meant for easier
-   parsing and comparions by programs. The LIBCURL_VERSION_NUM define will
+   parsing and comparisons by programs. The LIBCURL_VERSION_NUM define will
    always follow this syntax:
 
          0xXXYYZZ
index d3a145f665dd1784f9910289dd18cad7524a4409..d41472b1988dd775895ca52b4eeb18fc9e21253a 100644 (file)
--- a/lib/ftp.c
+++ b/lib/ftp.c
@@ -1296,7 +1296,7 @@ static CURLcode ftp_state_use_pasv(struct connectdata *conn)
   struct ftp_conn *ftpc = &conn->proto.ftpc;
   CURLcode result = CURLE_OK;
   /*
-    Here's the excecutive summary on what to do:
+    Here's the executive summary on what to do:
 
     PASV is RFC959, expect:
     227 Entering Passive Mode (a1,a2,a3,a4,p1,p2)
index 38a3056a419d89783837b7f2639d286b05234fb4..2e36b9940af4143fa982b52bd51e51535a40ab89 100644 (file)
@@ -328,7 +328,7 @@ CURLcode Curl_SOCKS5_gssapi_negotiate(int sockindex,
   user[gss_send_token.length] = '\0';
   gss_release_name(&gss_status, &gss_client_name);
   gss_release_buffer(&gss_status, &gss_send_token);
-  infof(data, "SOCKS5 server authencticated user %s with GSS-API.\n",user);
+  infof(data, "SOCKS5 server authenticated user %s with GSS-API.\n",user);
   free(user);
   user = NULL;
 
index 2173072fdea111a82a531df03b6c86c5e263ff9b..2f1fd36fa4ab376040a6b04a207e134123d5b79b 100644 (file)
@@ -327,7 +327,7 @@ CURLcode Curl_SOCKS5_gssapi_negotiate(int sockindex,
     failf(data, "Failed to determine user name.");
     return CURLE_COULDNT_CONNECT;
   }
-  infof(data, "SOCKS5 server authencticated user %s with GSS-API.\n",
+  infof(data, "SOCKS5 server authenticated user %s with GSS-API.\n",
         names.sUserName);
   s_pSecFn->FreeContextBuffer(names.sUserName);
 
index 9c50c261fef423dfd089fbcbb08137a84ba742fc..38c40f59469c4c7654dcefa5e7689c781a445ef1 100644 (file)
@@ -81,7 +81,7 @@
 */
 #define RESP_TIMEOUT (120*1000)
 
-/* Max string intput length is a precaution against abuse and to detect junk
+/* Max string input length is a precaution against abuse and to detect junk
    input easier and better. */
 #define CURL_MAX_INPUT_LENGTH 8000000
 
index 85cd4dc224d7c890c630490164caa8c865a9e532..0bd6c6528760610d4014b53b769129f0fe0bec03 100644 (file)
@@ -412,7 +412,7 @@ gtls_connect_step1(struct connectdata *conn,
   if(!gtls_inited)
     Curl_gtls_init();
 
-  /* Initalize certverifyresult to OK */
+  /* Initialize certverifyresult to OK */
   *certverifyresult = 0;
 
   if(SSL_CONN_CONFIG(version) == CURL_SSLVERSION_SSLv2) {
index f1499786fd726b67d0381fd7e640c4c23b601388..a23179ecad662a12e97eb4a129fe06c9bca5f0a5 100644 (file)
@@ -43,7 +43,7 @@
 #include "sendf.h"
 #include "connect.h" /* for the connect timeout */
 #include "strerror.h"
-#include "select.h" /* for the socket readyness */
+#include "select.h" /* for the socket readiness */
 #include "inet_pton.h" /* for IP addr SNI check */
 #include "curl_multibyte.h"
 #include "warnless.h"
index e21e57c477710c214d01e75f9572ed0866a08b33..1b023649f4bf2dfc031dfb235ee30c092e15e619 100644 (file)
@@ -133,7 +133,7 @@ $!                   for non-VAX architectures that triggered link failure.
 $!                   Replaced curl_sys_inc with sys_inc.
 $! 19-Mar-2013, John Malmberg
 $!                   symbol tool_main needs to be quoted when parse style is
-$!                   set to exended in versions of VMS greater than 7.3-1.
+$!                   set to extended in versions of VMS greater than 7.3-1.
 $!                   Remove curlbuild.h generation as it should be pre-built
 $!                   in the curl release or daily tarball.
 $! 12-Jul-2013, John Malmberg
index 1c6d1b8959b7b078ec5769ca199a82751c1d5a5b..8bb4bc9f1d536b81f58e481b9d826f14f6b23e67 100755 (executable)
@@ -33,8 +33,8 @@ my @whitelist=(
     '^docs\/cmdline-opts\/[a-z]+(.*)\.d$', # curl.1 pieces
     '(\/|^)[A-Z0-9_.-]+$', # all uppercase file name, possibly with dot and dash
     '(\/|^)[A-Z0-9_-]+\.md$', # all uppercase file name with .md extension
-    '.gitignore', # whereever they are
-    '.gitattributes', # whereever they are
+    '.gitignore', # wherever they are
+    '.gitattributes', # wherever they are
     '^tests/certs/.*', # generated certs
     '^tests/stunnel.pem', # generated cert
     '^tests/valgrind.supp', # valgrind suppressions
index 2be0eab8f066d0f66d24973868564b9d2117bf50..d26c045a200aab880d7e07c32a75155b0fd97113 100755 (executable)
@@ -65,7 +65,7 @@ for my $l (@releasenotes) {
         $refused[$1]=1;
     }
     elsif($l =~ /^ \[(\d+)\] = (.*)/) {
-        # listed in a refernce, set bit 1
+        # listed in a reference, set bit 1
         $refused[$1] |= 2;
         $refs[$1] = $2;
     }
index 6010a952f7adcbc30d491307af472ec5f6eaf6b0..92683ae92a3206a53ed9d8558655b5eb94bee788 100644 (file)
@@ -2418,7 +2418,7 @@ static CURLcode transfer_per_config(struct GlobalConfig *global,
                                  "curl-ca-bundle.crt");
 #if defined(USE_WIN32_CRYPTO)
         if(!config->cacert && !config->capath) {
-          /* user, and environement did not specify any ca file or path
+          /* user, and environment did not specify any ca file or path
              and there is no "curl-ca-bundle.crt" file in standard path
              so the only possible solution is using the windows ca store */
           config->native_ca_store = TRUE;
index 1eacdf44ab08d46d4a9d5fc6ce946035bc8046ac..88c9a5b3ba71f99b4704e60eb70d4ba278fb7a36 100644 (file)
@@ -27,7 +27,7 @@ tftp
 # Always kill the TFTP server to not affect following tests, due
 # to this test potentially keeping the TFTP server busy waiting
 # for another 5 seconds after this test has already terminated.
-# On some plattforms and CI not enough time passes between this
+# On some platforms and CI not enough time passes between this
 # test and the next tests 1242 and 1243, causing them to fail.
 <killserver>
 tftp
index d79969a29c0f2ad6f479d96a46ebe0aa1b7850dd..d49352b40539b3e22c183509f9041ef3fcd9527e 100644 (file)
@@ -23,7 +23,7 @@
 #
 #
 # - Get all options mentioned in the $cmddir.
-# - Make sure they're all mentioned inthe $opts document
+# - Make sure they're all mentioned in the $opts document
 # - Make usre that the version in $opts matches the version in the file in
 #   $cmddir
 #
index e3725eb7972d05597fbfcb437894f01f7604e0e2..661616fab17bc0bd1f78942a90b61244fe66754b 100644 (file)
@@ -43,7 +43,7 @@ runs all available tests except number 66.
 Prefix a test number with a tilde (~) to still run it, but ignore the results.
 
 It is also possible to specify tests based on a keyword describing the test(s)
-to run, like "FTPS". The keywords are strings used in the indiviual tests.
+to run, like "FTPS". The keywords are strings used in the individual tests.
 
 You can also specify keywords with a leading exclamation point and the keyword
 or phrase, like "!HTTP NTLM auth" to run all tests \fBexcept\fP those using
index c525ef7d836b85b798dbc90f5c3d8f23dd8875dc..ac279cbbaac71ad6a4fdff51adeae5db4100cda4 100755 (executable)
@@ -344,7 +344,7 @@ if($tstunnel_windows) {
     # Put an "exec" in front of the command so that the child process
     # keeps this child's process ID by being tied to the spawned shell.
     exec("exec $cmd") || die "Can't exec() $cmd: $!";
-    # exec() will create a new process, but ties the existance of the
+    # exec() will create a new process, but ties the existence of the
     # new process to the parent waiting perl.exe and sh.exe processes.
 
     # exec() should never return back here to this process. We protect
index 7f0db92b462cbebc7bcb3f2193d6cfe41994f598..6b3758c949f33516838ddce653d06fd61434509b 100644 (file)
@@ -75,7 +75,7 @@
  * structured and well behaved manner to achieve proper program cleanup and
  * termination.
  *
- * Even with the above mechanism implemented it is worthwile to note that
+ * Even with the above mechanism implemented it is worthwhile to note that
  * other signals might still be received, or that there might be systems on
  * which it is not possible to trap and ignore some of the above signals.
  * This implies that for increased portability and reliability the program
@@ -687,7 +687,7 @@ static int select_ws(int nfds, fd_set *readfds, fd_set *writefds,
 
   /* loop over the handles in the input descriptor sets */
   nfd = 0; /* number of handled file descriptors */
-  nth = 0; /* number of interal waiting threads */
+  nth = 0; /* number of internal waiting threads */
   nws = 0; /* number of handled WINSOCK sockets */
   for(fd = 0; fd < nfds; fd++) {
     wsasock = curlx_sitosk(fd);
index 1874b93889111bd356b48997f339e2faf7db7786..24c98d630c3c865375f0a3230e2730e52df6b09f 100644 (file)
@@ -1120,7 +1120,7 @@ if ($sshdid =~ /OpenSSH-Windows/) {
     # Put an "exec" in front of the command so that the child process
     # keeps this child's process ID by being tied to the spawned shell.
     exec("exec $cmd") || die "Can't exec() $cmd: $!";
-    # exec() will create a new process, but ties the existance of the
+    # exec() will create a new process, but ties the existence of the
     # new process to the parent waiting perl.exe and sh.exe processes.
 
     # exec() should never return back here to this process. We protect