utimensat UTIME_NOW granularity bug

Thomas Wolff towo@computer.org
Fri Oct 9 10:11:00 GMT 2009

Christopher Faylor wrote:
> On Thu, Oct 08, 2009 at 09:23:38PM -0600, Eric Blake wrote:
>> Hash: SHA1
>> According to Christopher Faylor on 10/8/2009 3:24 PM:
>>>> I think we need to implement a companion to systime(), which returns the system 
>>>> time without any truncation, so that the function clock_gettime(CLOCK_REALTIME) 
>>>> can report time with resolution to the 10th of a microsecond rather than to 
>>>> plain microseconds.  Then utimensat needs to use clock_gettime rather than 
>>>> gettimeofday, so that it is not needlessly truncating the 10th of microsecond 
>>>> resolution available from Windows.
>>> Why not send these type of musings to the cygwin-developers list?  It really
>>> is more appropriate for this type of discussion.
>> Sorry about the wrong list.  At any rate, what about this patch?
>> ...
> I don't like "MILLION" or "BILLION".  I think a real number is clearer
> for that.  ...
And, speaking about I18N, "Billion" has a different meaning in the US 
and in Germany (where it is 1000 times as much) which occasionally gives 
rise to confusion (don't know about other countries' usage).


More information about the Cygwin-patches mailing list