Page MenuHomeFreeBSD

D36515.diff
No OneTemporary

D36515.diff

diff --git a/contrib/tzcode/stdtime/ctime.3 b/contrib/tzcode/stdtime/ctime.3
--- a/contrib/tzcode/stdtime/ctime.3
+++ b/contrib/tzcode/stdtime/ctime.3
@@ -30,7 +30,7 @@
.\" From: @(#)ctime.3 8.1 (Berkeley) 6/4/93
.\" $FreeBSD$
.\"
-.Dd March 4, 2022
+.Dd September 16, 2022
.Dt CTIME 3
.Os
.Sh NAME
@@ -94,6 +94,10 @@
(described below) which contains
the broken-out time information for the value after adjusting for the current
time zone (and any other factors such as Daylight Saving Time).
+When the specified time translates to a year that will not fit in an
+.Dv int ,
+.Fn localtime
+returns NULL.
Time zone adjustments are performed as specified by the
.Ev TZ
environment variable (see

File Metadata

Mime Type
text/plain
Expires
Sun, Jan 19, 2:28 AM (3 h, 29 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15916008
Default Alt Text
D36515.diff (710 B)

Event Timeline