]> git.ipfire.org Git - thirdparty/util-linux.git/commit
hwclock: Remove TZUTC
authorJ William Piggott <elseifthen@gmx.com>
Thu, 23 Apr 2015 23:53:58 +0000 (19:53 -0400)
committerKarel Zak <kzak@redhat.com>
Wed, 29 Apr 2015 10:44:27 +0000 (12:44 +0200)
commit466ff572c7f93d060a33d9d1477478d4d295226a
treeb44cd08260eb237cd76abc732a4ffd4b78368e77
parentb2dcce9d014a8c48e5acc84fcb8c774e94ef87a5
hwclock: Remove TZUTC

commit d53f8ecfbf036eddb2aef737dc0973a613d80ced
introduced the TZUTC environment variable to
facilitate use of the zoneinfo 'right' database.
This was incorrect. Either the TZDIR environment
variable should be used or a system-wide
configuration for the 'right' database should be
used.

See hwclock(8) POSIX vs 'RIGHT' for more details.

TZUTC was undocumented and should be safe to remove.

The commit also caused a regression when using
musl libc, because when TZUTC is unset getenv()
returns a NULL pointer.
Reported-by: Isaac Dunham <ibid.ag@gmail.com>
Signed-off-by: J William Piggott <elseifthen@gmx.com>
sys-utils/hwclock.c