From nobody Thu Apr 14 06:45:25 2022 X-Original-To: dev-commits-src-all@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 1A34B1B56E17; Thu, 14 Apr 2022 06:45:28 +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 4Kf92G39Snz4SPR; Thu, 14 Apr 2022 06:45:25 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649918726; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=xTxMh0p2eife32iICdefq8FlX5qac2M6jV4Fcl/lFiU=; b=xf5NPwgQiVFveKycAXQ3h7ZTtBiEQPget7jRI1e38ruvWrcasXRpXdsJ/IinXsSMNfx9s+ ESPQxz/WAnEmhH33Asck9uOueSchRpAkpO4v3E99JJ8+SkzA3LfZJiFyDa9T7mS5760ohK 5U9Wdi25VAlBIIdyE1cfsxsyf5g56Wd846+QJ4OxnAE1eQjj/G7TY3+GTo/h+oqyEGojjB XIi3ouWYjMksexTgv6ehkvlP2SNWDjAEtgHMju3p+ZhkyjjLPgaWfS7VC7UfWSwmloa0AF v9V8Xp5e/DUiOR1sYSXJW+Yi/CvlCqJApEz/wYpt+KMZQSlbcaH49JwMdHulmw== 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 C8CE81BC09; Thu, 14 Apr 2022 06:45:25 +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 23E6jP0C097261; Thu, 14 Apr 2022 06:45:25 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 23E6jPZl097260; Thu, 14 Apr 2022 06:45:25 GMT (envelope-from git) Date: Thu, 14 Apr 2022 06:45:25 GMT Message-Id: <202204140645.23E6jPZl097260@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Gordon Bergling Subject: git: 77f4623d41d4 - stable/12 - getenv(3): Fix two typos in source code comments List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: gbe X-Git-Repository: src X-Git-Refname: refs/heads/stable/12 X-Git-Reftype: branch X-Git-Commit: 77f4623d41d442de7f87c50c4a256f5dfcd39658 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649918726; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=xTxMh0p2eife32iICdefq8FlX5qac2M6jV4Fcl/lFiU=; b=PO+5PUKeRJVWFfDzStybO/iF7ht/uJgOeoc/6h/jU1a0IoQ8fXQAAnnQKXBfB74PQaB6qD /IDwLg1gDN+lONsTesW53YHCLRqzqPbND+iIfB15qlLyR6BctLr4euXELU3H/GIg6gJp6u QL9vkIdsceIH9R2mKNtdnlK1QuiUTx+Ay/q+552ZGKZehZkZU4jN4ovk6ZAyuBE6+2Nmvg 5gQL+3i5EKikRxyfq9Xgyc9YS3yzsO91WOP4Q3NPc+yhuCCJSXa8FCI7kC1yx4e8kiW9l0 DG7Im9uyOQwXqJeMxGdANUrgbozEN8v3PkLSGj5kFipfZsBX7i9Yw6MzdE8vgQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1649918726; a=rsa-sha256; cv=none; b=VRN4V6xak+a4GnExhHKNp9ksNFv7yltQtJQzwrwJgJi9eIi/xnrrTqnpNGyDxKWgbCLAgY Y/kYbfUPsvVsjm6T0hQpGWsMt3pVQkcESlMyvK1cemZSBIuk6HkR90a4MJvs4xqJT7tr0r d9Ho4w6VE5uIXzaqVYY+1sDpMZsiqkySlor8mhCXPFGie1QoH8dIxYZ85hbLZT4atNJw9t pdVmiMkINIbM72uQ4a1DHqTZZ4NdFX+8L3GknpDM+Kovb0lmlRHqb2D21pemSEdQuzELJ3 ioRtLqYPGKcbkx7BvOdKz17etwqZIcR+Xk69p+x9+aXa9XJwfIKX04t7xdXPuw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/12 has been updated by gbe (doc committer): URL: https://cgit.FreeBSD.org/src/commit/?id=77f4623d41d442de7f87c50c4a256f5dfcd39658 commit 77f4623d41d442de7f87c50c4a256f5dfcd39658 Author: Gordon Bergling AuthorDate: 2022-04-09 09:36:48 +0000 Commit: Gordon Bergling CommitDate: 2022-04-14 06:41:24 +0000 getenv(3): Fix two typos in source code comments - s/peform/perform/ (cherry picked from commit 8dcf5860b369559ba176f5dc0d7ed278f8aecf38) --- lib/libc/stdlib/getenv.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/libc/stdlib/getenv.c b/lib/libc/stdlib/getenv.c index 5d445e18d93b..4c71801b242f 100644 --- a/lib/libc/stdlib/getenv.c +++ b/lib/libc/stdlib/getenv.c @@ -122,7 +122,7 @@ __env_warnx(const char *msg, const char *name, size_t nameLen) /* * Inline strlen() for performance. Also, perform check for an equals sign. - * Cheaper here than peforming a strchr() later. + * Cheaper here than performing a strchr() later. */ static inline size_t __strleneq(const char *str) @@ -575,7 +575,7 @@ __merge_environ(void) /* - * The exposed setenv() that peforms a few tests before calling the function + * The exposed setenv() that performs a few tests before calling the function * (__setenv()) that does the actual work of inserting a variable into the * environment. */