On Saturday 15 January 2011 17:52:10 Walter Bright wrote:
> The OSX file is
> 
> /usr/share/zoneinfo/America/Los_Angeles
> 
> not
> 
> /usr/share/zoneinfo//right/America/Los_Angeles

They both exist on Linux. The one in right/ has leap seconds whereas the other 
one doesn't. The test is using /usr/share/zoneinfo/right/America/Los_Angeles to 
test the leap second functionality.

So, you're saying that the folks at Apple _did_ put the time zone files in 
/usr/share/zoneinfo, but that they _didn't_ use all of the standard time zone 
files and left out the directory /usr/share/zoneinfo/right? If that's the case, 
then I'll just make that test Linux-only.

It's already a bit weird with Linux, since glibc ignores the leap seconds if 
you 
use the the right/ files. I made it so that if you selected a time zone file 
with 
leap seconds in it, then the leap seconds were used. But regardless, the OS 
won't use them. So, if they're not present on OSX, it's probably because they'd 
never get used anyway.

- Jonathan M Davis
_______________________________________________
phobos mailing list
[email protected]
http://lists.puremagic.com/mailman/listinfo/phobos

Reply via email to