From owner-freebsd-hackers Sun May 5 14:10:26 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id OAA10138 for hackers-outgoing; Sun, 5 May 1996 14:10:26 -0700 (PDT) Received: from phaeton.artisoft.com (phaeton.Artisoft.COM [198.17.250.211]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id OAA10133 for ; Sun, 5 May 1996 14:10:23 -0700 (PDT) Received: (from terry@localhost) by phaeton.artisoft.com (8.6.11/8.6.9) id OAA20062; Sun, 5 May 1996 14:00:48 -0700 From: Terry Lambert Message-Id: <199605052100.OAA20062@phaeton.artisoft.com> Subject: Re: date change and wtmp record To: max@sfc.wide.ad.jp Date: Sun, 5 May 1996 14:00:48 -0700 (MST) Cc: freebsd-hackers@freebsd.org In-Reply-To: <199605051342.WAA08460@mail.tky007.tth.expo96.ad.jp> from "Masafumi NAKANE/=?ISO-2022-JP?B?GyRCQ2Y6LDJtSjgbKEI=?=" at May 5, 96 10:42:07 pm X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > I noticed wtmp(5) man page says that `{' is recorded in the field > ut_line when the system date is changed. However, `}' is recorded in > my wtmp instead. > > Which one, `{' or `}', is the expected character to be recorded? I > think it is better to have wtmp(5) and the actual behavior matched. I think you're wrong; I see '{'. Maybe your font is broken? In any case, it should be a manifest constant in utmp.h used by both the code that plops the characters in, the man page, and your code that you want to use to plop the characters out. Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers.