Skip to content
Tcl Source Code Artifact [354396690d]
Login

Artifact [354396690d]

Artifact 354396690d3152854f45368207c931b3c77c6f75:

Ticket change [354396690d] - Ticket [1353840fffffffff|1353840fff] <i>windows stat has daylight savings problems</i> status still Open with 4 other changes by matt-newman on 2005-11-15 17:50:43.
D 2005-11-15T17:50:43
J icomment Logged\sIn:\sYES\s\nuser_id=1333796\n\nLet\sme\stry\sand\sbe\sclear:\n1.\sset\sclock\sto\sjuly\sthis\syear\ncreate\sa\sfile\son\sntfs\s*and*\sfat\s(same\ssystem)\nold\s&\snew\sstat\sreturns\s*7072.\sgood\sso\sfar.\n\n2.\sadvance\sclock\sto\stoday\nold\sstat\sreturns\s*3470\sfor\sntfs\sand\sfat\s(wrong)\nnew\sstat\sreturns\s*7072\sfor\sntfs\sand\sfat\s(correct)\n\n3.\sreboot\nold\sstat\sreturns\s*3470\sfor\sntfs\s(wrong)\nnew\sstat\sreturns\s*7072\sfor\sntfs\s(correct)\nold\sstat\sreturns\s*7072\sfor\sfat\s(correct)\nnew\sstat\sreturns\s*0672\sfor\sfat\s(wrong)\n\nso\syou\scan\ssee\sthat\sthe\sold\scode\sis\s*always*\swrong\sfor\sntfs\sonce\syou\s\nmoving\sinto\sa\sdifferent\sDST\sslice.\nAlso\sthe\sold\scode\sis\salso\salways\swrong\sfor\sfat\stoo\suntil\sa\sreboot\stakes\s\nplace.....\n\nThe\snew\scode\sis\sonly\swrong\sfor\sfat\s-\spost\sreboot\s-\sbut\sthis\sis\sbecause\sof\s\na\sbug\sin\sMS's\sFIlETIME\sconversions\sin\sthe\skernel,\sand\sa\sside-effect\sof\s\nstoring\slocal\stime...\sSince\sthere\sis\sno\spractical\sway\sto\ssecond-guess\sif\s\nthe\sfat\stime\sis\spre\sor\spost\sreboot\sthere\sis\sno\sreasonable\ssolution\sthat\sI\s\nam\saware\sof.\n\nAlso\sI\swould\sargue\sstrongly,\sthat\ssuch\sprecision\sis\svery\simportant\sin\sthe\s\ncorporate/business\smarket,\swhere\sNTFS\sis\sthe\srule\sand\sFAT\sthe\s\nexception,\swhereas\sin\sthe\sconsumer\smarket\ssuch\sthings\sare\sless\s\nimportant,\sand\sare\salready\sbroken\sfor\sFAT\sanyway...\s(see\sabove\spre/\npost\sreboot\sexample)\n\nMatt\n
J login matt-newman
J mimetype text/plain
J username matt-newman
K 1353840fffffffffffffffffffffffffffffffff
U matt-newman
Z 8c63742b721277008eeef6260d745807