-
Notifications
You must be signed in to change notification settings - Fork 224
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make zic’s ‘-b slim’ option the default. This option first appeared in tzdb 2019b (2019-07-01), and is already the default in NetBSD 9.0 (2020-02-14) and seems to be working there. Using slim format should help finish off the TZif format’s Y2038 transition that began in tzcode 95f (1995-10-28). * Makefile, NEWS, zic.8: Mention this. * zic.c (ZIC_BLOAT_DEFAULT): Default to "slim".
- Loading branch information
Showing
4 changed files
with
13 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,6 +22,7 @@ BUGEMAIL= [email protected] | |
# DATAFORM= main | ||
# To wait even longer for new features, use: | ||
# DATAFORM= rearguard | ||
# Rearguard users might also want "ZFLAGS = -b fat"; see below. | ||
DATAFORM= main | ||
|
||
# Change the line below for your timezone (after finding the one you want in | ||
|
@@ -249,13 +250,12 @@ LDLIBS= | |
# other than simply getting garbage data | ||
# -DUSE_LTZ=0 to build zdump with the system time zone library | ||
# Also set TZDOBJS=zdump.o and CHECK_TIME_T_ALTERNATIVES= below. | ||
# -DZIC_BLOAT_DEFAULT=\"slim\" to default zic's -b option to "slim", and | ||
# similarly for "fat". Fat TZif files work around incompatibilities | ||
# -DZIC_BLOAT_DEFAULT=\"fat\" to default zic's -b option to "fat", and | ||
# similarly for "slim". Fat TZif files work around incompatibilities | ||
# and bugs in some TZif readers, notably readers that mishandle 64-bit | ||
# data in TZif files. Slim TZif files are more efficient and do not | ||
# work around these incompatibilities and bugs. If not given, the | ||
# current default is "fat" but this is intended to change as readers | ||
# requiring fat files often mishandle timestamps after 2037 anyway. | ||
# default is "slim". | ||
# -DZIC_MAX_ABBR_LEN_WO_WARN=3 | ||
# (or some other number) to set the maximum time zone abbreviation length | ||
# that zic will accept without a warning (the default is 6) | ||
|
@@ -390,7 +390,7 @@ ZIC= $(zic) $(ZFLAGS) | |
|
||
# To shrink the size of installed TZif files, | ||
# append "-r @N" to omit data before N-seconds-after-the-Epoch. | ||
# You can also append "-b slim" if that is not already the default; | ||
# To grow the files and work around older application bugs, append "-b fat"; | ||
# see ZIC_BLOAT_DEFAULT above. | ||
# See the zic man page for more about -b and -r. | ||
ZFLAGS= | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters