On Mon, 30 Dec 2019 11:23:29 -0600, Kirk Wolf wrote:
>See this five year old RFE (where requirements go to die):
>https://www.ibm.com/developerworks/rfe/execute?use_case=viewRfe&CR_ID=59716
>
A couple further thoughts (it's probably discourteous to amend an RFE ex post 
facto):
POSIX says:  
https://pubs.opengroup.org/onlinepubs/9699919799/functions/tzset.html#tag_16_629_03
    DESCRIPTION  ... If TZ is absent from the environment, 
implementation-defined
    default timezone information shall be used..

It might be less disruptive to blind-dubbed processes not to set TZ but to
use "implementation-defined default timezone information".  A couple OSes
I know do this as follows:

    528 $ uname -a; ls -l /etc/localtime
    Darwin PaulGilm.wifi.belezacoffeebar.com 18.7.0 Darwin Kernel Version 
18.7.0: Tue Aug 20 16:57:14 PDT 2019; root:xnu-4903.271.2~2/RELEASE_X86_64 
x86_64
    lrwxr-xr-x  1 root  wheel  40 Nov 23 11:46 /etc/localtime -> 
/var/db/timezone/zoneinfo/America/Denver

    1064 $ uname -a; ls -l /etc/localtime
    Linux Bunsen5-PG 4.9.0-11-686-pae #1 SMP Debian 4.9.189-3+deb9u2 
(2019-11-11) i686 GNU/Linux
lrwxrwxrwx 1 root root 34 Sep 18 18:35 /etc/localtime -> 
/usr/share/zoneinfo/America/Denver

z/OS might just use the value in BPXPRMxx but not set TZ.

And:  https://tools.ietf.org/html/rfc8536#section-3.3
3.3.  TZif Footer
   The TZif footer is structured as follows (the lengths of multi-octet
   fields are shown in parentheses):

                      +---+--------------------+---+
                      | NL|  TZ string (0...)  |NL |
                      +---+--------------------+---+
                                TZif Footer
   The elements of the footer are defined as follows:
   TZ string:  ... e as defined in Section 8.3 of the "Base
      Definitions" volume of [POSIX] with ASCII encoding

Elsewhere I found suggestions that an implementation might rely only
on the  TZif Footer (with reduced function) to avoid greater code
changes or performance impacts, or install only the footers to save
storage.

-- gil

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to