From owner-freebsd-bugs Sun Aug 12 21:50:26 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id A7F8B37B40B for ; Sun, 12 Aug 2001 21:50:23 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f7D4oNe77692; Sun, 12 Aug 2001 21:50:23 -0700 (PDT) (envelope-from gnats) Date: Sun, 12 Aug 2001 21:50:23 -0700 (PDT) Message-Id: <200108130450.f7D4oNe77692@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: jkoshy@FreeBSD.ORG (Joseph Koshy) Subject: Re: bin/10793: cvs update modification time check granularity is 1 second Reply-To: jkoshy@FreeBSD.ORG (Joseph Koshy) Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR bin/10793; it has been noted by GNATS. From: jkoshy@FreeBSD.ORG (Joseph Koshy) To: freebsd-gnats-submit@freebsd.org Cc: Subject: Re: bin/10793: cvs update modification time check granularity is 1 second Date: Sun, 12 Aug 2001 21:47:47 -0700 (PDT) A followup (material which I should have added to the PR log the first time round): One of the problems of keeping a higher resolution timestamp `portably' is that the POSIX and SUS specfication only require that `stat(2)' return a 'time_t' for field `st_mtime'. `time_t' measures time in "seconds", which is what CVS is using. FreeBSD/NetBSD/and possibly other OSes seem to maintain a higher-resolution timestamp, as a `struct timespec', but other OSes don't. Regards, Koshy To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message