mirror of
https://github.com/curl/curl.git
synced 2024-11-27 05:50:21 +08:00
all: fix codespell errors
Reviewed-by: Jay Satiro Reviewed-by: Daniel Stenberg Closes https://github.com/curl/curl/pull/5452
This commit is contained in:
parent
54d122287c
commit
308c243db5
@ -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
|
||||
|
@ -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
|
||||
|
@ -230,7 +230,7 @@
|
||||
|
||||
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.
|
||||
|
||||
|
@ -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.
|
||||
*
|
||||
|
@ -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;
|
||||
|
@ -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
|
||||
|
@ -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)
|
||||
|
@ -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;
|
||||
|
||||
|
@ -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);
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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) {
|
||||
|
@ -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"
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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;
|
||||
}
|
||||
|
@ -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;
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
#
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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);
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user