The branch main has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=0bf113e9041fe20e8c671fe6b2cca8612dc77b77
commit 0bf113e9041fe20e8c671fe6b2cca8612dc77b77 Author: Mark Johnston <ma...@freebsd.org> AuthorDate: 2025-07-18 20:39:52 +0000 Commit: Mark Johnston <ma...@freebsd.org> CommitDate: 2025-07-18 20:47:59 +0000 tzcode: Add an explicit "the timezone file has changed" case This is required for the WITHOUT_DETECT_TZ_CHANGES case, since there the value being tested is a numeric literal. Fixes: d63ffdd1ef63 ("tzcode: Fix time zone change detection.") --- contrib/tzcode/localtime.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/contrib/tzcode/localtime.c b/contrib/tzcode/localtime.c index 5c3ef7ed47af..a6ec3d8e4e21 100644 --- a/contrib/tzcode/localtime.c +++ b/contrib/tzcode/localtime.c @@ -514,6 +514,8 @@ tzloadbody(char const *name, struct state *sp, bool doextend, return errno; case 0: return 0; + case 1: + break; } } fid = _open(name, O_RDONLY | O_BINARY);