From nobody Fri Nov 19 05:00:45 2021 X-Original-To: dev-commits-src-branches@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id D17C5189D26A; Fri, 19 Nov 2021 05:00:46 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4HwPct4Ks2z4Zgg; Fri, 19 Nov 2021 05:00:46 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 0D48822519; Fri, 19 Nov 2021 05:00:46 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 1AJ50jGv072070; Fri, 19 Nov 2021 05:00:45 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1AJ50jBe072069; Fri, 19 Nov 2021 05:00:45 GMT (envelope-from git) Date: Fri, 19 Nov 2021 05:00:45 GMT Message-Id: <202111190500.1AJ50jBe072069@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Warner Losh Subject: git: d1230690019a - stable/12 - src/bin/sh: Fix spelling errors List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-branches@freebsd.org X-BeenThere: dev-commits-src-branches@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: imp X-Git-Repository: src X-Git-Refname: refs/heads/stable/12 X-Git-Reftype: branch X-Git-Commit: d1230690019a36c3d545135721b955e2b62dcf51 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch stable/12 has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=d1230690019a36c3d545135721b955e2b62dcf51 commit d1230690019a36c3d545135721b955e2b62dcf51 Author: Elyes HAOUAS AuthorDate: 2021-11-19 04:59:41 +0000 Commit: Warner Losh CommitDate: 2021-11-19 04:59:41 +0000 src/bin/sh: Fix spelling errors Pull Request: https://github.com/freebsd/freebsd-src/pull/544 Signed-off-by: Elyes HAOUAS (cherry picked from commit 48556dff3d028da85b864c6662534e1388a255c8) --- bin/sh/error.c | 2 +- bin/sh/eval.c | 2 +- bin/sh/nodetypes | 2 +- bin/sh/shell.h | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/bin/sh/error.c b/bin/sh/error.c index 784d2a9eb91a..1dee56fcbfa7 100644 --- a/bin/sh/error.c +++ b/bin/sh/error.c @@ -74,7 +74,7 @@ static void exverror(int, const char *, va_list) __printf0like(2, 0) __dead2; * just do a longjmp to the exception handler. The type of exception is * stored in the global variable "exception". * - * Interrupts are disabled; they should be reenabled when the exception is + * Interrupts are disabled; they should be re-enabled when the exception is * caught. */ diff --git a/bin/sh/eval.c b/bin/sh/eval.c index 6adc3ac6426d..ab8d331393b4 100644 --- a/bin/sh/eval.c +++ b/bin/sh/eval.c @@ -903,7 +903,7 @@ evalcommand(union node *cmd, int flags, struct backcmd *backcmd) * the hash table isn't filled with items * from the temporary setting. * - * It would be better to forbit using and + * It would be better to forbid using and * updating the table while this command * runs, by the command finding mechanism * is heavily integrated with hash handling, diff --git a/bin/sh/nodetypes b/bin/sh/nodetypes index 496ffba05924..0d0d657d67e8 100644 --- a/bin/sh/nodetypes +++ b/bin/sh/nodetypes @@ -64,7 +64,7 @@ NPIPE npipe # a pipeline backgnd int # set to run pipeline in background cmdlist nodelist # the commands in the pipeline -NREDIR nredir # redirection (of a compex command) +NREDIR nredir # redirection (of a complex command) type int n nodeptr # the command redirect nodeptr # list of file redirections diff --git a/bin/sh/shell.h b/bin/sh/shell.h index c06e737e658f..536efe6ce228 100644 --- a/bin/sh/shell.h +++ b/bin/sh/shell.h @@ -55,7 +55,7 @@ /* #define DEBUG 1 */ /* - * Type of used arithmetics. SUSv3 requires us to have at least signed long. + * Type of used arithmetic. SUSv3 requires us to have at least signed long. */ typedef intmax_t arith_t; #define ARITH_FORMAT_STR "%" PRIdMAX