From 97e75f98b7649eb2b0be3c3ac8d9df52d6479887 Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Wed, 22 Apr 2026 21:18:24 +0200 Subject: [PATCH] and later -> or higher --- configure.ac | 2 +- docs/examples/sslbackend.c | 2 +- docs/libcurl/libcurl-tutorial.md | 2 +- lib/http.c | 2 +- lib/md5.c | 4 ++-- lib/setup-vms.h | 2 +- m4/curl-compilers.m4 | 4 ++-- 7 files changed, 9 insertions(+), 9 deletions(-) diff --git a/configure.ac b/configure.ac index 20de432c05..f06100483f 100644 --- a/configure.ac +++ b/configure.ac @@ -670,7 +670,7 @@ CURL_CFLAG_EXTRAS="" if test "$want_werror" = "yes"; then CURL_CFLAG_EXTRAS="-Werror" if test "$compiler_id" = "GNU_C"; then - dnl enable -pedantic-errors for GCC 5 and later, + dnl enable -pedantic-errors for GCC 5 or higher, dnl as before that it was the same as -Werror=pedantic if test "$compiler_num" -ge "500"; then CURL_CFLAG_EXTRAS="$CURL_CFLAG_EXTRAS -pedantic-errors" diff --git a/docs/examples/sslbackend.c b/docs/examples/sslbackend.c index 20002c4f81..c23e3e7e92 100644 --- a/docs/examples/sslbackend.c +++ b/docs/examples/sslbackend.c @@ -37,7 +37,7 @@ * An SSL-enabled libcurl is required for this sample to work (at least one * SSL backend has to be configured). * - * **** This example only works with libcurl 7.56.0 and later! **** + * **** This example only works with libcurl 7.56.0 or higher! **** */ int main(int argc, const char **argv) diff --git a/docs/libcurl/libcurl-tutorial.md b/docs/libcurl/libcurl-tutorial.md index b5cfcf2922..2bc808be86 100644 --- a/docs/libcurl/libcurl-tutorial.md +++ b/docs/libcurl/libcurl-tutorial.md @@ -1444,7 +1444,7 @@ example cookies so the only way to share that is with the share interface. ## [1] -libcurl 7.10.3 and later have the ability to switch over to chunked +libcurl 7.10.3 or higher have the ability to switch over to chunked Transfer-Encoding in cases where HTTP uploads are done with data of an unknown size. diff --git a/lib/http.c b/lib/http.c index 2e94b32640..15bf5eecc6 100644 --- a/lib/http.c +++ b/lib/http.c @@ -2388,7 +2388,7 @@ static CURLcode http_req_set_TE(struct Curl_easy *data, if(req_clen < 0) { /* indeterminate request content length */ if(httpversion > 10) { - /* On HTTP/1.1, enable chunked, on HTTP/2 and later we do not + /* On HTTP/1.1, enable chunked, on HTTP/2 or higher we do not * need it */ data->req.upload_chunky = (httpversion < 20); } diff --git a/lib/md5.c b/lib/md5.c index 65f6ade111..fd3660df83 100644 --- a/lib/md5.c +++ b/lib/md5.c @@ -157,8 +157,8 @@ static void my_md5_final(unsigned char *digest, void *ctx) #include /* For Apple operating systems: CommonCrypto has the functions we need. - These functions are available on Tiger and later, as well as iOS 2.0 - and later. If you are building for an older cat, well, sorry. + These functions are available on 10.4 (Tiger) or higher, as well as + iOS 2.0 or higher. If you are building for an older cat, well, sorry. Declaring the functions as static like this seems to be a bit more reliable than defining COMMON_DIGEST_FOR_OPENSSL on older cats. */ diff --git a/lib/setup-vms.h b/lib/setup-vms.h index 35d12f0b42..14dce26ecb 100644 --- a/lib/setup-vms.h +++ b/lib/setup-vms.h @@ -131,7 +131,7 @@ static char *vms_getenv(const char *envvar) /* may do a malloc(2048) for each call to getenv(), so you will need */ /* to add a free(vms_path) */ /* Do not do a free() for DEC C RTL builds, which should be used for */ - /* VMS 5.5-2 and later, even if using GCC */ + /* VMS 5.5-2 or higher, even if using GCC */ return result; } diff --git a/m4/curl-compilers.m4 b/m4/curl-compilers.m4 index e62b4b4862..4552ee9669 100644 --- a/m4/curl-compilers.m4 +++ b/m4/curl-compilers.m4 @@ -174,7 +174,7 @@ dnl ------------------------------------------------- dnl Verify if compiler being used is GNU C dnl dnl $compiler_num is set to MAJOR * 100 + MINOR for gcc less than version -dnl 7 and $MAJOR * 100 for gcc version 7 and later. +dnl 7 and $MAJOR * 100 for gcc version 7 or higher. dnl dnl Examples: dnl Version 1.2.3 => 102 @@ -548,7 +548,7 @@ AC_DEFUN([CURL_SET_COMPILER_BASIC_OPTS], [ GNU_C) dnl turn implicit-function-declaration warning into error, - dnl at least gcc 2.95 and later support this + dnl at least gcc 2.95 or higher support this if test "$compiler_num" -ge "295"; then tmp_CFLAGS="$tmp_CFLAGS -Werror-implicit-function-declaration" fi