9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Kazumi Iwane iwane@lit.rd.nttdata.co.jp
Subject: [9fans] /adm/timezone files
Date: Mon,  6 Oct 1997 13:08:53 +0900	[thread overview]
Message-ID: <19971006040853.0NJGQVqI4Vz2Z9mJLLUYO2Vtq2NTfqvST2nMtduxUTg@z> (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)'




                 reply	other threads:[~1997-10-06  4:08 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=19971006040853.0NJGQVqI4Vz2Z9mJLLUYO2Vtq2NTfqvST2nMtduxUTg@z \
    --to=9fans@9fans.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).