Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Aug 2001 21:50:23 -0700 (PDT)
From:      jkoshy@FreeBSD.ORG (Joseph Koshy)
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: bin/10793: cvs update modification time check granularity is 1 second 
Message-ID:  <200108130450.f7D4oNe77692@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
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
 <jkoshy@freebsd.org>
 
 

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200108130450.f7D4oNe77692>