The OSX file is

/usr/share/zoneinfo/America/Los_Angeles

not

/usr/share/zoneinfo//right/America/Los_Angeles

Jonathan M Davis wrote:
On Saturday 15 January 2011 11:37:14 Walter Bright wrote:
Testing generated/osx/debug/unittest/std/datetime
core.time.TimeException@std/datetime.d(28734): File
/usr/share/zoneinfo//right/A
merica/Los_Angeles does not exist.
----------------
5   datetime                            0x0016bbe8 bool
std.exception.enforce!(b
ool).enforce(bool, lazy object.Throwable) + 40
6   datetime                            0x0015506d
immutable(std.datetime.PosixT
imeZone) std.datetime.PosixTimeZone.getTimeZone(immutable(char)[],
immutable(cha
r)[]) + 237
7   datetime                            0x0015700a void
std.datetime.PosixTimeZo
ne.__unittest338() + 1914
8   datetime                            0x00002768 void
std.datetime.__modtest()
 + 1496
9   datetime                            0x001b089d extern (C) bool
core.runtime.
runModuleUnitTests().int __foreachbody238(ref object.ModuleInfo*) + 45
10  datetime                            0x001abf63 int
object.ModuleInfo.opApply
(scope int delegate(ref object.ModuleInfo*)) + 79
11  datetime                            0x001b078e runModuleUnitTests + 134
12  datetime                            0x001b99ee extern (C) int
rt.dmain2.main
(int, char**).void runAll() + 38
13  datetime                            0x001b9942 extern (C) int
rt.dmain2.main
(int, char**).void tryExec(scope void delegate()) + 38
14  datetime                            0x001b98d3 main + 179
15  datetime                            0x00002169 start + 53
make[2]: *** [generated/osx/debug/unittest/std/datetime] Error 1
make[1]: *** [unittest] Error 2
make: *** [unittest] Error 2

So, either OSX does _not_ have the time zone files in /usr/share/zoneinfo as I was told that they did, or they didn't actually put them all on the system. Can you verify whether the time zone files are located in /usr/share/zoneinfo or not? The test in question is easily disabled on OSX, so that's not a big deal, but it _is_ big deal if the time zone files aren't where they are on Liunx.

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


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

Reply via email to