.
D 2023-03-04T08:15:24.163
J assignee nobody
J closer nobody
J cmimetype text/x-markdown
J comment When\scalled\sfrom\sa\sstubs-enabled\sextension,\sTcl_GetTime\sreturns\sthe\swrong\svalue\sfor\sthe\susecs\sfield\son\sWindows.\sThis\sis\sillustrated\sby\sthe\swinTime-2.1\stest\sfailure\sin\sall\sTcl\sversions\s8.6\sonward.\r\n\r\nThe\stest\sfailure\swas\signored\sall\sthis\swhile\sbecause\sof\sthe\scomment\sin\sthe\stest\scase\sthat\sthe\stest\sfails\sbecause\sof\sWindows\sOS\sdiscrepancies.\sDebugging\sreveals\sthat\sit\sis\sin\sfact\sa\sTcl\sbug\scause\sby\s[these\slines](https://core.tcl-lang.org/tcl/file?ci=tip&name=generic/tclDecls.h&ln=3967-3983)\r\n\r\nThe\susec\svalue\sgets\soverwritten\son\sline\s3979\swith\sthe\slow\s32\sbits\sof\sthe\ssecs\svalue\s(union\swith\sthe\sreserved\sfield).\r\n\r\nBased\son\sthe\scomment\sthere,\sthe\spurpose\sof\sthat\smacro\swrapper\sis\sto\sallow\sloading\sa\snon-Cygwin\sTk\sinto\sa\sCygwin\stclsh.\sI\sdon't\squite\sunderstand\sthe\sissue\sthere\sbut\sin\sany\scase,\sit\sis\sthe\scause\sof\sthe\sabove\sbug.\sI\sdon't\sknow\swhat\sthe\sfix\sis\sbecause\sI\sdon't\sknow\swhat\sthe\sunderlying\sissue\sis\sthat\sis\sbeing\sfixed.\r\n\r\nAs\san\saside,\sin\smy\sopinion\ssupporting\smixed\sCygwin-native\sWin32\sconfigurations\sis\sfraught\swith\speril\sand\sshould\snot\sbe\sa\ssupported\sconfiguration.
J foundin 8.6
J is_private 0
J login apnadkarni
J priority 5\sMedium
J private_contact 9546e9877f1a8899e25a89082561ee694e7fb402
J resolution None
J severity Minor
J status Open
J submitter apnadkarni
J subsystem 03.\sTimer\sEvents
J title Tcl_GetTime\sreturns\swrong\susec\svalue\son\sWindows
J type Bug
K 1b8df101101c94cefa2caf9857e87b73cb5a3011
U apnadkarni
Z fdc7b2798b64a25b439c2ad83e1d5d8e