Hello, yet another spell check improvements.
Ilya
From 58ea7d81c586a609aa7bdea44d0c33a7de500fda Mon Sep 17 00:00:00 2001 From: Ilya Shipitsin <[email protected]> Date: Mon, 10 May 2021 12:50:00 +0500 Subject: [PATCH 2/2] CLEANUP: assorted typo fixes in the code and comments This is 23rd iteration of typo fixes --- doc/configuration.txt | 2 +- src/activity.c | 4 ++-- src/haproxy.c | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/configuration.txt b/doc/configuration.txt index 964bc04ce..a716c3481 100644 --- a/doc/configuration.txt +++ b/doc/configuration.txt @@ -12247,7 +12247,7 @@ tcp-request content <action> [{if | unless} <condition>] "tcp-request content" rules are not evaluated. This upgrade method should be preferred to the implicit one consisting to rely on the backend mode. When used, it is possible to set HTTP directives in a frontend without any - warning. These directives will be conditionaly evaluated if the HTTP upgrade + warning. These directives will be conditionally evaluated if the HTTP upgrade is performed. However, an HTTP backend must still be selected. It remains unsupported to route an HTTP connection (upgraded or not) to a TCP server. diff --git a/src/activity.c b/src/activity.c index 179ff1f32..ec230da82 100644 --- a/src/activity.c +++ b/src/activity.c @@ -112,7 +112,7 @@ static __attribute__((noreturn)) void memprof_die(const char *msg) * Worse, we have to account for the risk of reentrance from dlsym() when * it tries to prepare its error messages. Here its ahndled by in_memprof * that makes allocators return NULL. dlsym() handles it gracefully. An - * alternate approch consists in calling aligned_alloc() from these places + * alternate approach consists in calling aligned_alloc() from these places * but that would mean not being able to intercept it later if considered * useful to do so. */ @@ -411,7 +411,7 @@ static int cli_parse_set_profiling(char **args, char *payload, struct appctx *ap } if (strcmp(args[2], "tasks") != 0) - return cli_err(appctx, "Expects etiher 'tasks' or 'memory'.\n"); + return cli_err(appctx, "Expects either 'tasks' or 'memory'.\n"); if (strcmp(args[3], "on") == 0) { unsigned int old = profiling; diff --git a/src/haproxy.c b/src/haproxy.c index c13beb487..1fd4a6be6 100644 --- a/src/haproxy.c +++ b/src/haproxy.c @@ -2623,7 +2623,7 @@ void run_poll_loop() int i; if (stopping) { - /* stop muxes before acknowleding stopping */ + /* stop muxes before acknowledging stopping */ if (!(stopping_thread_mask & tid_bit)) { task_wakeup(mux_stopping_data[tid].task, TASK_WOKEN_OTHER); wake = 1; -- 2.31.1
From 58064260ab0f4b65bad595e9e987d4d4223016a0 Mon Sep 17 00:00:00 2001 From: Ilya Shipitsin <[email protected]> Date: Mon, 10 May 2021 12:45:18 +0500 Subject: [PATCH 1/2] CI: extend spellchecker whitelist, add "ists" as well codespell does not handle plurals, we already whitelusted "ist", let us whitelist "ists" as well --- .github/workflows/codespell.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/codespell.yml b/.github/workflows/codespell.yml index c2130ebf9..de49f4343 100644 --- a/.github/workflows/codespell.yml +++ b/.github/workflows/codespell.yml @@ -14,4 +14,4 @@ jobs: - name: install prerequisites run: sudo pip install codespell - name: check - run: codespell -c -q 2 --ignore-words-list ist,hist,wan,ca,cas,que,ans,te,nd,referer,ot,uint,iif,fo,keep-alives,dosen --skip="CHANGELOG,Makefile,*.fig,*.pem" + run: codespell -c -q 2 --ignore-words-list ist,ists,hist,wan,ca,cas,que,ans,te,nd,referer,ot,uint,iif,fo,keep-alives,dosen --skip="CHANGELOG,Makefile,*.fig,*.pem" -- 2.31.1

