From nobody Wed Nov 27 14:18:33 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 4Xz1kx53f1z5fGfk; Wed, 27 Nov 2024 14:18:33 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Xz1kx2HQ6z4XPq; Wed, 27 Nov 2024 14:18:33 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1732717113; 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=uWEerABG8qo4XLSk2T8N/VpMjxlUkNgWJahLAspJLmc=; b=BP5XtfOQg/M6C1fu3OTPWXBGw+d4+k50jEyqCjdmDhDUJpVcyp//Q0BudY43eg40xqEBBM U4W8UEIDkEimpPh2MSPhRyEjHeCgp/WM7XJU+SrYgR16IBmoCIpkOrSDnrqA4T5ls5k1g3 ZI45x6g+FvYJRx7XzWSpP7YFDzRCUBxQV5TSq7OnYtJJcwwCvjfQQnI09lqxmAdB+50zTT DEJhs7pxxQdQojBxbra6JE+PYtWPNw+H9kWAlJbbwaTq410jTW4YxQgwUO6j/8J3BNYQZu 30WoD3lYmnh1fdoLP+iqLhGa1UTfJL+wsMUvagenzCLESGX8w7CT7R/kYRqwlA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1732717113; 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=uWEerABG8qo4XLSk2T8N/VpMjxlUkNgWJahLAspJLmc=; b=NZ6JE4DVqP/zzAZFCkh4DXqtR8IHPfrksc0RezBNZGE/9Impr+7dRMEwcIwPs2I5pX96ku Nq0SNuBDcaystox9l11FwfBMZkP41XJrvazr6Xl6hXn20foN61dgcQKRTItLep/YOn86JO wbf9Igob5/Yn3vx5eJBxuVVo8cbulmgR2y89+SGaucAKhQFHbvi80LeWBuDz9aQIjvMjSB eFrpMHiwxu3VYe/MxmoxlKXJRUPIJuNhhO2rxC+3uyohaK4nPrJaa6IkLNl2hkxACOkG3c Eqtbwa48D1fcaQRyzPaKb3/fQ4GKq1Mjsrsi194Y3B/5qMsyXE86f8BgahJ3iQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1732717113; a=rsa-sha256; cv=none; b=MYw7eQIRuICo8Or2UNKl83qC/4fGcMABycv09Fz4qwlg+fMJpneAhVpNaflAEI1uPlp/ny r32xqWwJa7Is7EJIDJqDdQ8+QG7pyK4v02n9rXjD3LdjVsQcAOIFbWTztjmoqR/MqiT6eq QpQl1XAnEdidYkjKuneFAsxK4n1MBYxdhcPm3HOYLNgtGeZbRppeFeVm8ocXozy4FBpigf 4ajnSN/p2y1axmX2d8WAUNkup/EDZxoTUGvsOefAwxrlJG3ig9vOaGIZ+2Y2LkvJLXga7b ialBAqXimycBsUD0rEo8rzqPZuMuFupiO3JJzqaVqpeAitl1O8BUs9pPsthjFg== 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 4Xz1kx1tWbz1Cjr; Wed, 27 Nov 2024 14:18:33 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 4AREIXQX014898; Wed, 27 Nov 2024 14:18:33 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4AREIXN2014895; Wed, 27 Nov 2024 14:18:33 GMT (envelope-from git) Date: Wed, 27 Nov 2024 14:18:33 GMT Message-Id: <202411271418.4AREIXN2014895@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Mariusz Zaborski Subject: git: 08a38bb098e9 - main - leave: we should also cache time zone 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: oshogbo X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 08a38bb098e96f2ec77b26fab3b22bc4be89332a Auto-Submitted: auto-generated The branch main has been updated by oshogbo: URL: https://cgit.FreeBSD.org/src/commit/?id=08a38bb098e96f2ec77b26fab3b22bc4be89332a commit 08a38bb098e96f2ec77b26fab3b22bc4be89332a Author: Mariusz Zaborski AuthorDate: 2024-11-27 14:17:07 +0000 Commit: Mariusz Zaborski CommitDate: 2024-11-27 14:19:07 +0000 leave: we should also cache time zone MFC after: 1 week --- usr.bin/leave/leave.c | 1 + 1 file changed, 1 insertion(+) diff --git a/usr.bin/leave/leave.c b/usr.bin/leave/leave.c index aed774025b71..a310f3e4a75c 100644 --- a/usr.bin/leave/leave.c +++ b/usr.bin/leave/leave.c @@ -63,6 +63,7 @@ main(int argc, char **argv) if (setlocale(LC_TIME, "") == NULL) warn("setlocale"); + caph_cache_tzdata(); caph_cache_catpages(); if (caph_limit_stdio() < 0 || caph_enter() < 0) err(EXIT_FAILURE, "capsicum");