Minor improvement to tzfile.5
Jonathan Leffler
jonathan.leffler at gmail.com
Fri Nov 30 01:58:16 UTC 2007
Here is a patch for tzfile.5 to implement this change and a spelling
correction:
--- tzfile.5.org 2007-08-20 07:47:41.000000000 -0700
+++ tzfile.5 2007-11-29 17:40:34.925076000 -0800
@@ -57,7 +57,9 @@
described in the file is associated with the same-indexed transition time.
These values serve as indices into an array of
.I ttinfo
-structures that appears next in the file;
+structures (with
+.I tzh_typecnt
+entries) that appears next in the file;
these structures are defined as follows:
.in +.5i
.sp
@@ -138,7 +140,7 @@
the above header and data is followed by a second header and data,
identical in format except that
eight bytes are used for each transition time or leap second time.
-After the second header and data comes a newline-encloded,
+After the second header and data comes a newline-enclosed,
POSIX-TZ-environment-variable-style string for use in handling instants
after the last transition time stored in the file
(with nothing between the newlines if there is no POSIX representation for
The attachment (523 bytes) is just in case the patch above is scrambled.
On Nov 25, 2007 7:09 PM, Jonathan Leffler <jonathan.leffler at gmail.com>
wrote:
> Part way through the description of the file structure, the document says:
>
> These values serve as indices into an array of ttinfo
> structures that appears next in the file; these structures
> are defined as follows:
>
> It isn't immediately clear that there are tzh_typecnt entries in the array
> of ttinfo structures.
>
> Maybe the modification is as simple as:
>
> These values serve as indices into an array of ttinfo
> structures (with tzh_typecnt entries) that appears next in the file; these
> structures
> are defined as follows:
>
> --
> Jonathan Leffler < jonathan.leffler at gmail.com> #include <disclaimer.h>
> Guardian of DBD::Informix - v2007.0914 - http://dbi.perl.org
> "Blessed are we who can laugh at ourselves, for we shall never cease to be
> amused."
--
Jonathan Leffler <jonathan.leffler at gmail.com> #include <disclaimer.h>
Guardian of DBD::Informix - v2007.0914 - http://dbi.perl.org
"Blessed are we who can laugh at ourselves, for we shall never cease to be
amused."
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mm.icann.org/pipermail/tz/attachments/20071129/28996c82/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tzf.5.patch.gz
Type: application/x-gzip
Size: 523 bytes
Desc: not available
URL: <http://mm.icann.org/pipermail/tz/attachments/20071129/28996c82/attachment.bin>
More information about the tz
mailing list