From nobody Sat Apr 09 09:37:21 2022 X-Original-To: dev-commits-src-main@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 90A961A930C9; Sat, 9 Apr 2022 09:37:21 +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 4Kb94x3fqQz3CwQ; Sat, 9 Apr 2022 09:37:21 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649497041; 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=HgRgvd9RJvqnfvThiHxiSvkhovvaFrz28mXoSHVwbNM=; b=CP4uvH/dQySy7VRnVCXCaK3Q6r/pXFETpQNp0e/EtUZB0zhxreY7yQw1cy0ou7mIbzkQcK wDpF8ztLuy8Zsm5YSPv3rKbjZaAC1qAufXRN9HJOjqAoUYSzZ35HOMbyEENSJWiQyxNFEl QEJqY8LZkzuL1aFVBE0hFEHV7Kq52QjfHOXOD0uWRbSWsCqM0ugkZ1tz2OnGc6rMJBLCQG zpDZiD1NalVGDKsDyhTAmJpF4JWoTI0ei50bLOCix8EF2+dcDqKxRo0Y1G626pDYfB06w4 hsCd1DlZ5PM1xkFkGkRELoRYS3K1+KgxXtBlo6FFLRkX02WStwD6kLcvQSqvZg== 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 598DA17809; Sat, 9 Apr 2022 09:37:21 +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 2399bLEZ009136; Sat, 9 Apr 2022 09:37:21 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2399bLCx009135; Sat, 9 Apr 2022 09:37:21 GMT (envelope-from git) Date: Sat, 9 Apr 2022 09:37:21 GMT Message-Id: <202204090937.2399bLCx009135@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Gordon Bergling Subject: git: 8dcf5860b369 - main - getenv(3): Fix two typos in source code comments List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@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/main X-Git-Reftype: branch X-Git-Commit: 8dcf5860b369559ba176f5dc0d7ed278f8aecf38 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649497041; 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=HgRgvd9RJvqnfvThiHxiSvkhovvaFrz28mXoSHVwbNM=; b=wuSZjZJqqxJ/qgQuDOnGDbX8Qxrfktw1pQruNYtZVf4pQ4ul5skSyhJdx+aQUcYxc8+00S kvCQ1ptD+MwPFHGb27B/PtDlHf0j64A4hjagUl9S4kB9FE/JmOYReNcMziYPW72rCm1lbQ Dj5JVJTLBqG2C/lIi8O2DcLbH2tMu4Nt61qkxflOGtTpOXjBSmzCXooBwambqjzyu09HfX EyaunMN+ekrRFhBnUzP13ctT2FSrcCyAWYmwV+BH19WuN7yy5kZgzbJ73qxmfvKGyU9/PG VVdejyEc55Q1Fsd8uJw3gzg84/QLYUPulhCp4SSqaZdwhrY2jU1aHVtIaIqFRA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1649497041; a=rsa-sha256; cv=none; b=UdLxEz8o6tTQDxWthzkvHIyYNx11OGMh+uW/tY3hzkRV3HQVwBxYR9Xb6KYiJ+8QhFpLn+ dvkF4N3TrUou9EQc/cuQ2iVgrPhEE3yTN8rpx0HBiFFcPkuKfh7pKM7lLxFwv/R7xT1HoI ftaEI1WRrnZDnLyXd8ILi5AXGjKC6uLb1Ez6lF1bFAYlIgOR/NMQJSbuAphQdOAlhbGBur BouG2d8fcOtayOAERyHP28NW6FIMFO/af5CrhynWvrkLJ+dMRv/HzbD3PJ3WCY9VUFUW7x WZRqNEvxClrBBNrWs5NYJTMo7LefyTrmoeBWC5ZNlKsCix6jk4xryWP7lcQRug== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by gbe (doc committer): URL: https://cgit.FreeBSD.org/src/commit/?id=8dcf5860b369559ba176f5dc0d7ed278f8aecf38 commit 8dcf5860b369559ba176f5dc0d7ed278f8aecf38 Author: Gordon Bergling AuthorDate: 2022-04-09 09:36:48 +0000 Commit: Gordon Bergling CommitDate: 2022-04-09 09:36:48 +0000 getenv(3): Fix two typos in source code comments - s/peform/perform/ MFC after: 3 days --- 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 bf79cb6b0d79..ed0c9efcba6d 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. */