diff options
author | Manuel Novoa III <mjn3@codepoet.org> | 2002-10-28 19:01:15 +0000 |
---|---|---|
committer | Manuel Novoa III <mjn3@codepoet.org> | 2002-10-28 19:01:15 +0000 |
commit | 6072ec712b72521d7a13a22b6d9ccf6127c8c005 (patch) | |
tree | 7ccf1da7cde7e5ff0ba8a9a41a038bb5707731cc /libc/stdio | |
parent | fe8cd7e5ad6dc2789cd7a77490926a1495965a7f (diff) |
Allow timezone info to be specified in a file... /etc/TZ. Turned on by
default for now. From the comments...
* Defining __TIME_TZ_FILE causes tzset() to attempt to read the TZ value
* from the file /etc/TZ if the TZ env variable isn't set. The file contents
* must be the intended value of TZ, followed by a newline. No other chars,
* spacing, etc is allowed. As an example, an easy way for me to init
* /etc/TZ appropriately would be: echo CST6CDT > /etc/TZ
Also optimized timezone setting when the timezone string hasn't changed,
as well as fixed a minor buglet wrt SUSv3-allowed chars in TZ std and
dst fields.
Diffstat (limited to 'libc/stdio')
0 files changed, 0 insertions, 0 deletions