Bug 14035

Summary: tzfile.h referenced in tzfile(5) doesn't exist
Product: Documentation Reporter: Ada Lim <ada>
Component: Books & ArticlesAssignee: freebsd-doc (Nobody) <doc>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
patch none

Description Ada Lim 1999-09-29 10:30:00 UTC

    
Comment 1 Joseph Koshy freebsd_committer freebsd_triage 1999-09-30 08:33:46 UTC
Looking at docs/14035, I came across the following anomalies in

a) tzfile.5 refers to 4 4-byte quantities in the header, however
   the header file "tzfile.h" defines 6.  This bug is there is -CURRENT
   too.

b) Missing word '20' in the description in -STABLE.

c) The first field of the header is tzh_ttisgmtcnt in -STABLE (and in
   -CURRENT), not tzh_ttisstdcnt as claimed.

The following patch for -STABLE corrects these errors and adds copyright
info as a comment.  Could you please review?

Koshy
<jkoshy@freebsd.org>
Comment 2 Garrett A. Wollman 1999-09-30 15:44:24 UTC
<<On Thu, 30 Sep 1999 00:33:46 -0700 (PDT), jkoshy@FreeBSD.org said:

> a) tzfile.5 refers to 4 4-byte quantities in the header, however
>    the header file "tzfile.h" defines 6.  This bug is there is -CURRENT
>    too.

tzfile(5) should not reference tzfile.h -- it's an internal header,
not for public consumption.  tzfile.5 may well be more correct --
there is some amount of version skew between libc and zic(8).  (For
example, the current file format includes a magic number at the
beginning of the file, which libc doesn't know about or check for.)

-GAWollman

--
Garrett A. Wollman   | O Siem / We are all family / O Siem / We're all the same
wollman@lcs.mit.edu  | O Siem / The fires of freedom 
Opinions not those of| Dance in the burning flame
MIT, LCS, CRS, or NSA|                     - Susan Aglukark and Chad Irschick
Comment 3 nbm freebsd_committer freebsd_triage 2000-04-18 13:15:24 UTC
State Changed
From-To: open->feedback

wollman's revision 1.6 import seems to clarify the location of this file. 
Is this still a problem? 
Comment 4 nbm freebsd_committer freebsd_triage 2000-06-22 15:15:53 UTC
State Changed
From-To: feedback->closed

Feedback timed out, and this looks clarified.