From nobody Mon Jul 10 20:08:28 2023 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 4R0FSD623cz2tqHK; Mon, 10 Jul 2023 20:08: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 4R0FSD5ZXMz4HXH; Mon, 10 Jul 2023 20:08:28 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1689019708; 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=BxE/lfZfwJIfy/vN3TbJGSu10Ceq/glE4+GJmCtICxs=; b=TQjJiJX7UOUlQTxpcvDPRbje35VaO3yg7Ewk+Z2eQOPAhRsAQAi/z5BdX8mJV6NHOPNTLJ eJbRfDZ3TaehUzzxJTWNWeFmIpcLjHg7dMfk/g0itzlVtz337JyJKhQSp6C75+ZlLZ3p/g JobRQe5gDBqam6BurZcBEk+xcuvWilKHl7gwBTmDwqu1+3TzhnccK7KZTV8cdKDKn4JqXI /ZSSgFz90tcdh5qWDM2hZBbAZBpoM29SoR+iZz139LO3yGqrS4DYUuNMlSHWiOQEu/7bG4 biwM0Ozk4dqnyoZHBcwBYKCnJTXIcdFQ8aCS8z9OQ1aJwuGwzfPpFoGrzQzyOA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1689019708; 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=BxE/lfZfwJIfy/vN3TbJGSu10Ceq/glE4+GJmCtICxs=; b=FBfU/UONKmnlJ6yhfm0JB5rvYARrnpGIObVybGhpeHGj4NtFxJgAvwzJvHVjwKthTJDGOq trMyMnBTx/mo0CDIsQMLiO7gU0gp2i08taIURlZ9ZzqLl+SOwqTJXM7n3lXLk10KiyJeOT Yu2+dkibB3ztCNiPyD0s+6Ozdo4FbPSK9dl6T+syoohjZ22ZjiQEpVfFJovbf/xWXHqPUP B2SfF3vNxi92O0x1r91oLLfgvG+0uvKmoE3ZV+cbWXfkV7rjVMWOqHLdX96ZwknULiACIn t9Rxcs7ElaPHI/uqX/59mEQ7PBbBI6BPZ5OXzRhKcwkexVX4fokI3FcVq9SGlA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1689019708; a=rsa-sha256; cv=none; b=GQp9qSAj773gu8jPNvEiSs/A/PJX5XmjdA3MsK29A3nkOvtEHv0eN2PqlPoSEC6Zsv+aHB jtRlaFHLk4eyJS25ju/Na0ct18DvhBRCMVtG/FF8hx1VDi/suApDd18WXZZKOMLNhxPGR3 xzVB3LidzSDSJx2u9t0lLhwbqxcOhtjUTrlZZXhX2568Sz284yh8u/+9F+LmZCMdwJzXPX /VBlR8dgJKahJ1vTbAgpk9yRc1CoAnAHbWgTcS1ISlTnJy567bPrn7Af1QDVYsJi58+xZI XKqAlfMlu5JnnoigpcbFr2fdpkrfJT5jDIVV6NG/ZC8LKQmalpe5DM4MX7qw5Q== 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 4R0FSD4c6LzyB5; Mon, 10 Jul 2023 20:08:28 +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 36AK8SIQ019232; Mon, 10 Jul 2023 20:08:28 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 36AK8SHp019231; Mon, 10 Jul 2023 20:08:28 GMT (envelope-from git) Date: Mon, 10 Jul 2023 20:08:28 GMT Message-Id: <202307102008.36AK8SHp019231@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Eric van Gyzen Subject: git: eb8d2e123d10 - main - dhclient: fix build on i386 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: vangyzen X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: eb8d2e123d109ac84230c8491f3b80f6d71a1dfd Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by vangyzen: URL: https://cgit.FreeBSD.org/src/commit/?id=eb8d2e123d109ac84230c8491f3b80f6d71a1dfd commit eb8d2e123d109ac84230c8491f3b80f6d71a1dfd Author: Eric van Gyzen AuthorDate: 2023-07-10 20:03:39 +0000 Commit: Eric van Gyzen CommitDate: 2023-07-10 20:03:39 +0000 dhclient: fix build on i386 Only i386 still uses a 32-bit time_t. I knew this, and I still failed to compile-test on i386. My bad. Reported by: cy Fixes: c210cac00f258 ("dhclient: fix time parsing for leases...") Sponsored by: Dell EMC Isilon --- sbin/dhclient/tests/option-domain-search.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sbin/dhclient/tests/option-domain-search.c b/sbin/dhclient/tests/option-domain-search.c index a3517c9c1dc1..22a7998575af 100644 --- a/sbin/dhclient/tests/option-domain-search.c +++ b/sbin/dhclient/tests/option-domain-search.c @@ -343,7 +343,9 @@ parse_date_valid(void) abort(); parse_date_helper(" 2 2024/7/2 20:25:50;\n", 1719951950); +#ifndef __i386__ parse_date_helper(" 1 2091/7/2 20:25:50;\n", 3834246350); +#endif } int