Bug 38148

Summary: In manpages "timezone" should be "time zone"
Product: Documentation Reporter: Marc Fonvieille <marc>
Component: Books & ArticlesAssignee: Tom Rhodes <trhodes>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
timezone.3.diff
none
sysctl.3.diff
none
environ.7.diff
none
file.diff none

Description Marc Fonvieille 2002-05-16 14:30:01 UTC
"time zone" should be used instead of "timezone" in manual pages. 
Patches below are for:
/usr/src/lib/libc/gen/timezone.3
/usr/src/lib/libc/gen/sysconf.3
/usr/src/lib/libc/gen/sysctl.3
/usr/src/lib/libc/stdtime/ctime.3
/usr/src/share/man/man7/environ.7
/usr/src/share/man/man7/hier.7

Fix: --- sysconf.3.org	Thu May 16 15:05:21 2002
+++ sysconf.3	Thu May 16 15:05:43 2002
@@ -80,7 +80,7 @@
 at any one time.
 .It Li _SC_TZNAME_MAX
 The minimum maximum number of types supported for the name of a
-timezone.
+time zone.
 .It Li _SC_JOB_CONTROL
 Return 1 if job control is available on this system, otherwise \-1.
 .It Li _SC_SAVED_IDS
--- sysconf.3.diff ends here ---

--- ctime.3.org	Thu May 16 15:10:53 2002
+++ ctime.3	Thu May 16 15:11:27 2002
@@ -184,7 +184,7 @@
 function (that is, seconds from the Epoch,
 .Tn UTC ) .
 .Fn mktime
-interprets the input structure according to the current timezone setting
+interprets the input structure according to the current time zone setting
 (see
 .Xr tzset 3 ) .
 .Fn timegm
@@ -267,7 +267,7 @@
 int tm_wday;	/\(** day of week (Sunday = 0) \(**/
 int tm_yday;	/\(** day of year (0 - 365) \(**/
 int tm_isdst;	/\(** is summer time in effect? \(**/
-char \(**tm_zone;	/\(** abbreviation of timezone name \(**/
+char \(**tm_zone;	/\(** abbreviation of time zone name \(**/
 long tm_gmtoff;	/\(** offset from UTC in seconds \(**/
 .Ed
 .Pp
@@ -302,7 +302,7 @@
 .St -isoC ,
 and conform to
 .St -p1003.1-96
-provided the selected local timezone does not contain a leap-second table
+provided the selected local time zone does not contain a leap-second table
 (see
 .Xr zic 8 ) .
 .Pp
@@ -314,7 +314,7 @@
 .Fn localtime_r
 functions are expected to conform to
 .St -p1003.1-96
-(again provided the selected local timezone does not contain a leap-second
+(again provided the selected local time zone does not contain a leap-second
 table).
 .Pp
 The
@@ -340,7 +340,7 @@
 function will modify the same object.
 .Pp
 The C Standard provides no mechanism for a program to modify its current
-local timezone setting, and the
+local time zone setting, and the
 .Tn POSIX Ns No \&-standard
 method is not reentrant.  (However, thread-safe implementations are provided
 in the
--- ctime.3.diff ends here ---
Comment 1 Tom Rhodes freebsd_committer freebsd_triage 2002-05-21 17:58:05 UTC
Responsible Changed
From-To: freebsd-doc->trhodes

I have been working on doing a complete manual page workover...  Hence, 
this can be assigned to me.
Comment 2 Tom Rhodes freebsd_committer freebsd_triage 2005-03-08 03:28:01 UTC
State Changed
From-To: open->closed

According to POSIX, it seems to be 'timezone'. 
In all of my books, I see it spelled 'timezone'. 
I'm closing this PR because I see no reason to make the 
change.