Also fix hits in autotools scripts (not to enforce).
Closes #19576
didn't:did not
doesn't:does not
don't=do not
+haven't:have not
+i'd:I would
+i'll:I will
i'm:I am
+i've:I have
isn't:is not
it'd:it would
+it'll:it will
+might've:might have
+needn't:need not
should've:should have
+shouldn't:should not
that's:that is
there's:there is
they'd:They would
they'll:They will
they're:They are
they've:They have
+this'll:this will
+wasn't:was not
we'd:we would
we'll:we will
we're:we are
we've:we have
+weren't:were not
won't:will not
+would've:would have
+wouldn't:would not
you'd:you would
you'll:you will
you're:you are
pytest-ci: test
test:
- @echo "NOTICE: we can't run the tests when cross-compiling!"
+ @echo "NOTICE: we cannot run the tests when cross-compiling!"
else
])
dnl Definition of HAVE_CLOCK_GETTIME_MONOTONIC is intentionally postponed
- dnl until library linking and run-time checks for clock_gettime succeed.
+ dnl until library linking and runtime checks for clock_gettime succeed.
])
dnl CURL_CHECK_FUNC_CLOCK_GETTIME_MONOTONIC_RAW
if test "x$cross_compiling" != xyes; then
dnl just run a program to verify that the libs checked for previous to this
- dnl point also is available run-time!
- AC_MSG_CHECKING([run-time libs availability])
+ dnl point also is available runtime!
+ AC_MSG_CHECKING([runtime libs availability])
CURL_RUN_IFELSE([
int main(void)
{
],
AC_MSG_RESULT([fine]),
AC_MSG_RESULT([failed])
- AC_MSG_ERROR([one or more libs available at link-time are not available run-time. Libs used at link-time: $LIBS])
+ AC_MSG_ERROR([one or more libs available at link-time are not available runtime. Libs used at link-time: $LIBS])
)
dnl if this test fails, configure has already stopped
AC_ARG_WITH(ca-bundle,
AS_HELP_STRING([--with-ca-bundle=FILE],
[Absolute path to a file containing CA certificates (example: /etc/ca-bundle.crt)])
-AS_HELP_STRING([--without-ca-bundle], [Don't use a default CA bundle]),
+AS_HELP_STRING([--without-ca-bundle], [Do not use a default CA bundle]),
[
want_ca="$withval"
if test "x$want_ca" = "xyes"; then
their filenames in a hash format. This option can be used with the OpenSSL, \
GnuTLS, mbedTLS and wolfSSL backends. Refer to OpenSSL c_rehash for details. \
(example: /etc/certificates)])
-AS_HELP_STRING([--without-ca-path], [Don't use a default CA path]),
+AS_HELP_STRING([--without-ca-path], [Do not use a default CA path]),
[
want_capath="$withval"
if test "x$want_capath" = "xyes"; then
AC_MSG_CHECKING([whether to use OpenSSL's built-in CA store])
AC_ARG_WITH(ca-fallback,
AS_HELP_STRING([--with-ca-fallback], [Use OpenSSL's built-in CA store])
-AS_HELP_STRING([--without-ca-fallback], [Don't use OpenSSL's built-in CA store]),
+AS_HELP_STRING([--without-ca-fallback], [Do not use OpenSSL's built-in CA store]),
[
if test "x$with_ca_fallback" != "xyes" -a "x$with_ca_fallback" != "xno"; then
AC_MSG_ERROR([--with-ca-fallback only allows yes or no as parameter])
AC_ARG_WITH(ca-embed,
AS_HELP_STRING([--with-ca-embed=FILE],
[Absolute path to a file containing CA certificates to embed in the curl tool (example: /etc/ca-bundle.crt)])
-AS_HELP_STRING([--without-ca-embed], [Don't embed a default CA bundle in the curl tool]),
+AS_HELP_STRING([--without-ca-embed], [Do not embed a default CA bundle in the curl tool]),
[
want_ca_embed="$withval"
if test "x$want_ca_embed" = "xyes"; then
dnl CURL_DARWIN_CFLAGS
dnl
dnl Set -Werror=partial-availability to detect possible breaking code
-dnl with very low deployment targets.
+dnl with low deployment targets.
dnl
AC_DEFUN([CURL_DARWIN_CFLAGS], [
dnl CURL_SUPPORTS_BUILTIN_AVAILABLE
dnl
dnl Check to see if the compiler supports __builtin_available. This built-in
-dnl compiler function first appeared in Apple LLVM 9.0.0. It's so new that, at
+dnl compiler function first appeared in Apple LLVM 9.0.0. It is so new that, at
dnl the time this macro was written, the function was not yet documented. Its
dnl purpose is to return true if the code is running under a certain OS version
dnl or later.
AC_PREREQ(2.59)
-dnl We don't know the version number "statically" so we use a dash here
+dnl We do not know the version number "statically" so we use a dash here
AC_INIT([curl], [-], [a suitable curl mailing list: https://curl.se/mail/])
XC_OVR_ZZ50
)
AC_SUBST(VSFTPD)
-dnl we'd like a httpd as test server
+dnl we would like an httpd as test server
dnl
HTTPD_ENABLED="maybe"
AC_ARG_WITH(test-httpd, [AS_HELP_STRING([--with-test-httpd=PATH],
AC_SUBST(HTTPD)
AC_SUBST(APXS)
-dnl we'd like a dante as test socks server
+dnl we would like a dante as test socks server
dnl
DANTED_ENABLED="maybe"
AC_ARG_WITH(test-danted, [AS_HELP_STRING([--with-test-danted=PATH],
[
dnl zlib.h was found
HAVE_ZLIB_H="1"
- dnl if the lib wasn't found already, try again with the new paths
+ dnl if the lib was not found already, try again with the new paths
if test "$HAVE_LIBZ" != "1"; then
AC_CHECK_LIB(z, gzread,
[
if test "$HAVE_BROTLI" = "1"; then
if test -n "$DIR_BROTLI"; then
- dnl when the brotli shared libs were found in a path that the run-time
- dnl linker doesn't search through, we need to add it to CURL_LIBRARY_PATH
+ dnl when the brotli shared libs were found in a path that the runtime
+ dnl linker does not search through, we need to add it to CURL_LIBRARY_PATH
dnl to prevent further configure tests to fail due to this
if test "x$cross_compiling" != "xyes"; then
if test "$HAVE_ZSTD" = "1"; then
if test -n "$DIR_ZSTD"; then
- dnl when the zstd shared lib were found in a path that the run-time
- dnl linker doesn't search through, we need to add it to
+ dnl when the zstd shared lib were found in a path that the runtime
+ dnl linker does not search through, we need to add it to
dnl CURL_LIBRARY_PATH to prevent further configure tests to fail due to
dnl this
CURL_CHECK_PKGCONFIG(mit-krb5-gssapi)
fi
if test -n "$host_alias" -a -f "$GSSAPI_ROOT/bin/$host_alias-krb5-config"; then
- dnl krb5-config doesn't have --libs-only-L or similar, put everything
+ dnl krb5-config does not have --libs-only-L or similar, put everything
dnl into LIBS
gss_libs=`$GSSAPI_ROOT/bin/$host_alias-krb5-config --libs gssapi`
LIBS="$gss_libs $LIBS"
LIBS="$gss_libs $LIBS"
link_pkgconfig=1
elif test -f "$KRB5CONFIG"; then
- dnl krb5-config doesn't have --libs-only-L or similar, put everything
+ dnl krb5-config does not have --libs-only-L or similar, put everything
dnl into LIBS
gss_libs=`$KRB5CONFIG --libs gssapi`
LIBS="$gss_libs $LIBS"
if test "$USE_LIBSSH2" = "1"; then
if test -n "$DIR_SSH2"; then
- dnl when the libssh2 shared libs were found in a path that the run-time
- dnl linker doesn't search through, we need to add it to CURL_LIBRARY_PATH
+ dnl when the libssh2 shared libs were found in a path that the runtime
+ dnl linker does not search through, we need to add it to CURL_LIBRARY_PATH
dnl to prevent further configure tests to fail due to this
if test "x$cross_compiling" != "xyes"; then
LIBS="-liphlpapi $LIBS"
fi
if test -n "$DIR_SSH"; then
- dnl when the libssh shared libs were found in a path that the run-time
- dnl linker doesn't search through, we need to add it to CURL_LIBRARY_PATH
+ dnl when the libssh shared libs were found in a path that the runtime
+ dnl linker does not search through, we need to add it to CURL_LIBRARY_PATH
dnl to prevent further configure tests to fail due to this
if test "x$cross_compiling" != "xyes"; then
want_ldap="yes"
;;
off)
- dnl no --with-ldap option given, don't change anything
+ dnl no --with-ldap option given, do not change anything
want_ldap="default"
;;
*)
if test "$ldap_lib_ok" = "no"; then
if test -n "$ldap_askedfor"; then
- AC_MSG_ERROR([couldn't detect the LDAP libraries])
+ AC_MSG_ERROR([could not detect the LDAP libraries])
fi
AC_MSG_WARN(["$LDAPLIBNAME" is not an LDAP library: LDAP disabled])
AC_DEFINE(CURL_DISABLE_LDAP, 1, [to disable LDAP])
case X-"$curl_cv_ldap_LIBS" in
X-unknown)
if test -n "$ldap_askedfor"; then
- AC_MSG_ERROR([couldn't detect the LDAP libraries])
+ AC_MSG_ERROR([could not detect the LDAP libraries])
fi
AC_MSG_WARN([Cannot find libraries for LDAP support: LDAP disabled])
AC_DEFINE(CURL_DISABLE_LDAP, 1, [to disable LDAP])
if test x$CURL_DISABLE_LDAP != x1; then
dnl Add to library path if needed
if test -n "$DIR_LDAP"; then
- dnl when the ldap shared lib were found in a path that the run-time
- dnl linker doesn't search through, we need to add it to
+ dnl when the ldap shared lib were found in a path that the runtime
+ dnl linker does not search through, we need to add it to
dnl CURL_LIBRARY_PATH to prevent further configure tests to fail due to
dnl this
fi
if test "$LBERLIBNAME"; then
- dnl If name is "no" then don't define this library at all
- dnl (it's only needed if libldap.so's dependencies are broken).
+ dnl If name is "no" then do not define this library at all
+ dnl (it is only needed if libldap.so's dependencies are broken).
dnl Skip this check if we already determined we need both libraries above
if test "$LBERLIBNAME" != "no" -a "$ldap_lib_ok" != "yes"; then
AC_CHECK_LIB("$LBERLIBNAME", ber_free,, [
)
],
dnl not found, revert back to clean variables
- AC_MSG_ERROR([couldn't use quiche])
+ AC_MSG_ERROR([could not use quiche])
)
else
dnl no quiche pkg-config found, deal with it
fi
AM_CONDITIONAL(USE_FISH_COMPLETION, test x"$FISH_FUNCTIONS_DIR" != x)
-dnl Now check for the very most basic headers. Then we can use these
+dnl Now check for the most basic headers. Then we can use these
dnl ones as default-headers when checking for the rest!
AC_CHECK_HEADERS(
sys/types.h \
)
if test ${ac_cv_sizeof_curl_off_t} -lt 8; then
- AC_MSG_ERROR([64 bit curl_off_t is required])
+ AC_MSG_ERROR([64-bit curl_off_t is required])
fi
# check for ssize_t
;;
esac
- dnl if it wasn't found without lib, search for it in pthread lib
+ dnl if it was not found without lib, search for it in pthread lib
if test "$USE_THREADS_POSIX" != "1"; then
# assign PTHREAD for pkg-config use
PTHREAD=" -pthread"
AC_MSG_RESULT(yes)
)
-dnl only check for HSTS if there's SSL present
+dnl only check for HSTS if there is SSL present
if test -n "$SSL_ENABLED"; then
dnl ************************************************************
dnl switch on/off hsts
if test ${ac_cv_sizeof_curl_off_t} -gt 4; then
AC_MSG_RESULT(yes)
else
- dnl WebSockets requires >32 bit curl_off_t
+ dnl WebSockets requires >32-bit curl_off_t
AC_MSG_RESULT(no)
- AC_MSG_WARN([WebSockets disabled due to lack of >32 bit curl_off_t])
+ AC_MSG_WARN([WebSockets disabled due to lack of >32-bit curl_off_t])
AC_DEFINE(CURL_DISABLE_WEBSOCKETS, [1], [disable WebSockets])
CURL_DISABLE_WEBSOCKETS=1
fi
#endif
/* cert is stored PEM coded in file... */
- /* since PEM is default, we needn't set it for PEM */
+ /* since PEM is default, we need not set it for PEM */
curl_easy_setopt(curl, CURLOPT_SSLCERTTYPE, "PEM");
/* set the cert for client authentication */
is supported for GnuTLS, wolfSSL, quictls and OpenSSL (but not BoringSSL
or AWS-LC). It works on TCP and QUIC connections using ngtcp2.
This option works on a best effort basis,
-in cases when it wasn't possible to send early data the request is resent
+in cases when it was not possible to send early data the request is resent
normally post-handshake.
This option does not work when using QUIC.
(Added in 8.11.0 for GnuTLS and 8.13.0 for wolfSSL, quictls and OpenSSL)
#define CURL_WILL 251 /* Our side WILL use this option */
#define CURL_WONT 252 /* Our side will not use this option */
#define CURL_DO 253 /* DO use this option! */
-#define CURL_DONT 254 /* DON'T use this option! */
+#define CURL_DONT 254 /* DO NOT use this option! */
#define CURL_IAC 255 /* Interpret As Command */
#ifndef CURL_DISABLE_VERBOSE_STRINGS
So, now that we have a usable answer (some IPv4 addresses, some IPv6
addresses, or "no such domain"), we start a timeout for the remaining
pending responses. Even though it is typical that this resolved
- request came back quickly, that needn't be the case. It might be that
+ request came back quickly, that need not be the case. It might be that
this completing request did not get a result from the first DNS
server or even the first round of the whole DNS server pool. So it
could already be quite some time after we issued the DNS queries in
curlx_dyn_reset(&ts->rcvbuf);
curlx_dyn_reset(&ts->request_data);
/* restore the protocol pointer */
- data->info.httpcode = 0; /* clear it as it might've been used for the
+ data->info.httpcode = 0; /* clear it as it might have been used for the
proxy */
/* If a proxy-authorization header was used for the proxy, then we should
make sure that it is not accidentally used for the document request
Curl_share_lock(data, CURL_LOCK_DATA_COOKIE, CURL_LOCK_ACCESS_SINGLE);
/* only save the cookie file if a transfer was started (data->state.url is
set), as otherwise the cookies were not completely initialized and there
- might be cookie files that weren't loaded so saving the file is the wrong
+ might be cookie files that were not loaded so saving the file is the wrong
thing. */
if(data->set.str[STRING_COOKIEJAR] && data->state.url) {
/* if we have a destination file for all the cookies to get dumped to */
#ifndef CURL_DISABLE_PROXY
if(conn->bits.proxy) {
/* This connection uses a proxy and we need to connect to the proxy again
- * here. We do not want to rely on a former host lookup that might've
+ * here. We do not want to rely on a former host lookup that might have
* expired now, instead we remake the lookup here and now! */
struct ip_quadruple ipquad;
bool is_ipv6;
}
/*
- * When this is used from the multi interface, this might've returned with
+ * When this is used from the multi interface, this might have returned with
* the 'connected' set to FALSE and thus we are now awaiting a non-blocking
* connect to connect.
*/
/* we always unconditionally get the session id here, as even if we
already got it from the cache and asked to use it in the connection, it
- might've been rejected and then a new one is in use now and we need to
+ might have been rejected and then a new one is in use now and we need to
detect that. */
/* get the session ID data size */
compiler_ver="$clangver"
compiler_num=`(expr $clangvhi "*" 100 + $clangvlo) 2>/dev/null`
if test "$appleclang" = '1' && test "$oldapple" = '0'; then
- dnl Starting with Xcode 7 / clang 3.7, Apple clang won't tell its upstream version
+ dnl Starting with Xcode 7 / clang 3.7, Apple clang does not tell its upstream version
if test "$compiler_num" -ge '1700'; then compiler_num='1901'
elif test "$compiler_num" -ge '1600'; then compiler_num='1700'
elif test "$compiler_num" -ge '1500'; then compiler_num='1600'
#
HP_UX_C)
#
- dnl Disallow run-time dereferencing of null pointers
+ dnl Disallow runtime dereferencing of null pointers
tmp_CFLAGS="$tmp_CFLAGS -z"
dnl Disable some remarks
dnl #4227: padding struct with n bytes to align member
dnl
dnl glibc-style strerror_r returns a pointer to the error string,
dnl and might use the provided workbuf as a scratch area if needed. A
-dnl quick test on a few systems shows that it's usually not used at all.
+dnl quick test on a few systems shows that it is usually not used at all.
dnl
dnl POSIX-style strerror_r:
dnl
fi
fi
else
- dnl this is with a given path, first check if there's a libgnutls-config
+ dnl this is with a given path, first check if there is a libgnutls-config
dnl there and if not, make an educated guess
cfg=$OPT_GNUTLS/bin/libgnutls-config
check=`$cfg --version 2>/dev/null`
addlib=-lgnutls
addld=-L$OPT_GNUTLS/lib$libsuff
addcflags=-I$OPT_GNUTLS/include
- version="" # we just don't know
+ version="" # we just do not know
gtlslib=$OPT_GNUTLS/lib$libsuff
fi
fi
AC_MSG_NOTICE([detected GnuTLS version $version])
check_for_ca_bundle=1
if test -n "$gtlslib"; then
- dnl when shared libs were found in a path that the run-time
- dnl linker doesn't search through, we need to add it to
+ dnl when shared libs were found in a path that the runtime
+ dnl linker does not search through, we need to add it to
dnl CURL_LIBRARY_PATH to prevent further configure tests to fail
dnl due to this
if test "x$cross_compiling" != "xyes"; then
LIBS="-lmbedtls -lmbedx509 -lmbedcrypto $LIBS"
if test -n "$mbedtlslib"; then
- dnl when shared libs were found in a path that the run-time
- dnl linker doesn't search through, we need to add it to
+ dnl when shared libs were found in a path that the runtime
+ dnl linker does not search through, we need to add it to
dnl CURL_LIBRARY_PATH to prevent further configure tests to fail
dnl due to this
if test "x$cross_compiling" != "xyes"; then
PREFIX_OPENSSL=$OPT_OPENSSL
dnl Try pkg-config even when cross-compiling. Since we
- dnl specify PKG_CONFIG_LIBDIR we're only looking where
+ dnl specify PKG_CONFIG_LIBDIR we are only looking where
dnl the user told us to look
OPENSSL_PCDIR="$OPT_OPENSSL/lib/pkgconfig"
if test -f "$OPENSSL_PCDIR/openssl.pc"; then
dnl use the values pkg-config reported. This is here
dnl instead of below with CPPFLAGS and LDFLAGS because we only
dnl learn about this via pkg-config. If we only have
- dnl the argument to --with-openssl we don't know what
+ dnl the argument to --with-openssl we do not know what
dnl additional libs may be necessary. Hope that we
- dnl don't need any.
+ dnl do not need any.
LIBS="$SSL_LIBS $LIBS"
fi
fi
LDFLAGSPC="$CLEANLDFLAGSPC -L$LIB_OPENSSL"
fi
if test "$PKGCONFIG" = "no" -a -n "$PREFIX_OPENSSL" ; then
- # only set this if pkg-config wasn't used
+ # only set this if pkg-config was not used
CPPFLAGS="$CLEANCPPFLAGS -I$PREFIX_OPENSSL/include"
fi
# Linking previously failed, try extra paths from --with-openssl or
if test "$OPENSSL_ENABLED" = "1"; then
if test -n "$LIB_OPENSSL"; then
- dnl when the ssl shared libs were found in a path that the run-time
- dnl linker doesn't search through, we need to add it to CURL_LIBRARY_PATH
+ dnl when the ssl shared libs were found in a path that the runtime
+ dnl linker does not search through, we need to add it to CURL_LIBRARY_PATH
dnl to prevent further configure tests to fail due to this
if test "x$cross_compiling" != "xyes"; then
CURL_LIBRARY_PATH="$CURL_LIBRARY_PATH:$LIB_OPENSSL"
AS_HELP_STRING([--disable-openssl-auto-load-config],[Disable automatic loading of OpenSSL configuration]),
[ if test X"$enableval" = X"no"; then
AC_MSG_NOTICE([automatic loading of OpenSSL configuration disabled])
- AC_DEFINE(CURL_DISABLE_OPENSSL_AUTO_LOAD_CONFIG, 1, [if the OpenSSL configuration won't be loaded automatically])
+ AC_DEFINE(CURL_DISABLE_OPENSSL_AUTO_LOAD_CONFIG, 1, [if the OpenSSL configuration will not be loaded automatically])
fi
])
dnl Override Autoconf's AC_LANG_PROGRAM (C)
dnl -------------------------------------------------
dnl This is done to prevent compiler warning
-dnl 'function declaration isn't a prototype'
+dnl 'function declaration is not a prototype'
dnl in function main. This requires at least
dnl a C89 compiler and does not support K&R.
dnl CURL_CONFIGURE_REENTRANT
dnl -------------------------------------------------
dnl This first checks if the preprocessor _REENTRANT
-dnl symbol is already defined. If it isn't currently
+dnl symbol is already defined. If it is not currently
dnl defined a set of checks are performed to verify
dnl if its definition is required to make visible to
dnl the compiler a set of *_r functions. Finally, if
dnl CURL_CONFIGURE_THREAD_SAFE
dnl -------------------------------------------------
dnl This first checks if the preprocessor _THREAD_SAFE
-dnl symbol is already defined. If it isn't currently
+dnl symbol is already defined. If it is not currently
dnl defined a set of checks are performed to verify
dnl if its definition is required. Finally, if
dnl _THREAD_SAFE is already defined or needed it takes
dnl use the values pkg-config reported. This is here
dnl instead of below with CPPFLAGS and LDFLAGS because we only
dnl learn about this via pkg-config. If we only have
- dnl the argument to --with-rustls we don't know what
+ dnl the argument to --with-rustls we do not know what
dnl additional libs may be necessary. Hope that we
- dnl don't need any.
+ dnl do not need any.
LIBS="$SSL_LIBS $LIBS"
link_pkgconfig=1
ssl_msg="Rustls"
check_for_ca_bundle=1
if test -n "$LIB_RUSTLS"; then
- dnl when shared libs were found in a path that the run-time
+ dnl when shared libs were found in a path that the runtime
dnl linker does not search through, we need to add it to
dnl CURL_LIBRARY_PATH so that further configure tests do not
dnl fail due to this
dnl try pkg-config magic
CURL_CHECK_PKGCONFIG(wolfssl, [$wolfpkg])
- AC_MSG_NOTICE([Check dir $wolfpkg])
+ AC_MSG_NOTICE([Check directory $wolfpkg])
addld=""
addlib=""
fi
if test -n "$wolfssllibpath"; then
- dnl when shared libs were found in a path that the run-time
- dnl linker doesn't search through, we need to add it to
+ dnl when shared libs were found in a path that the runtime
+ dnl linker does not search through, we need to add it to
dnl CURL_LIBRARY_PATH to prevent further configure tests to fail
dnl due to this
if test "x$cross_compiling" != "xyes"; then
fi
LIBCURL_PC_REQUIRES_PRIVATE="$LIBCURL_PC_REQUIRES_PRIVATE wolfssl"
else
- AC_MSG_ERROR([--with-wolfssl but wolfSSL was not found or doesn't work])
+ AC_MSG_ERROR([--with-wolfssl but wolfSSL was not found or does not work])
fi
fi dnl wolfSSL not disabled
dnl is noticed about errors detected in all of them
dnl but script continues execution.
dnl
-dnl Intended to be used very late in configure script.
+dnl Intended to be used late in configure script.
AC_DEFUN([XC_CHECK_BUILD_FLAGS], [
AC_PREREQ([2.50])dnl
dnl Public macro.
dnl
dnl This macro emits shell code which does some
-dnl very basic checks related with the availability
+dnl basic checks related with the availability
dnl of some commands and utilities needed to allow
dnl configure script bootstrapping itself when using
dnl these to figure out other settings. Also emits
dnl
dnl Strictly speaking the check is done in two steps. The
dnl first, which does the actual check, takes place in
-dnl XC_CONFIGURE_PREAMBLE macro and happens very early in
+dnl XC_CONFIGURE_PREAMBLE macro and happens early in
dnl generated configure script. The second one shows and
dnl logs the result of the check into config.log at a later
dnl configure stage. Placement of this second stage in
dnl This is done to prevent Libtool 1.5.X from doing
dnl unnecessary C++, Fortran and Java tests when only
dnl using C language and reduce resulting configure
-dnl script by nearly 300 Kb.
+dnl script by nearly 300 KB.
m4_ifdef([AC_LIBTOOL_LANG_CXX_CONFIG],
[m4_undefine([AC_LIBTOOL_LANG_CXX_CONFIG])])
result = ldap_get_values_len(ld, entry, cp);
free(cp);
- /* Result data are binary in nature, so they haven't been
+ /* Result data are binary in nature, so they have not been
converted to EBCDIC. Therefore do not convert. */
return result;
$! BUILD_VMS.COM
$!
-$! I've taken the original build_vms.com, supplied by Nico Baggus, if
+$! I have taken the original build_vms.com, supplied by Nico Baggus, if
$! memory serves me correctly, and made some modifications.
$!
$! SSL support is controlled by logical names. If SSL$INCLUDE is
$! /list/show=(expan,includ)/machine
$! FULLLIST Full detailed listing.
$! /list/show=(all, nomessages)/machine
-$! NOHPSSL Don't use HP SSL, even if available.
+$! NOHPSSL Do not use HP SSL, even if available.
$! Note, you must match the pointer size that the OpenSSL
$! shared image expects. This procedure will select the
$! correct HP OpenSSL image.
-$! NOSSL Don't use any SSL, even if available.
+$! NOSSL Do not use any SSL, even if available.
$! OSSLOLB Use OpenSSL object libraries (.OLB), even if shared
$! images (.EXE) are available.
-$! NOZLIB Don't use GNV$ZLIB shared image even if available.
+$! NOZLIB Do not use GNV$ZLIB shared image even if available.
$! REALCLEAN Delete product files for all host architectures. (No
$! build done.) Alias for CLEAN_ALL
$!
set_feature_default("DECC$EXEC_FILEATTR_INHERITANCE", 2);
#endif
- /* Don't display trailing dot after files without type */
+ /* Do not display trailing dot after files without type */
set_feature_default("DECC$READDIR_DROPDOTNOTYPE", ENABLE);
/* For standard output channels buffer output until terminator */
my @valid_mozilla_trust_levels = (
"TRUSTED_DELEGATOR", # CAs
- "NOT_TRUSTED", # Don't trust these certs.
+ "NOT_TRUSTED", # Do not trust these certs.
"MUST_VERIFY_TRUST", # This explicitly tells us that it IS NOT a CA but is
# otherwise ok. In other words, this should tell the
# app to ignore any other sources that claim this is
/* default is to output the letter after the backslash */
switch(out = *line) {
case '\0':
- continue; /* this'll break out of the loop */
+ continue; /* this breaks out of the loop */
case 't':
out = '\t';
break;
Funny-head: yesyes
</stdout>
-# 23 == CURLE_WRITE_ERROR, curl wouldn't accept the binary output
+# 23 == CURLE_WRITE_ERROR, curl would not accept the binary output
<errorcode>
23
</errorcode>
<reply>
# Close the connection after the first request but do not tell the client to do
-# so! When starting the second request it'll detect a dead connection and must
+# so! When starting the second request it detects a dead connection and must
# not clean the DNS entries added manually.
<data1>
HTTP/1.1 200 OK
http
</server>
<name>
---etag-compare that gets a 304 back shouldn't overwrite the file
+--etag-compare that gets a 304 back should not overwrite the file
</name>
<command option="no-output,no-include">
http://%HOSTIP:%HTTPPORT/%TESTNUMBER -o %LOGDIR/output%TESTNUMBER --etag-compare %LOGDIR/etag%TESTNUMBER
<testcase>
# NOTE: this test case is a duplicate of 547 but the tool is built to use the
-# multi interface instead of easy, but that shouldn't be noticeable at all in
+# multi interface instead of easy, but that should not be noticeable at all in
# this file!
<info>
<keywords>
handler.setLevel(logging.DEBUG)
root_logger.addHandler(handler)
else:
- # The logfile wasn't specified. Add a stdout logger.
+ # The logfile was not specified. Add a stdout logger.
add_stdout = True
if options.verbose:
# It is meant to exercise curl, it is not meant to be a fully working
# or even overly standard compliant server.
#
-# You may optionally specify port on the command line, otherwise it'll
-# default to port 8921.
+# You may optionally specify port on the command line, otherwise it
+# defaults to port 8921.
#
# All socket/network/TCP related stuff is done by the 'sockfilt' program.
#
}
if($nosave) {
- print $file "$ulsize bytes would've been stored here\n";
+ print $file "$ulsize bytes would have been stored here\n";
}
close($file);
}
if($nosave) {
- print $file "$size bytes would've been stored here\n";
+ print $file "$size bytes would have been stored here\n";
}
close($file);
}
}
if($nosave) {
- print $file "$ulsize bytes would've been stored here\n";
+ print $file "$ulsize bytes would have been stored here\n";
}
close($file);
close_dataconn($disc);
}
if($check) {
- logmsg "$FTPCMD wasn't handled!\n";
+ logmsg "$FTPCMD was not handled!\n";
if($proto eq 'pop3') {
sendcontrol "-ERR $FTPCMD is not dealt with!\r\n";
}
}
last;
}
- # detect end of section when part wasn't found
+ # detect end of section when part was not found
elsif((1 ==$inside) && ($_ =~ /^ *\<\/$section\>/)) {
last;
}
else {
# failure
if($warning) {
- print STDERR "file $file wouldn't open!\n";
+ print STDERR "file $file would not open!\n";
}
return 1;
}
else {
# failure
if($warning) {
- print STDERR "file $file wouldn't open!\n";
+ print STDERR "file $file would not open!\n";
}
return 1;
}
/* after the first curl_formadd when there is a single entry, both pointers
should point to the same struct */
- t1308_fail_unless(post == last, "post and last weren't the same");
+ t1308_fail_unless(post == last, "post and last were not the same");
rc = curl_formadd(&post, &last, CURLFORM_COPYNAME, "htmlcode",
CURLFORM_COPYCONTENTS, "<HTML></HTML>",
static int string_check_low(int linenumber, char *buf, const char *buf2)
{
if(strcmp(buf, buf2)) {
- /* they shouldn't differ */
+ /* they should not differ */
curl_mprintf("sprintf line %d failed:\nwe '%s'\nsystem: '%s'\n",
linenumber, buf, buf2);
return 1;
{
size_t buflen = strlen(buf);
if(len != buflen) {
- /* they shouldn't differ */
+ /* they should not differ */
curl_mprintf("sprintf strlen:%d failed:\nwe '%zu'\nsystem: '%zu'\n",
linenumber, buflen, len);
return 1;
*
* This test was added after the HTTPS-using-multi-interface with OpenSSL
* regression of 7.19.1 to hopefully prevent this embarrassing mistake from
- * appearing again... Unfortunately the bug wasn't triggered by this test,
+ * appearing again... Unfortunately the bug was not triggered by this test,
* which presumably is because the connect to a local server is too
* fast/different compared to the real/distant servers we saw the bug happen
* with.
handler.setLevel(logging.DEBUG)
root_logger.addHandler(handler)
else:
- # The logfile wasn't specified. Add a stdout logger.
+ # The logfile was not specified. Add a stdout logger.
add_stdout = True
if options.verbose:
#######################################################################
# killpid attempts to gracefully stop processes in the given pid list
-# with a SIGTERM signal and SIGKILLs those which haven't died on time.
+# with a SIGTERM signal and SIGKILLs those which have not died on time.
#
sub killpid {
my ($verbose, $pidlist) = @_;
# Clear the buffered log messages & stop buffering after returning them
sub singletest_dumplogs {
if(!defined $singletest_bufferedrunner) {
- # probably not multiprocess mode and logs weren't buffered
+ # probably not multiprocess mode and logs were not buffered
return undef;
}
my $logsref = $singletest_logs{$singletest_bufferedrunner};
*
* o We want FTP-SSL support, which means that a connection that starts with
* plain sockets needs to be able to "go SSL" in the midst. This would also
- * require some nasty perl stuff I'd rather avoid.
+ * require some nasty perl stuff I would rather avoid.
*
* (Source originally based on sws.c)
*/
tftphdr_storage_t buf; /* room for data packet */
};
-#define BF_ALLOC -3 /* alloc'd but not yet filled */
+#define BF_ALLOC -3 /* allocated but not yet filled */
#define BF_FREE -2 /* free */
#define opcode_RRQ 1
current = !current; /* switch to other buffer */
if(bfs[current].counter != BF_FREE) /* if not free */
write_behind(test, convert); /* flush it */
- bfs[current].counter = BF_ALLOC; /* mark as alloc'd */
+ bfs[current].counter = BF_ALLOC; /* mark as allocated */
*dpp = &bfs[current].buf.hdr;
return ct; /* this is a lie of course */
}
signal.signal(signal.SIGTERM, self._sighandler)
def __exit__(self, *_):
- # Call for shutdown just in case it wasn't done already
+ # Call for shutdown just in case it was not done already
self.shutdown_event.set()
# Wait for thread, and therefore also the server, to finish
self.join()
handler.setLevel(logging.DEBUG)
root_logger.addHandler(handler)
else:
- # The logfile wasn't specified. Add a stdout logger.
+ # The logfile was not specified. Add a stdout logger.
add_stdout = True
if options.verbose:
if($_ =~ /(.*)\\f([^BIP])/) {
my ($pre, $format) = ($1, $2);
if($pre !~ /\\\z/) {
- # only if there wasn't another backslash before the \f
+ # only if there was not another backslash before the \f
print STDERR "$file:$line suspicious \\f format!\n";
$errors++;
}