Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 Dec 1996 23:32:47 +0100 (MET)
From:      J Wunsch <j@uriah.heep.sax.de>
To:        freebsd-current@FreeBSD.org (FreeBSD-current users)
Subject:   Re: last in -current
Message-ID:  <199612072232.XAA23616@uriah.heep.sax.de>
In-Reply-To: <Pine.BSF.3.95.961208001011.300A-100000@nagual.ru> from "[?KOI8-R?]" at "Dec 8, 96 00:12:24 am"

next in thread | previous in thread | raw e-mail | index | archive | help
As [?KOI8-R?] wrote:

> You can't determine new or old format you parse. There is no
> version field in utmp record. So, you can't do anything in the 'last'.

...short of heuristics. :)  The `reasonability' of the time_t values,
and the requirement that wtmp has them in ascending order, should
allow for a lot of heuristics.  I think they make fine ``slot marks''.

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199612072232.XAA23616>