[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Wrong date/time in "svn log" output

From: Malcolm Rowe <malcolm-svn-dev_at_farside.org.uk>
Date: 2005-12-06 17:42:05 CET

On Tue, Dec 06, 2005 at 09:58:46AM -0600, Ben Collins-Sussman wrote:
> I don't think this is a Subversion bug, because it doesn't call
> GetTickCount() anywhere at all. I think it is more likely a bug in
> Cygwin's "unix translation" layer. My suspicion is that Subversion
> calls the APR time functions to get the current system time, then APR
> calls the standard unix time functions, and then Cygwin translates the
> unix call into a windows GetTickCount().
>

Just to satify my curiousity, I had a look at the Cygwin sources. You're
exactly right (though it actually uses the Win32 multimedia function
timeGetTime(), which does the same thing). There's even a comment that
says "// FIXME: Not sure how this will handle the 49.71 day wrap around"!

Regards,
Malcolm

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Dec 6 17:43:32 2005

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.