From owner-cvs-all Mon Jul 13 01:02:13 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id BAA27254 for cvs-all-outgoing; Mon, 13 Jul 1998 01:02:13 -0700 (PDT) (envelope-from owner-cvs-all@FreeBSD.ORG) Received: from nlsystems.com (nlsys.demon.co.uk [158.152.125.33]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id BAA27108; Mon, 13 Jul 1998 01:01:37 -0700 (PDT) (envelope-from dfr@nlsystems.com) Received: from herring.nlsystems.com (herring.nlsystems.com [10.0.0.2]) by nlsystems.com (8.8.8/8.8.5) with SMTP id JAA29385; Mon, 13 Jul 1998 09:03:56 +0100 (BST) Date: Mon, 13 Jul 1998 09:03:56 +0100 (BST) From: Doug Rabson Reply-To: Doug Rabson To: Stefan Esser cc: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: Re: cvs commit: src/sys/pci ncr.c In-Reply-To: <199807122026.NAA04230@freefall.freebsd.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk 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