On 2025-10-24 01:44, Paul Eggert via tz wrote:
This thread contains proposed patches to add support for the zic options
-D, -m, and -u, which have been in FreeBSD zic for many years.
The implementation differs from that of FreeBSD, to fix some unlikely
security races. I installed these patches in the development
repository on GitHub.
Paul Eggert (3):
New zic option -D, inspired by FreeBSD
New zic option -m, inspired by FreeBSD
New zic option -u, inspired by FreeBSD
Makefile | 8 ++
NEWS | 2 +
zic.8 | 32 +++++++
zic.c | 259 +++++++++++++++++++++++++++++++++++++++++++++++++++++--
4 files changed, 293 insertions(+), 8 deletions(-)
--
2.48.1
Please summarize the new options' functions where mentioned in NEWS, for
non-FreeBSD users and those unfamiliar with these non-standard options, for example:
New zic options, -D, -m mode, -u owner[:group], inspired by FreeBSD:
-D Do not create ancestor directories of output files
-m mode Create TZif files with the given file mode bits
-u owner[:group] Change the output regular files' owner and group to
those specified
although wording could be more consistent between -m and -u, perhaps also saying
TZif files rather than "regular"? files, and more consistent with or referring
to chgrp(3/1)/chmod(3/1)/chown(3/1)/open(3), perhaps only in the option details?
--
Take care. Thanks, Brian Inglis Calgary, Alberta, Canada
La perfection est atteinte Perfection is achieved
non pas lorsqu'il n'y a plus rien à ajouter not when there is no more to add
mais lorsqu'il n'y a plus rien à retrancher but when there is no more to cut
-- Antoine de Saint-Exupéry