Skip to content
Tcl Source Code Artifact [24e21a4066]
Login

Artifact [24e21a4066]

Artifact 24e21a40665a5358957abf30bb9debee5248ded6:

Ticket change [24e21a4066] - Ticket [1995175fffffffff|1995175fff] <i>clock scan problems on windows</i> status still Open with 4 other changes by kennykb on 2008-06-17 08:13:48.
D 2008-06-17T08:13:48
J icomment Logged\sIn:\sYES\s\nuser_id=99768\nOriginator:\sNO\n\nHmm.\sThe\sissue\son\sWindows\sXP\sis\spuzzling.\nAre\syou\srunning\sa\sstock\sTcl\sinstallation?\nThe\ssymptom\sis\sconsistent\swith\sthe\sdefault\ntimezone\sbeing\sset\sto\s:localtime,\sbut\sthat\nshouldn't\shappen\son\sWindows.\s\sTcl\sgets\sthe\nsystem\stime\szone\sfrom\sthe\sRegistry,\suses\na\stzdata\sfile\scorresponding\sto\sthe\szone\nif\sit\shas\sone,\sand\sgenerates\sa\sPosix-style\ntime\szone\sstring\sif\sit\sdoes\snot.\n\nIs\sit\spossible\sthat\syou\sremoved\sthe\n$tcl_library/tzdata\sdirectory\s(or\sthe\sfile\nfor\sthe\szone\sin\squestion)\sfrom\syour\sinstallation?\n\nIn\sorder\sto\stroubleshoot\sthis\sfurther,\slet's\nfind\sout\sthe\sfollowing:\n\n(1)\sWhat's\sthe\sresult\sof\s::tcl::clock::GuessWindowsTimeZone\s?\n\n(If\sthat's\s:localtime,\swe\sneed\sto\stroubleshoot\swhat's\swrong\nwith\sthe\sregistry.\s\sBut\sI'm\sguessing\sthat\sit\swill\shave\sreturned\nsome\sactual\stime\szone\sname.)\n\n(2)\sIf\sit\sreturns\sa\scorrect\stime\szone\sname,\swhat\sis\sit?\nDoes\sthe\sfile\s$tcl_library/tzdata/$timezone\s(where\s$timezone\nis\sthe\sreturned\stimezone)\sexist?\s\sDoes\sthe\sdirectory\nexist\sat\sall?\n\nIf\sthe\sfile\sdoesn't\sexist,\syou\scan\sno\sdoubt\sget\saround\nthis\sproblem\sby\sfixing\syour\sinstallation.\sBut\sstill,\neven\sif\s*that*\smesses\sup,\stoo,\swe're\sstill\ssupposed\nto\srecover\sand\sgive\sa\sPosix\stime\szone.\s\sSo\ssomething\nis\sseriously\sderanged\shere.\s\sMaybe\sthe\sanswers\sto\sthe\nquestions\sso\sfar\swill\sgive\smore\sof\sa\shint\swhere\sto\slook.\n\nThe\ssegfault\sis\sa\sseparate\sissue.\sSince\sConvertLocalToUTC\nis\sprivate,\sI\shaven't\sthoroughly\stested\swhat\sit\sdoes\nwith\sbad\sargs.\sObviously,\syou've\sfound\sa\scombination\nthat\scrashes\sit.\s\sI'll\sfix\sthat\sbit\swhile\sI'm\swaiting\nfor\sfurther\sinformation.\n
J login kennykb
J mimetype text/plain
J username kennykb
K 1995175fffffffffffffffffffffffffffffffff
U kennykb
Z 21677968ed07d71070e0731d474a5dea