Subject: lib/1398: incorrect paths in ctime(3), tzset(3), and zic(8)
To: None <gnats-bugs@gnats.netbsd.org>
From: Mike Long <mikel@shore.net>
List: netbsd-bugs
Date: 08/21/1995 23:46:07
>Number: 1398
>Category: lib
>Synopsis: incorrect paths in ctime(3), tzset(3), and zic(8)
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: lib-bug-people (Library Bug People)
>State: open
>Class: doc-bug
>Submitter-Id: net
>Arrival-Date: Mon Aug 21 23:50:01 1995
>Last-Modified:
>Originator: Mike Long
>Organization:
Bad Ideas, Inc.
>Release: 19950821
>Environment:
System: NetBSD azathoth 1.0A NetBSD 1.0A (AZATHOTH) #3: Mon Aug 21
02:23:31 EDT 1995 root@azathoth:/usr/src/sys/arch/i386/compile/AZATHOTH
>Description:
The manpages for the timezone package refer to
/usr/local/etc/zoneinfo instead of /usr/share/zoneinfo.
A cross-reference to strftime(3) may also be appropriate (not included
in patch).
>How-To-Repeat:
man ctime
man tzset
man zic
>Fix:
s,local/etc,share,g
*** /usr/src/lib/libc/time/ctime.3~ Mon Mar 20 02:26:33 1995
--- /usr/src/lib/libc/time/ctime.3 Mon Aug 21 23:31:09 1995
***************
*** 184,201 ****
of the Prime Meridian.
.SH FILES
! .ta \w'/usr/local/etc/zoneinfo/posixrules\0\0'u
! /usr/local/etc/zoneinfo time zone information directory
.br
! /usr/local/etc/zoneinfo/localtime local time zone file
.br
! /usr/local/etc/zoneinfo/posixrules used with POSIX-style TZ's
.br
! /usr/local/etc/zoneinfo/GMT for UTC leap seconds
.sp
If
! .B /usr/local/etc/zoneinfo/GMT
is absent,
UTC leap seconds are loaded from
! .BR /usr/local/etc/zoneinfo/posixrules .
.SH SEE ALSO
getenv(3),
--- 184,201 ----
of the Prime Meridian.
.SH FILES
! .ta \w'/usr/share/zoneinfo/posixrules\0\0'u
! /usr/share/zoneinfo time zone information directory
.br
! /usr/share/zoneinfo/localtime local time zone file
.br
! /usr/share/zoneinfo/posixrules used with POSIX-style TZ's
.br
! /usr/share/zoneinfo/GMT for UTC leap seconds
.sp
If
! .B /usr/share/zoneinfo/GMT
is absent,
UTC leap seconds are loaded from
! .BR /usr/share/zoneinfo/posixrules .
.SH SEE ALSO
getenv(3),
cd /usr/src/lib/libc/time/
diff -c2 /usr/src/lib/libc/time/tzset.3\~ /usr/src/lib/libc/time/tzset.3
*** /usr/src/lib/libc/time/tzset.3~ Mon Mar 20 02:26:36 1995
--- /usr/src/lib/libc/time/tzset.3 Mon Aug 21 23:31:55 1995
***************
*** 215,232 ****
UTC is used.
.SH FILES
! .ta \w'/usr/local/etc/zoneinfo/posixrules\0\0'u
! /usr/local/etc/zoneinfo time zone information directory
.br
! /usr/local/etc/zoneinfo/localtime local time zone file
.br
! /usr/local/etc/zoneinfo/posixrules used with POSIX-style TZ's
.br
! /usr/local/etc/zoneinfo/GMT for UTC leap seconds
.sp
If
! .B /usr/local/etc/zoneinfo/GMT
is absent,
UTC leap seconds are loaded from
! .BR /usr/local/etc/zoneinfo/posixrules .
.SH SEE ALSO
getenv(3),
--- 215,232 ----
UTC is used.
.SH FILES
! .ta \w'/usr/share/zoneinfo/posixrules\0\0'u
! /usr/share/zoneinfo time zone information directory
.br
! /usr/share/zoneinfo/localtime local time zone file
.br
! /usr/share/zoneinfo/posixrules used with POSIX-style TZ's
.br
! /usr/share/zoneinfo/GMT for UTC leap seconds
.sp
If
! .B /usr/share/zoneinfo/GMT
is absent,
UTC leap seconds are loaded from
! .BR /usr/share/zoneinfo/posixrules .
.SH SEE ALSO
getenv(3),
*** /usr/src/lib/libc/time/zic.8~ Mon Mar 20 02:26:36 1995
--- /usr/src/lib/libc/time/zic.8 Mon Aug 21 23:32:13 1995
***************
*** 405,409 ****
the earliest transition time recorded in the compiled file is correct.
.SH FILE
! /usr/local/etc/zoneinfo standard directory used for created files
.SH "SEE ALSO"
ctime(3), tzfile(5), zdump(8)
--- 405,409 ----
the earliest transition time recorded in the compiled file is correct.
.SH FILE
! /usr/share/zoneinfo standard directory used for created files
.SH "SEE ALSO"
ctime(3), tzfile(5), zdump(8)
>Audit-Trail:
>Unformatted: