From owner-cvs-usrbin Mon Nov 20 21:44:06 1995 Return-Path: owner-cvs-usrbin Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id VAA05388 for cvs-usrbin-outgoing; Mon, 20 Nov 1995 21:44:06 -0800 Received: (from wpaul@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id VAA05280 ; Mon, 20 Nov 1995 21:43:36 -0800 Date: Mon, 20 Nov 1995 21:43:36 -0800 From: Bill Paul Message-Id: <199511210543.VAA05280@freefall.freebsd.org> To: CVS-commiters, cvs-usrbin Subject: cvs commit: src/usr.bin/rup rup.c Sender: owner-cvs-usrbin@FreeBSD.ORG Precedence: bulk wpaul 95/11/20 21:43:34 Modified: usr.bin/rup rup.c Log: Amend my fix a bit. My way failed to take leap years into account. The simplest thing is to just calculate the days using curtime - boottime / 86400. The modification for this is less obtrusive anyway. Suggested by: Bill Fenner