Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: src/lib/libc/time
Module Name: src
Committed By: christos
Date: Tue Mar 22 17:48:39 UTC 2022
Modified Files:
src/lib/libc/time: CONTRIBUTING Makefile NEWS localtime.c private.h
theory.html tz-link.html tzselect.8 tzselect.ksh version zdump.c
zic.c
Log Message:
welcome to tzcode-2022a
Changes to code
Fix bug when mktime gets confused by truncated TZif files with
unspecified local time. (Problem reported by Almaz Mingaleev.)
Fix bug when 32-bit time_t code reads malformed 64-bit TZif data.
(Problem reported by Christos Zoulas.)
When reading a version 2 or later TZif file, the TZif reader now
validates the version 1 header and data block only enough to skip
over them, as recommended by RFC 8536 section 4. Also, the TZif
reader no longer mistakenly attempts to parse a version 1 TZIf
file header as a TZ string.
zdump -v now outputs "(localtime failed)" and "(gmtime failed)"
when local time and UT cannot be determined for a timestamp.
To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/lib/libc/time/CONTRIBUTING
cvs rdiff -u -r1.49 -r1.50 src/lib/libc/time/Makefile
cvs rdiff -u -r1.34 -r1.35 src/lib/libc/time/NEWS
cvs rdiff -u -r1.126 -r1.127 src/lib/libc/time/localtime.c
cvs rdiff -u -r1.57 -r1.58 src/lib/libc/time/private.h
cvs rdiff -u -r1.12 -r1.13 src/lib/libc/time/theory.html
cvs rdiff -u -r1.10 -r1.11 src/lib/libc/time/tz-link.html
cvs rdiff -u -r1.9 -r1.10 src/lib/libc/time/tzselect.8
cvs rdiff -u -r1.18 -r1.19 src/lib/libc/time/tzselect.ksh
cvs rdiff -u -r1.17 -r1.18 src/lib/libc/time/version
cvs rdiff -u -r1.55 -r1.56 src/lib/libc/time/zdump.c
cvs rdiff -u -r1.80 -r1.81 src/lib/libc/time/zic.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index