From nobody Tue Jul 05 15:30:01 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 511D41D06F9B; Tue, 5 Jul 2022 15:30:02 +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 4Lcmnk1ggNz4VCm; Tue, 5 Jul 2022 15:30:02 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1657035002; 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=54RVfQmzDzznGtTUPPPVD7vfGf1Fm4KizJNcRtF9E0g=; b=JyljlYcB2S2s55FJlMIZtAVS/1vFElzHdU72uhJ1YR16YEVGA37IGV93+s5iy+mAmkrGom 3RVa6JYpkVW7R0FE3270yQ32AGikGcrcbHDHS5oNPWuHuI9e7Jhhew4ohlL9IoW/gpEQSX BTPBwvI6a9CeBwoFp9Jonbs4eUgEt7tJ8uUPZNtKcU222/LU7enJjxsekLVIV0PM+F8P48 Q1P5m08Lu+T63UjLfzvtuUkVXSv3eFi6BQDC5TJVInhMd8GWn1V5J2Dlr0D9VElxK8Eyhk z5gSDT6H4wDMnZCTyH88+o48lfOk+0d861yG3XHA7xL7iqdqPD7nX3sYQ1+VYQ== 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 15C63B8; Tue, 5 Jul 2022 15:30:02 +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 265FU1E0099297; Tue, 5 Jul 2022 15:30:01 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 265FU1u5099294; Tue, 5 Jul 2022 15:30:01 GMT (envelope-from git) Date: Tue, 5 Jul 2022 15:30:01 GMT Message-Id: <202207051530.265FU1u5099294@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Tom Jones Subject: git: 1e692b938e37 - main - xargs: fix description of strnsubst return value 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: thj X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 1e692b938e37a9b43a43ace2739eb6b97379cac0 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1657035002; 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=54RVfQmzDzznGtTUPPPVD7vfGf1Fm4KizJNcRtF9E0g=; b=qSmSwMtV1XfvklZIpv0gtNcXH1MuD7dOhU9Nh4EWXulzINeiDAqHX2b+kP3EHbY4UFhTEb armo1daohpnoJIyIqv8luPJl7yykU/545PgwGOCtxLyng8gtFepzhxHtuMESTWOShH4XAC /tgqqj2WBC6nZVeWFBV2IrleWNaTYrzpGNvuEDO5IEnp9a6WQIvzWDVet6+fq1AJPJ6XHI BpZnz5eS8Ohu6kYLEH4Eok+jl1LXi+pIK2ajBe3g1Z9KN/GcOwUIzxoclF6gOQN4xf/elF dotyp2coZLgtTvYYuWO5O0B4hAyEeh5s3WjyHG2qIhpHkHm/0URH5L8bNN1bGQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1657035002; a=rsa-sha256; cv=none; b=k2LpavyNuiusgeOp8AAZQo3TE554VExWf7FDheJyGRFS09jY1p1h2xfIsnPtNydBxa+GBz uHxkwrOHPgm4HlHwV86HmB5MVHtKwH9EL1eJrpXLV1rJD3RzUiQ+U2SbvJHP2MEoiuA2A0 K60g7a2+IENTuXPi41v89cfhXyZx0HpuCcVTqD+aNSkL1tebsypE95S5iSGZSp+RbNLwiB 1dB7Qq+Nqel+dGlt2NB28z5FrkZd7gIC1/0WbZtFnDLQ0AP4HAq0kVPtfyqOc4549WT40n C4LNTY02ZucTBHOTpI4fDomKnqW8RWQJLtqjr236rjD9wPw6jhraP9v+R2ZuPw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by thj: URL: https://cgit.FreeBSD.org/src/commit/?id=1e692b938e37a9b43a43ace2739eb6b97379cac0 commit 1e692b938e37a9b43a43ace2739eb6b97379cac0 Author: Tom Jones AuthorDate: 2022-07-05 15:27:15 +0000 Commit: Tom Jones CommitDate: 2022-07-05 15:27:15 +0000 xargs: fix description of strnsubst return value Reported by: oshogbo Sponsored by: Klara, Inc. Differential Revision: https://reviews.freebsd.org/D35574 --- usr.bin/xargs/strnsubst.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.bin/xargs/strnsubst.c b/usr.bin/xargs/strnsubst.c index 1fa35d453f49..4a2ecd5aa9a8 100644 --- a/usr.bin/xargs/strnsubst.c +++ b/usr.bin/xargs/strnsubst.c @@ -28,7 +28,7 @@ bool strnsubst(char **, const char *, const char *, size_t); * If replstr is NULL, then that internally is changed to a nil-string, so * that we can still pretend to do somewhat meaningful substitution. * - * Returns true if truncation was needed to do the replacement, true if + * Returns true if truncation was needed to do the replacement, false if * truncation was not required. */ bool