From owner-freebsd-current Fri Jun 2 00:30:29 1995 Return-Path: current-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id AAA11620 for current-outgoing; Fri, 2 Jun 1995 00:30:29 -0700 Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.34]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id AAA11612 for ; Fri, 2 Jun 1995 00:30:25 -0700 Received: (from bde@localhost) by godzilla.zeta.org.au (8.6.9/8.6.9) id RAA29876; Fri, 2 Jun 1995 17:27:04 +1000 Date: Fri, 2 Jun 1995 17:27:04 +1000 From: Bruce Evans Message-Id: <199506020727.RAA29876@godzilla.zeta.org.au> To: avl@flox.kiam1.rssi.ru Subject: Re: bin/470: timed & timedc bugs Cc: current@FreeBSD.ORG Sender: current-owner@FreeBSD.ORG Precedence: bulk > and very big time difference displayed > by > timedc clockdiff lotos >... >*** measure.c.orig Mon Mar 20 16:46:47 1995 >--- measure.c Mon Mar 20 20:07:49 1995 >*************** >*** 151,157 **** > */ > if (trials < TRIALS) { > trials++; >! oicp->icmp_otime = ((tcur.tv_sec % SECDAY) * 1000 > + tcur.tv_usec / 1000); > oicp->icmp_cksum = 0; > oicp->icmp_cksum = in_cksum((u_short*)oicp, >--- 151,157 ---- > */ > if (trials < TRIALS) { > trials++; >! oicp->icmp_otime = htonl((tcur.tv_sec % SECDAY) * 1000 > + tcur.tv_usec / 1000); > oicp->icmp_cksum = 0; > oicp->icmp_cksum = in_cksum((u_short*)oicp, This was fixed in revision 1.2 on 1994/11/27 a few days after FreeBSD-2.0 was released. Bruce