Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Jul 1998 09:03:56 +0100 (BST)
From:      Doug Rabson <dfr@nlsystems.com>
To:        Stefan Esser <se@FreeBSD.ORG>
Cc:        cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG
Subject:   Re: cvs commit: src/sys/pci ncr.c
Message-ID:  <Pine.BSF.3.95q.980713090119.342F-100000@herring.nlsystems.com>
In-Reply-To: <199807122026.NAA04230@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 12 Jul 1998, Stefan Esser wrote:

> se          1998/07/12 13:26:48 PDT
> 
>   Modified files:
>     sys/pci              ncr.c 
>   Log:
>   Fix size of time stamps (had been time_t before the variable "time" was
>   hidden). Now "ticks" are used, which are 4 byte, not 8 byte in size.
>   The size mismatch did not matter due to sufficient padding at the end
>   of the structure that holds time stamps (there is an unused member).
>   
>   The fix suggested by Bruce Evans used "sizeof (ticks_t)", but I prefer
>   to use "sizeof ticks", and didn't seem to object in his last mail on
>   this topic.

Thanks Stefan.  On the alpha, the damage was more severe since
sizeof(struct timeval) was 16 instead of 8 bytes.  I had a frustrating
couple of days finding that out :-).

--
Doug Rabson				Mail:  dfr@nlsystems.com
Nonlinear Systems Ltd.			Phone: +44 181 951 1891
					Fax:   +44 181 381 1039



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.95q.980713090119.342F-100000>