git: 5d50c2397a96 - main - src.conf.5: Add WITH_ZONEINFO_LEAPSECONDS_SUPPORT warning
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 09 May 2025 18:53:58 UTC
The branch main has been updated by jrm: URL: https://cgit.FreeBSD.org/src/commit/?id=5d50c2397a96c2b24219df53c7e94c5d512d65e1 commit 5d50c2397a96c2b24219df53c7e94c5d512d65e1 Author: Andrew Gierth <andrew@tao146.riddles.org.uk> AuthorDate: 2025-05-09 18:04:17 +0000 Commit: Joseph Mingrone <jrm@FreeBSD.org> CommitDate: 2025-05-09 18:53:42 +0000 src.conf.5: Add WITH_ZONEINFO_LEAPSECONDS_SUPPORT warning People are turning on the option and then tripping over weird consequences. See bugs 248338 and 271170 as examples. Approved by: cy, imp, philip Differential Revision: https://reviews.freebsd.org/D25902 Co-authored-by: Joseph Mingrone <jrm@FreeBSD.org> --- share/man/man5/src.conf.5 | 7 ++++++- tools/build/options/WITH_ZONEINFO_LEAPSECONDS_SUPPORT | 5 +++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/share/man/man5/src.conf.5 b/share/man/man5/src.conf.5 index b3a327069393..ba88b995e51d 100644 --- a/share/man/man5/src.conf.5 +++ b/share/man/man5/src.conf.5 @@ -1,5 +1,5 @@ .\" DO NOT EDIT-- this file is @generated by tools/build/options/makeman. -.Dd May 5, 2025 +.Dd May 9, 2025 .Dt SRC.CONF 5 .Os .Sh NAME @@ -1896,6 +1896,11 @@ When set, it enforces these options: .El .It Va WITH_ZONEINFO_LEAPSECONDS_SUPPORT Build leapsecond information in to the timezone database. +This option violates +.St -p1003.1 +and all other applicable standards, and is known to cause unexpected +issues with date/time handling in many applications and programming +languages. .El .Pp The following options accept a single value from a list of valid values. diff --git a/tools/build/options/WITH_ZONEINFO_LEAPSECONDS_SUPPORT b/tools/build/options/WITH_ZONEINFO_LEAPSECONDS_SUPPORT index f3d97df2fb89..32aadf6d46c9 100644 --- a/tools/build/options/WITH_ZONEINFO_LEAPSECONDS_SUPPORT +++ b/tools/build/options/WITH_ZONEINFO_LEAPSECONDS_SUPPORT @@ -1 +1,6 @@ Build leapsecond information in to the timezone database. +This option violates +.St -p1003.1 +and all other applicable standards, and is known to cause unexpected +issues with date/time handling in many applications and programming +languages.