9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] ctime timezone
@ 2004-03-07 15:51 David Tolpin
  0 siblings, 0 replies; only message in thread
From: David Tolpin @ 2004-03-07 15:51 UTC (permalink / raw)
  To: 9fans

Hi,

either ctime(2) or the source in /sys/src/libc/9sys/ctime.c tm2sec.c
is incorrect. The man says that /env/timezone is 
timezone specification (NAME LONG NAME LONG\n), optionally followed
by altenrate time pairs, but the code is written so that the
minimum required is (NAME LONG NAME LONG\n\n), otherwise an
error is reported and the timezone is not set.

David


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-03-07 15:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-03-07 15:51 [9fans] ctime timezone David Tolpin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).