[7031] in Athena Bugs

home help back first fref pref prev next nref lref last post

rt 7.2Q: ac

daemon@ATHENA.MIT.EDU (daemon@ATHENA.MIT.EDU)
Mon Feb 4 09:25:43 1991

Date: Mon, 4 Feb 91 09:25:30 -0500
From: "Jonathan I. Kamens" <jik@pit-manager.MIT.EDU>
To: bugs@ATHENA.MIT.EDU

System name:		pit-manager
Type and version:	RTPC-ROMPC 7.2Q
Display type:		apa16
			megapel

What were you trying to do?
	Run "ac -w /usr/adm/wtmp.0 -d jik" to find out how long I was
	logged in when the old wtmp file /usr/adm/wtmp.0 was keeping
	records.

What's wrong:
	Here's the end of what ac printed out:

		...
		Jan 21  total      5.70
		Jan 22  total      9.53
		Jan 23  total     13.30
		Jan 24  total      8.27
		Feb  4  total     10.34

	Note the last day says "Feb 4."  It should say "Jan 25."

What should have happened:
	Ac should not get confused when the last day in the wtmp file
	does not correspond with the current day.  That's what appears
	to be happening.

  jik

home help back first fref pref prev next nref lref last post