Date: Thu, 09 May 1996 09:18:14 +0900 From: Masafumi NAKANE/=?ISO-2022-JP?B?GyRCQ2Y6LDJtSjgbKEI=?= <max@sfc.wide.ad.jp> To: terry@lambert.org Cc: max@sfc.wide.ad.jp, freebsd-hackers@FreeBSD.org Subject: Re: date change and wtmp record Message-ID: <199605090018.JAA17253@mail.tky007.tth.expo96.ad.jp> In-Reply-To: Your message of "Wed, 8 May 1996 17:03:56 -0700 (MST)" References: <199605090003.RAA27307@phaeton.artisoft.com>
next in thread | previous in thread | raw e-mail | index | archive | help
From: Terry Lambert <terry@lambert.org>
Subject: Re: date change and wtmp record
Date: Wed, 8 May 1996 17:03:56 -0700 (MST)
> In line 220 of /src/bin/date/date.c:
>
>
> /* set the time */
> if (nflag || netsettime(tval)) {
> logwtmp("|", "date", "");
> tv.tv_sec = tval;
> tv.tv_usec = 0;
> if (settimeofday(&tv, (struct timezone *)NULL))
> err(1, "settimeofday (timeval)");
> ******** logwtmp("{", "date", "");
> }
>
> It is clearly a '{'.
>
> This assumes you are using the standard "date" command to set your date.
>
> Check your date command dource code.
I've looked at this part of the source code quite a few times.
And I'm using standard date command. So far, I have been unsuccessful
to find out what is wrong.
-----------------------------------------------------------------------
Masafumi NAKANE, Keio Univ., Dept. of Environmental Information
E-Mail : t94303mn@sfc.keio.ac.jp / max@sfc.wide.ad.jp
[URL] : http://www.sfc.keio.ac.jp/~t94303mn
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199605090018.JAA17253>
