git: 75c8e113e687 - stable/14 - leave: we should also cache time zone
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 29 Jan 2025 12:35:57 UTC
The branch stable/14 has been updated by oshogbo: URL: https://cgit.FreeBSD.org/src/commit/?id=75c8e113e687c4b3d8a284a94b6ec577bd20f791 commit 75c8e113e687c4b3d8a284a94b6ec577bd20f791 Author: Mariusz Zaborski <oshogbo@FreeBSD.org> AuthorDate: 2024-11-27 14:17:07 +0000 Commit: Mariusz Zaborski <oshogbo@FreeBSD.org> CommitDate: 2025-01-29 09:51:22 +0000 leave: we should also cache time zone MFC after: 1 week (cherry picked from commit 08a38bb098e96f2ec77b26fab3b22bc4be89332a) --- 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 78bc17be2501..e6792a50e5ee 100644 --- a/usr.bin/leave/leave.c +++ b/usr.bin/leave/leave.c @@ -75,6 +75,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");