From owner-freebsd-doc Thu May 16 7: 4:36 2002 Delivered-To: freebsd-doc@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 0C58937B41D for ; Thu, 16 May 2002 06:30:02 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g4GDU1l73204; Thu, 16 May 2002 06:30:01 -0700 (PDT) (envelope-from gnats) Received: from abigail.blackend.org (blackend.org [212.11.50.35]) by hub.freebsd.org (Postfix) with ESMTP id 90A9A37B411 for ; Thu, 16 May 2002 06:25:08 -0700 (PDT) Received: from abigail.blackend.org (localhost [127.0.0.1]) by abigail.blackend.org (8.12.3/8.12.3/ - 15/04/02) with ESMTP id g4GDN6Sq013081 for ; Thu, 16 May 2002 15:23:06 +0200 (CEST) (envelope-from marc@abigail.blackend.org) Received: (from marc@localhost) by abigail.blackend.org (8.12.3/8.12.3/Submit) id g4GDN6gJ013080; Thu, 16 May 2002 15:23:06 +0200 (CEST) Message-Id: <200205161323.g4GDN6gJ013080@abigail.blackend.org> Date: Thu, 16 May 2002 15:23:06 +0200 (CEST) From: Marc Fonvieille Reply-To: Marc Fonvieille To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: docs/38148: In manpages "timezone" should be "time zone" Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 38148 >Category: docs >Synopsis: In manpages "timezone" should be "time zone" >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Thu May 16 06:30:01 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Marc Fonvieille >Release: FreeBSD 4.6-PRERELEASE i386 >Organization: >Environment: System: FreeBSD abigail.blackend.org 4.6-PRERELEASE FreeBSD 4.6-PRERELEASE #5: Sun May 12 00:30:43 CEST 2002 marc@abigail.blackend.org:/usr/src/sys/compile/ABIGAIL i386 >Description: "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 >How-To-Repeat: >Fix: --- timezone.3.diff begins here --- --- timezone.3.org Thu May 16 15:01:24 2002 +++ timezone.3 Thu May 16 15:03:00 2002 @@ -37,7 +37,7 @@ .Os .Sh NAME .Nm timezone -.Nd return the timezone abbreviation +.Nd return the time zone abbreviation .Sh LIBRARY .Lb libc .Sh SYNOPSIS @@ -46,7 +46,7 @@ .Sh DESCRIPTION .Bf Sy This interface is for compatibility only; it is impossible to reliably -map timezone's arguments to a time zone abbreviation. +map time zone's arguments to a time zone abbreviation. See .Xr ctime 3 . .Ef --- timezone.3.diff ends here --- --- sysconf.3.diff begins here --- --- 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 --- --- sysctl.3.diff begins here --- --- sysctl.3.org Thu May 16 15:06:31 2002 +++ sysctl.3 Thu May 16 15:07:54 2002 @@ -680,7 +680,7 @@ at any one time. .It Li USER_TZNAME_MAX The minimum maximum number of types supported for the name of a -timezone. +time zone. .El .Ss CTL_VM The string and integer information available for the CTL_VM level --- sysctl.3.diff ends here --- --- ctime.3.diff begins 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 --- --- environ.7.diff begins here --- --- environ.7.org Thu May 16 15:13:37 2002 +++ environ.7 Thu May 16 15:13:50 2002 @@ -151,7 +151,7 @@ .Dq /var/tmp . Setting this variable will make them use another directory. .It Ev TZ -The timezone to use when displaying dates. +The time zone to use when displaying dates. The normal format is a pathname relative to .Dq Pa /usr/share/zoneinfo . For example, the command --- environ.7.diff ends here --- --- hier.7.diff begins here --- --- hier.7.org Thu May 16 15:14:47 2002 +++ hier.7 Thu May 16 15:15:22 2002 @@ -87,7 +87,7 @@ see .Xr kerberos 1 .It Pa localtime -local timezone information; +local time zone information; see .Xr ctime 3 .It Pa mail/ @@ -549,7 +549,7 @@ localization support and utilities for .Xr vi 1 .It Pa zoneinfo/ -timezone configuration information; +time zone configuration information; see .Xr tzfile 5 .El --- hier.7.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message