FW: [PATCH] manpage fix
Simon L. Nielsen
simon at FreeBSD.org
Sun Aug 31 11:48:52 UTC 2003
On 2003.08.28 12:24:45 -0500, Steve Price wrote:
> Can someone please verify this patch and get it committed if
> appropriate? Please Cc me on any replies. Thanks.
It looks right, but I just forwared to the de facto timezone maintainer
Garrett Wollman for review. I will get it committed, depending on his
reply.
> ----- Forwarded message from Tilghman Lesher <tilghman at mail.jeffandtilghman.com> -----
>
> While looking at the source for libc, I realized that the tzfile.5
> manpage is missing part of the file format, which could seriously
> screw up anybody attempting to parse the file(s). Attached is a patch
> for this.
>
> The file is normally found at:
> /usr/src/lib/libc/stdtime/tzfile.5
> /usr/share/man/man5/tzfile.5.gz
>
> This patch is hereby disclaimed under the same license under which
> FreeBSD itself is distributed.
>
> -Tilghman
>
> ----- End forwarded message -----
> --- tzfile.5.old Fri Aug 17 10:42:43 2001
> +++ tzfile.5.fix Thu Aug 28 11:15:00 2003
> @@ -15,7 +15,7 @@
> to identify them as
> time zone information files,
> followed by sixteen bytes reserved for future use,
> -followed by four four-byte values
> +followed by six four-byte values
> written in a ``standard'' byte order
> (the high-order byte of the value is written first).
> These values are,
> @@ -89,6 +89,13 @@
> that follow the
> .Li ttinfo
> structure(s) in the file.
> +.Pp
> +Then there are
> +.Va tzh_charcnt
> +bytes of ``timezone identification strings'' in standard C
> +(null-terminated) notation. See
> +.Va tt_abbrind
> +above for how these strings are referenced.
> .Pp
> Then there are
> .Va tzh_leapcnt
--
Simon L. Nielsen
FreeBSD Documentation Team
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-doc/attachments/20030831/5f101914/attachment.sig>
More information about the freebsd-doc
mailing list