From owner-freebsd-hackers Wed May 8 17:18:51 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id RAA12540 for hackers-outgoing; Wed, 8 May 1996 17:18:51 -0700 (PDT) Received: from mail.tky007.tth.expo96.ad.jp (root@tky007.tth.expo96.ad.jp [133.246.32.58]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id RAA12532 for ; Wed, 8 May 1996 17:18:48 -0700 (PDT) Received: from tky007.tth.expo96.ad.jp (masafumi@localhost [127.0.0.1]) by mail.tky007.tth.expo96.ad.jp (8.7.5/3.4W4-SMTP) with ESMTP id JAA17253; Thu, 9 May 1996 09:18:15 +0900 (JST) Message-Id: <199605090018.JAA17253@mail.tky007.tth.expo96.ad.jp> To: terry@lambert.org Cc: max@sfc.wide.ad.jp, freebsd-hackers@FreeBSD.org Subject: Re: date change and wtmp record From: Masafumi NAKANE/=?ISO-2022-JP?B?GyRCQ2Y6LDJtSjgbKEI=?= Reply-To: max@sfc.wide.ad.jp In-Reply-To: Your message of "Wed, 8 May 1996 17:03:56 -0700 (MST)" References: <199605090003.RAA27307@phaeton.artisoft.com> X-Mailer: Mew version 1.05+ on Emacs 19.28.1, Mule 2.3 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Date: Thu, 09 May 1996 09:18:14 +0900 Sender: owner-hackers@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk From: Terry Lambert 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