.
D 2012-04-17T16:52:42
J assignee kennykb
J cmimetype text/plain
J comment Because\sthe\sbuilt-in\sTcl\stimezone\sdefinitions\sare\sfrequently\slagging\scurrent\supdates,\swe\swant\sto\srely\son\sthe\sOS\szoneinfo\sfiles\sinstead.\s\sHowever,\sthe\sinternal\sproc\s::tcl::clock::ReadZoneinfoFile\s(located\sin\slibrary/clock.tcl)\sseems\sunable\sto\sparse\sthe\s:Africa/Windhoek\stimezone\sOlsen\sfile\sthat\sis\sa\spart\sof\sthe\szoneinfo-2012.c\sdistribution.\n\nTo\sreplicate\sthis\scondition\son\sFreeBSD\s8.2,\sdo\sthe\sfollowing:\n\n1)\scd\s/usr/ports/misc/zoneinfo\s&&\smake\sinstall\n2)\smv\s/usr/local/lib/tcl8.5/tzdata\s/usr/local/lib/tcl8.5/tzdata-OFFLINE\n3)\secho\s"clock\sformat\s[clock\sseconds]\s-timezone\s:Africa/Windhoek"\s|\s/usr/local/bin/tclsh8.5\n\nIt\swill\semit\s'time\szone\s":Africa/Windhoek"\snot\sfound'\sbecause\san\serror\swas\scaught\sduring\sReadZoneinfoFile.\s\sAll\sother\sOlsen\sfiles\sthat\sI've\stried\sappear\sto\sbe\sparsed\sfine.\n\nBy\susing\sTclX's\scmdtrace,\sI've\sfound\sthat\sthe\sline\sin\sReadZoneinfoFile\sthat\sis\sraising\san\serror\sis:\n\nkey\s"5"\snot\sknown\sin\sdictionary\nwhile\sevaluating\s{dict\sget\s{0\sLMT\s4\sSWAT\s9\sSAST\s14\sCAT\s18\sWAST\s23\s{}}\s5}\n\nThat\scorresponds\sto\sthe\sline\sin\sclock.tcl\sthat\sreads:\n\n\s\s\s\s\s\s\s\sset\sabbrev\s[dict\sget\s$abbrevs\s$abbrInd]\n\nCan\ssomeone\sconfirm\swhether\sthe\sAfrica/Windhoek\szonefile\sis\scorrupt,\sor\sis\sthe\sclock.tcl\smaking\san\sincorrect\sassumption\sabout\sthe\sfile\sformat?
J foundin None
J is_private 0
J priority 5\sMedium
J resolution None
J status Open
J submitter bovineone
J subsystem 06.\sTime\sMeasurement
J title Unable\sto\sparse\sAfrica/Windhoek\sOlsen\stime\szone
J type Bug
K 3518851fffffffffffffffffffffffffffffffff
U bovineone
Z dea8ca0a729a6ff667eb122951ac3fe6