Bug#257244: /usr/bin/zdump: zdump Foo returns GMT rather than an error.
severity 257244 wishlist
At Mon, 05 Jul 2004 21:10:25 +1000,
Robert Collins wrote:
> On Mon, 2004-07-05 at 11:26, GOTO Masanori wrote:
> > Read tzname(3):
> > If the TZ variable does appear in the environment but its value is NULL
> > or its value cannot be interpreted using any of the formats specified
> > below, Coordinated Universal Time (UTC) is used.
> > I close this bug as invalid, ok?
> I don't think it's invalid. tzname(3) is a C api, where it's [more]
> appropriate for users of the API to perform checks for available TZ
> zones programmatically. zdump is a command line utility, and it's not at
> all appropriate for it to fail silently.
You may not consider about ISO C99 or SUSv3 conformance. Check what
the standard says and what the correct implementation is.
BTW, I guess we can support to expanding glibc with some
modifications. So set it to as wishlist.