Skip to content
Tcl Source Code Artifact [7324e4b759]
Login

Artifact [7324e4b759]

Artifact 7324e4b759fe7340b1e0b6f5baa173eaab175916:

Ticket change [7324e4b759] - New ticket [922848ffffffffff|922848ffff] <i>clock.test failures on LynxOS 3.1.0</i>. by david_glessner on 2004-03-25 00:44:52.
D 2004-03-25T00:44:52
J assignee nobody
J cmimetype text/plain
J comment Some\sclock.test\stests\sare\sfailing\son\sLynxOS\s3.1.0\s\n071000-F\sPowerPC.\n\n----\sResult\swas:\nCSTPST\n----\sResult\sshould\shave\sbeen\s(exact\smatching):\nGMTPST\n====\sclock-3.2\sFAILED\n\n----\sResult\swas:\nCSTCST\n----\sResult\sshould\shave\sbeen\s(exact\smatching):\nGMTGMT\n====\sclock-3.4\sFAILED\n\nThese\sfailures\sappear\sto\sbe\scaused\sby\sLynxOS\snot\s\nperforming\sas\sTcl\sexpects\swhen\sthe\sTZ\senvironment\s\nvariable\sis\sset\sto\s"GMT".\s\sThes\sfailures\sgo\saway\swhen\s\nTZ\sis\sset\sto\s"GMT0"\sinstead\sof\s"GMT"\sin\s\ngeneric/tclClock.c.\n\nFrom\sreading\sthe\sSingle\sUnix\sSpecification\sVersion\s3,\s\n"GMT0"\sis\scorrect\sand\s"GMT"\sis\snot.\s\sIt\ssays\sthat,\s"The\s\noffset\sfollowing\sstd\sshall\sbe\srequired."\n\n\nThere\swere\sfailures\sin\sclock-4.6,\sclock-4.16,\s\nclock-4.17,\sand\sclock-4.18\swhere\sthe\stimes\swere\sahead\s\nby\sone\shour.\n\nThese\sfailures\sappear\sto\sbe\scaused\sby\susing\sthe\s\ntz.tz_dsttime\sas\sa\sboolean\sin\sunix/tclUnixTime.c.\s\sThis\s\nstructure\smember\sindicates\sthe\salgorithm\sto\sbe\sused\sfor\s\nthe\sdaylight\ssaving\stime\smethod.\s\sThe\svalue\sof\s1\s\nindicates\sUSA,\sand\sthis\scauses\san\sadditional\s60\sminutes\s\nto\sbe\sadded.\n\nI've\sincluded\sa\spatch\sthat\sappears\sto\swork\sfor\sme.\s\sIt\s\nassumes\sthe\spresence\sof\sthe\sprevious\spatch\sI\ssubmitted.\n\nI\swonder\sif\sthe\suse\sof\stz.tz_dsttime\sis\scorrect\sfor\sany\s\nplatform?\n\n\nFYI,\sclock-4.3\salso\sfails,\sbut\sit's\sdue\sto\sa\sstrftime\s\nbug\sin\sthe\sLynxOS\slibc.a.\n\n\s\s\s\sclock\sformat\s[clock\sscan\s"14\sFeb\s92"\s-gmt\strue]\s\s\n-format\s{%m/%d/%y\s%I:%M:%S\s%p}\s-gmt\strue\n\n----\sResult\swas:\n02/14/92\s00:00:00\sAM\n----\sResult\sshould\shave\sbeen\s(exact\smatching):\n02/14/92\s12:00:00\sAM\n====\sclock-4.3\sFAILED\n\nI\sguess\sconfiguration\scould\scheck\sfor\sa\sbuggy\s\nconversion\sand\suse\sa\sworkaround\s(e.g.\s\ncompat/strftime.c),\sbut\sLynuxWorks\shas\sa\scorrected\s\nctime.as.o\sthat\spresumably\sworks\stoo.
J foundin None
J priority 5\sMedium
J resolution None
J status Open
J submitter david_glessner
J subsystem None
J title clock.test\sfailures\son\sLynxOS\s3.1.0
J type Bug
K 922848ffffffffffffffffffffffffffffffffff
U david_glessner
Z b0a0789a13bb0ac19bde84a06e30bbcd