From owner-freebsd-doc@FreeBSD.ORG Sun Aug 31 04:48:52 2003 Return-Path: Delivered-To: freebsd-doc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6131A16A4BF; Sun, 31 Aug 2003 04:48:52 -0700 (PDT) Received: from arthur.nitro.dk (port324.ds1-khk.adsl.cybercity.dk [212.242.113.79]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8A30943F93; Sun, 31 Aug 2003 04:48:51 -0700 (PDT) (envelope-from simon@arthur.nitro.dk) Received: by arthur.nitro.dk (Postfix, from userid 1000) id B976E10BFAA; Sun, 31 Aug 2003 13:48:49 +0200 (CEST) Date: Sun, 31 Aug 2003 13:48:49 +0200 From: "Simon L. Nielsen" To: Steve Price Message-ID: <20030831114848.GC395@FreeBSD.org> References: <20030828172445.GU424@bsd.havk.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="bKyqfOwhbdpXa4YI" Content-Disposition: inline In-Reply-To: <20030828172445.GU424@bsd.havk.org> User-Agent: Mutt/1.5.4i cc: freebsd-docs@freebsd.org Subject: Re: FW: [PATCH] manpage fix X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 31 Aug 2003 11:48:52 -0000 --bKyqfOwhbdpXa4YI Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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 ----- >=20 > 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. >=20 > The file is normally found at: > /usr/src/lib/libc/stdtime/tzfile.5 > /usr/share/man/man5/tzfile.5.gz >=20 > This patch is hereby disclaimed under the same license under which > FreeBSD itself is distributed. >=20 > -Tilghman >=20 > ----- 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 --=20 Simon L. Nielsen FreeBSD Documentation Team --bKyqfOwhbdpXa4YI Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQE/UeCgh9pcDSc1mlERArnQAKCaVGxk9tgPueVOmoiOND0xd9DHUgCgnASH SFOjyIQ8v/tXTZN7YtcCfaE= =6hp/ -----END PGP SIGNATURE----- --bKyqfOwhbdpXa4YI--