From nobody Fri Apr 19 18:48:52 2024 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 4VLkFJ5SxRz5HY2X; Fri, 19 Apr 2024 18:48:52 +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 4VLkFJ4rqKz4nb4; Fri, 19 Apr 2024 18:48:52 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1713552532; 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=YNQFdDvlUORLd5dj9T7DmrzfpsSuKjBI47I6Fybs3L8=; b=O2+xc8lTu2FXWT9GCW0/9uy8IbKjRyI6sVHDwM52E/M0SmtD6ILRUM/qAceLGMyGlgmeff 37BON4RYh1zO1uNCqKVqMNqfMPsLQvm4kkXSo8vvIZMNVX+SdMq3x+hjd7M6mVlfFDWx4U IgCd09FqFiU6Ih5d4QIijmumTQiVvHkhcUH9wkt5nfQw++mO2EWKmT4Y+p3es+2Y635jAB ITpHnXaLPrMlMdrWS9oRoqFuHtrG/qCF9Pf7BaY1s/ROHYlwTfC5bcii7PcnbZ29cKZMOG 1X/ZmYSAAdWqR/FMZ3cqhDsEsPTXaTrJf29Qv1EWx4GdVNYbZ9GtCQAutK8JYg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1713552532; a=rsa-sha256; cv=none; b=kCB2iy8CF1opCcxzp+W+2dpLn+lvb9WDauzkYYlbHHLW5Gpuqj41FlNvr8NfIzk2eNXbK0 5/nO7NJWTLZdpibtmtcQgFPJloSDgj4D9DN5Bq943RbAJjYuRbWP9Ag0eg85dw2GTYWeiW CNNbgEiXX61L8Crhzklv4nNWIgRB0q6v+rJjUYgA/SktWgFsu+ro70QeXbAZDMOmsOjyP+ mpEkhR6u1gymXgOp/9jKx7S+xryASWCzX/sly7weE7ledmAGwlvEyzUp5/9T0fwyVh+yhb eUlJCJWR3r3a4oFZgazaslrTkY5GQVTB8JBSAZAYXfQFLREeg5hUzk/l8UyM2A== 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=1713552532; 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=YNQFdDvlUORLd5dj9T7DmrzfpsSuKjBI47I6Fybs3L8=; b=abvRaD2EHaTaJaPpCIfiiV1WboyMBBpd+6Cps8k8J/LFkFoITE/veZUISBfpiImJib3gW1 laxU6HCUgxFlcS514KQi32SghnFyq/NbkyYnNPL+h97FBA7OVXQ5/chOKnbNRzTK6ccXT+ NJrKob1mA69VCq2pAy5d6j3LfzGXituqs5bd7z/SA1a6yynXGBelW0yX22qqwQpeQwwgxm XJWBdo84z1JiDkLNI08dXMagt55u8rJqJWpi7/xvdL+EHTWjbbv/MPYLKu+ByZfQ3RfUky 62dqxJlQas7YwxdtKRhC+LBSqo/nfbOt1187mxwJryyOhyzMHiPIvXRpUtzNkA== 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 4VLkFJ4Rw8z14bZ; Fri, 19 Apr 2024 18:48:52 +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 43JImqGh003351; Fri, 19 Apr 2024 18:48:52 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 43JImqO3003348; Fri, 19 Apr 2024 18:48:52 GMT (envelope-from git) Date: Fri, 19 Apr 2024 18:48:52 GMT Message-Id: <202404191848.43JImqO3003348@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Mark Johnston Subject: git: 2f44f86575f9 - main - install: Fix a compiler warning when bootstrapping 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: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: markj X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 2f44f86575f9cba5da28b762c359f7a806400744 Auto-Submitted: auto-generated The branch main has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=2f44f86575f9cba5da28b762c359f7a806400744 commit 2f44f86575f9cba5da28b762c359f7a806400744 Author: Mark Johnston AuthorDate: 2024-04-19 18:22:00 +0000 Commit: Mark Johnston CommitDate: 2024-04-19 18:48:37 +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 --- 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 e25ccf5c6eb1..2823a9040b7a 100644 --- a/usr.bin/xinstall/xinstall.c +++ b/usr.bin/xinstall/xinstall.c @@ -1250,7 +1250,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);