9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] /adm/timezone files
@ 1997-10-06  4:08 Kazumi
  0 siblings, 0 replies; only message in thread
From: Kazumi @ 1997-10-06  4:08 UTC (permalink / raw)


According to ctime(2) and /sys/src/libc/9sys/ctime.c, files under
/adm/timezone should have at least 4 fields followed by a newline,
just like inferno's counterparts (/locale/*).  As distributed,
files with no summer time specifications, such as
/adm/timezone/Japan, have only 2 fields, so the parsing fails and
the timezone defaults to GMT. The fix is as follows.

term% diff /n/cd/adm/timezone/Japan /adm/timezone/Japan
1c1
< JST 32400
---
> JST 32400 JST 32400

--
                                        iwane@lit.rd.nttdata.co.jp
"This is where the future lies beneath the burning sulphur skies."
                                    -- C.Hynde, 'Downtown (Akron)'




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

only message in thread, other threads:[~1997-10-06  4:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-10-06  4:08 [9fans] /adm/timezone files Kazumi

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).