From owner-freebsd-stable Sun Jun 3 7:43:11 2001 Delivered-To: freebsd-stable@freebsd.org Received: from segfault.kiev.ua (segfault.kiev.ua [193.193.193.4]) by hub.freebsd.org (Postfix) with ESMTP id 95D8237B401 for ; Sun, 3 Jun 2001 07:43:06 -0700 (PDT) (envelope-from netch@iv.nn.kiev.ua) Received: (from uucp@localhost) by segfault.kiev.ua (8) with UUCP id RQN70525; Sun, 3 Jun 2001 17:42:55 +0300 (EEST) (envelope-from netch@iv.nn.kiev.ua) Received: (from netch@localhost) by iv.nn.kiev.ua (8.11.3/8.11.3) id f53AejT01484; Sun, 3 Jun 2001 13:40:45 +0300 (EEST) (envelope-from netch) Date: Sun, 3 Jun 2001 13:40:45 +0300 From: Valentin Nechayev To: David Wolfskill Cc: stable@FreeBSD.ORG Subject: Re: time_t definition is worng Message-ID: <20010603134044.A1343@iv.nn.kiev.ua> References: <200106012300.f51N0VT90830@earth.backplane.com> <200106012318.f51NI8w38590@bunrab.catwhisker.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200106012318.f51NI8w38590@bunrab.catwhisker.org>; from david@catwhisker.org on Fri, Jun 01, 2001 at 04:18:08PM -0700 X-42: On Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Fri, Jun 01, 2001 at 16:18:08, david (David Wolfskill) wrote about "Re: time_t definition is worng": > > Historically people compared time stamps by subtracting one from > > another. > Which is a practice that the difftime() function was invented to > replace. difftime is for ANSI compatilibity but not for UNIX. It returns double. There is no reason to attract float-point calculations without explicit need... /netch To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message