From nobody Wed Apr 24 22:12:37 2024 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 4VPtX61vKrz5JDNq; Wed, 24 Apr 2024 22:12:38 +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 4VPtX56h5Pz4cPN; Wed, 24 Apr 2024 22:12:37 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1713996757; 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=Wf0e9nBdDzff6vV5b1x+cURzq9bQ1eIz8JrBa/dPG30=; b=p+lf7cSY3cKUF8T/aWI/pGNOvp+76DxrihG1XaUwa5MzDeUBy8+YqdsSYhVV8iICsmDddD R+VnDRrjLV8oQnCYZfIR/KW+3tpK0CgvCu1l7CliqFf10eB1jCwdL+R8sAcJt7MFZqc/5C kMaLxpcSa/rqUK50cglEw+sInxqtI9pzLeA4Vrnw6/m3vGBFj/EM31qYICP4eIIN3LPWXa LYzdT3+6DoMg05RsYMWyq7/O9L2ltoNNRxa3ixOWy41D1rE2AUdKDzCanTvl3zwR5EGURR HSMS1L4FD7oHGvLftHBngzO7QpjtFO4r/I3cpS3LOO3LVCBVyj3KmLlUl6ejKg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1713996757; a=rsa-sha256; cv=none; b=Fg6WF5ZCw0cBbRfLFwAFrr0PckCdD0V5aoj7blWDkaU6agmHR9pNJhcilEJm659Je1Hp8D mqIeOZ4Cgv+wJcGO29NOge8PVwqo8yMZJ6IwzSIjT58pD/nchbb0HGX9oidaHF3JjeGoHj lDg2mfs6a8EK7DurVSIjouu1kJSiDMntkQwvjZoS3CoKSbiOjB0BoUimaO9L9vyK/JXg2A NNKq53f7+Xl7oDRRaForcGeqP8CSP4Fl4qQaZd0WFJOYJFc9pQBOu7rQt3g2kn8TwrCM2x J5zzoYoQ4RF/aQWyBwiFlp/o5s7FeTGeOnJIdRSoe2WbMGgxWusOTrxF8Okhfg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1713996757; 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=Wf0e9nBdDzff6vV5b1x+cURzq9bQ1eIz8JrBa/dPG30=; b=Y1um2QZjaDW3Am+eIbsrtTvL9dDcTdHj60d7kxsClLACkRsslwnVnPvBpmxi+GKF5QCthJ iMo6KhDL/T2rEUmDwT4VOmHUinOK6nF+sOkU9sgk9xaVN26wreq7UZwao+4scEqBlUyKuy WyEViwcH3YgV7G7c+g2HDaXIR2+wjnAW3Pckj92i69t9xYM2S6aRFLr97d+g7cQ63iFGNo uw4J+Rzvvqby8aW8UIOYiZ12eHXhnweWSW+SPcnEf3L+KjPB5OBoJJP1SGnW0if/AiYHS6 1uJyyzO5PVbFE3t1mAfCfExO/5zjzwbCz/QjAwt6xe3CHXB+eQZsgtOEhrMlfw== 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 4VPtX56J1tzYX3; Wed, 24 Apr 2024 22:12:37 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 43OMCbng070700; Wed, 24 Apr 2024 22:12:37 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 43OMCbHF070697; Wed, 24 Apr 2024 22:12:37 GMT (envelope-from git) Date: Wed, 24 Apr 2024 22:12:37 GMT Message-Id: <202404242212.43OMCbHF070697@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Dag-Erling =?utf-8?Q?Sm=C3=B8rgrav?= Subject: git: 9f1d4502c295 - stable/14 - install: Fix a compiler warning when bootstrapping 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: X-BeenThere: dev-commits-src-branches@freebsd.org Sender: owner-dev-commits-src-branches@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: des X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: 9f1d4502c29564021dc4772939d0df99abe083e0 Auto-Submitted: auto-generated The branch stable/14 has been updated by des: URL: https://cgit.FreeBSD.org/src/commit/?id=9f1d4502c29564021dc4772939d0df99abe083e0 commit 9f1d4502c29564021dc4772939d0df99abe083e0 Author: Mark Johnston AuthorDate: 2024-04-19 18:22:00 +0000 Commit: Dag-Erling Smørgrav CommitDate: 2024-04-24 22:11:56 +0000 install: Fix a compiler warning when bootstrapping Fixes: 4336161cc9c6 ("install: Don't skip syncing in the common case.") Reviewed by: imp, des Differential Revision: https://reviews.freebsd.org/D44866 (cherry picked from commit 2f44f86575f9cba5da28b762c359f7a806400744) --- usr.bin/xinstall/xinstall.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/usr.bin/xinstall/xinstall.c b/usr.bin/xinstall/xinstall.c index 5d4a6f48b717..1667c54e3649 100644 --- a/usr.bin/xinstall/xinstall.c +++ b/usr.bin/xinstall/xinstall.c @@ -1262,7 +1262,9 @@ copy(int from_fd, const char *from_name, int to_fd, const char *to_name, errno = serrno; err(EX_OSERR, "%s", from_name); } +#ifndef BOOTSTRAP_XINSTALL done: +#endif if (safecopy && fsync(to_fd) == -1) { serrno = errno; (void)unlink(to_name);