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

Re: Daylight Saving Time

From: Erik Huelsmann <ehuels_at_gmail.com>
Date: 2006-11-22 14:05:57 CET

On 11/22/06, Oliver Betz <list_ob@gmx.net> wrote:
> Erik Huelsmann wrote:
>
> [...]
>
> > Subversion itself does not have any DST/UTC calculations. For those
> > calculations, it depends on the C runtime library available on your
> > platform. In case of Linux, that would normally mean glibc. In case of
>
> which is broken (real stupid thing happened...), see
>
> http://search.cpan.org/~shay/Win32-UTCFileTime-1.45/lib/Win32/UTCFileTime.pm#BACKGROUND_REFERENCE
> or http://www.codeproject.com/datetime/dstbugs.asp

After reading the latter link, which says that Windows is broken for
timestamps on files, I understand the problem is confined to FAT
drives. But Subversion as things stand, is already broken on FAT
drives, but works fine on NTFS. This all means that Subversion won't
suffer any of the problems described. Am I right?

> A good compiler should circumvent it. BTW: Activestate Perl suffers
> from the bug, Cygwin Perl not. I didn't investigate whether
> subversion does.

It looks like APR depends on the compiler to prevent the problem. It
has a system-time-to-apr-time conversion routine, but that routine
does not compensate for any time-offsets related to
filesystem-differences.

bye,

Erik.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Nov 22 14:07:11 2006

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

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