A NOTE has been added to this issue. 
====================================================================== 
https://www.austingroupbugs.net/view.php?id=1816 
====================================================================== 
Reported By:                eggert
Assigned To:                
====================================================================== 
Project:                    Issue 8 drafts
Issue ID:                   1816
Category:                   System Interfaces
Type:                       Error
Severity:                   Objection
Priority:                   normal
Status:                     New
Name:                       Paul Eggert 
Organization:               UCLA Computer Science 
User Reference:              
Section:                    daylight, timezone, tzname 
Page Number:                2310-2311 
Line Number:                75175-75207 
Final Accepted Text:         
====================================================================== 
Date Submitted:             2024-02-23 08:54 UTC
Last Modified:              2024-04-29 15:42 UTC
====================================================================== 
Summary:                    daylight, timezone, tzname do not work with
location-based TZ
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0001797 strftime "%s" should be able ...
====================================================================== 

---------------------------------------------------------------------- 
 (0006774) Don Cragun (manager) - 2024-04-29 15:42
 https://www.austingroupbugs.net/view.php?id=1816#c6774 
---------------------------------------------------------------------- 
<time.h> DESCRIPTION page 454 line 15841, change XSI to OB XSI.

line 15843, change CX to OB CX.

<time.h> FUTURE DIRECTIONS page 454 line 15856, change "None"
to:<blockquote>The variables <i>daylight</i>, <i>timezone</i>, and
<i>tzname</i> are planned to be removed in a future version of this
standard, as they have unspecified values unless the environment variable
<i>TZ</i> is of the second format.</blockquote>


daylight SYNOPSIS page 801 line 27445,  change XSI to OB XSI.

strptime DESCRIPTION page 2160 lines 70602-70606: add OB shading to "If
this name matches ... shall be set to 0."

timezone SYNOPSIS page 2279 line 74382, change XSI to OB XSI.
Also remove the "()" after timezone in the page heading.

tzset SYNOPSIS page 2310

line 75167: change XSI to OB XSI
line 75169: change CX to OB CX
line 75170: add CX margin marker

tzset DESCRIPTION page 2310

lines 75175-75178 add OB margin marker and shading

line 75175: Prepend "If the value of <i>TZ</i> is of the second format,"

line 75178: change "as described in XBD Chapter 8 (on page 167)" to "as
described for the second <i>TZ</i> format in XBD Section 8.3 (on page
174)"

line 75179: change XSI to OB XSI

line 75179: Also prepend "If the value of <i>TZ</i> is of the second
format,"

Line 75182: Append the following paragraph:<blockquote>[OB]If the value of
<i>TZ</i> is not of the second format, the <i>tzset</i>() function shall
set the array elements of the external variable <i>tzname</i> to point to
unspecified string values[/OB]

    [OB XSI]and shall set the external variables <i>daylight</i> and
<i>timezone</i> to unspecified values.[/OB XSI]<blockquote>

line 75183: change XSI to OB XSI

line 75199 (APPLICATION USAGE) Append the following
paragraph:<blockquote>The values of the variables <i>daylight</i>,
<i>timezone</i>, and <i>tzname</i> can only be relied upon to reflect the
local timezone information if the environment variable <i>TZ</i> value is
of the second format. Applications should use the <i>tm_zone</i> member of
the <b>tm</b> structure instead of <i>tzname</i> and the <i>tm_gmtoff</i>
member instead of <i>timezone</i>.  When using <i>tm_zone</i> and
<i>tm_gmtoff</i> there is no need for the information that is available in
<i>daylight</i>.</blockquote>


page 2311 line 75207 (tzset() FUTURE DIRECTIONS), change "None"
to:<blockquote>The variables <i>daylight</i>, <i>timezone</i>, and
<i>tzname</i> are planned to be removed in a future version of this
standard, as they have unspecified values unless the environment variable
<i>TZ</i> is of the second format.</blockquote>

page 2311 line 75210 (tzset() SEE ALSO), change:<blockquote>XBD Chapter 8
(on page 167)</blockquote>to:<blockquote>XBD Section 8.3 (on page
174)</blockquote> 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2024-02-23 08:54 eggert         New Issue                                    
2024-02-23 08:54 eggert         Name                      => Paul Eggert     
2024-02-23 08:54 eggert         Organization              => UCLA Computer
Science
2024-02-23 08:54 eggert         Section                   => daylight, timezone,
tzname
2024-02-23 08:54 eggert         Page Number               => 2310-2311       
2024-02-23 08:54 eggert         Line Number               => 75175-75207     
2024-02-25 07:07 kre            Note Added: 0006678                          
2024-02-26 18:06 eggert         Note Added: 0006687                          
2024-02-26 19:23 eblake         Relationship added       related to 0001797  
2024-04-29 15:42 Don Cragun     Note Added: 0006774                          
======================================================================


  • [Issue 8 dra... Austin Group Bug Tracker via austin-group-l at The Open Group
    • [Issue ... Austin Group Bug Tracker via austin-group-l at The Open Group
    • [Issue ... Austin Group Bug Tracker via austin-group-l at The Open Group
    • [Issue ... Austin Group Bug Tracker via austin-group-l at The Open Group

Reply via email to