<i>windows x86 & x64: file mtime overflows in modification date (2038?, windows 32-bit time_t?)</i> status still Open with 3 other changes
by
.
D 2019-07-09T06:44:03.421
J icomment <i>>\sBut\s...\sbranch\s[bug-4718b41c56]\scauses\sbinary\sincompatibility</i>\r\n\r\nSure,\stherefore\sI\swrote\sthat\sit\sshould\sbe\sadditionally\sprotected\sby\ssome\sdefine,\sso\sallow\scontrolling\sat\scompile/configure\stime\s(and\sit\scan\sbe\scompatible\sper\sdefault).\sThe\sbranch\sis\sjust\san\sexample\s(or\srather\sPoC).\r\n\r\nThe\salternative\swould\sbe\sto\suse\ssome\sinternal\sstructure\sinstead\sof\sTcl_StatBuf\sand\srewrite\sinternal\shandling\susing\sthis\sand\sthen\swrap\sit\sin\spublic\sAPIs\sinto\sTcl_StatBuf\smembers\sif\sthe\ssizes\sof\sboth\sstructures\sare\sdifferent.\r\nBut\sit\sis\sa\sbit\stoo\saggressive\sin\smy\sopinion\sand\sa\sdefine\saround\scould\sbe\senough\sas\san\sopportunity\sto\sfix\s32-bit\sbuilds.\r\n\r\nAnyway\sit\sis\sbetter\sas\sto\ssay\s"cannot\sfix\sa\sTcl-level\scommand,\sdue\sto\sthe\sbinary\scompat\spurposes"...\r\n\r\n<i>>\sWe\s(=\sthe\sTCT)\spromise\sbinary\scompatibility\sduring\sthe\sfull\s8.x\srelease,\sso\sany\sextension\scompiled\sagainst\searlier\sversion\sof\sthe\sTcl\sheaders\sshould\scontinue\sto\swork\sin\sfuture\s8.x\sversion.\sI'm\snot\sprepared\sto\sbreak\sthis\spromise.\sSorry.</i>\r\n\r\nOK,\syou\s(=\sthe\sTCT)\shave\san\sexclusive\sprerogative\sto\sbreak\sthe\scompatibility\s:)<br/>\r\nBecause\swe\s(!=\sthe\sTCT)\sdid\ssee\sthat\salready\stoo\soften...\s;)\r\n(and\sback\sto\sthe\sissue)\sfor\sexample\sthe\srevision\s[8a10f0c0ea9da7f7]\sdoing\salmost\sexactly\sthat\sfor\sall\sthe\s8.x\sbranches\sand\sall\sextensions\susing\stcl-headers\stogether\swith\stime_t\stype\s(and\srelated\slike\sutimebuf,\setc),\sbecause\sa\sdefinition\sof\s_USE_32BIT_TIME_T\scauses\sswitch\sof\stime_t\s(and\sseveral\sCRT-functions\sand\sdirectives\sup-to\spragma\slink)\sto\s32-bit.
J login sebres
J mimetype text/x-fossil-wiki
K 4718b41c56d8c135b018b589c3f031b1262d26c6
U sebres
Z 903bbb936810913454261bb451cc75ec