Thread (30 messages) 30 messages, 2 authors, 2024-06-11

Re: [PATCH 02/12] tzset: state vars unspecified if geographical TZ

From: Alejandro Colomar <alx@kernel.org>
Date: 2024-06-11 15:42:44

Hi Paul,

On Tue, Jun 11, 2024 at 08:29:05AM GMT, Paul Eggert wrote:
quoted hunk ↗ jump to hunk
---
 man/man3/tzset.3 | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/man/man3/tzset.3 b/man/man3/tzset.3
index 8479b17b0..6e89dd530 100644
--- a/man/man3/tzset.3
+++ b/man/man3/tzset.3
@@ -63,6 +63,11 @@ In a System-V-like environment, it will also set the variables \fItimezone\fP
 have any daylight saving time rules, or to nonzero if there is a time,
 past, present, or future when daylight saving time applies).
 .P
+The
+.BR tzset ()
+function initializes these variables to unspecified values if this
+timezone is a geographical timezone like "America/New_York" (see below).
+.P
Do we want this in a CAVEATS section?

Cheers,
Alex
quoted hunk ↗ jump to hunk
 If the
 .B TZ
 variable does not appear in the environment, the system timezone is used.
@@ -155,7 +160,8 @@ TZ="NZST\-12:00:00NZDT\-13:00:00,M10.1.0,M3.3.0"
 .EE
 .in
 .P
-The second format specifies that the timezone information should be read
+The second, or "geographical",
+format specifies that the timezone information should be read
 from a file:
 .P
 .in +4n
-- 
2.45.2
-- 
<https://www.alejandro-colomar.es/>

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help