Skip to content
Tcl Source Code Artifact [d87aeeec4a]
Login

Artifact [d87aeeec4a]

Artifact d87aeeec4a9bf37c68ddc746ec47c6a9b440112b:

Ticket change [d87aeeec4a] - Ticket [2531126fffffffff|2531126fff] <i>[file copy] does not accurately copy timestamps (unix)</i> status still Open with 4 other changes by danckaert on 2009-01-26 19:34:24.
D 2009-01-26T19:34:24
J icomment The\snew\sPOSIX\sstandard\sactually\smarks\sutime()\sas\sobsolete:\nhttp://www.opengroup.org/onlinepubs/9699919799/functions/utime.html\nIt\salso\sspecifies\sa\snew\sutimensat()\sfunction\sfor\sdealing\swith\snanosecond\stimestamps.\nUsing\sutimes()\swould\sonly\sbe\san\sintermediate\ssolution,\ssince\sit\scan\sonly\shandle\smicroseconds,\snot\snanoseconds.\n\nSupporting\snanosecond\stimestamps\sin\sTcl\sshould\sprobably\sbe\spart\sof\sa\slarger\seffort,\salso\sinvolving\sthe\s[file\smtime]\sand\s[file\sstat]\setc\scommands.\sI\shad\sa\slook\sat\sthe\ssource\scode,\sand\sit\sseems\sthis\swould\sbe\squite\scomplicated.\sThe\sproblem\sis\sthat\sTcl\salways\skeeps\spointers\sto\sthe\sOS'\snative\sstat\sstructure,\swhich\swould\srequire\sdependencies\son\sST_MTIM_NSEC\sand\sHAVE_UTIMENSAT\sspread\sout\sover\sthe\scode.\nIt\swould\sbe\seasier\sif\sTcl\shad\sits\sown\sstat\sstructure,\sin\swhich\sthe\snanosecond\sfields\scould\ssimply\sbe\sset\sto\szero\sif\sthey\sare\snot\ssupported\son\sthe\sOS.\n\nIn\sany\scase,\sit's\sfine\sfor\sme\sif\sthis\sitem\sis\sclosed.\n\n
J login danckaert
J mimetype text/plain
J username danckaert
K 2531126fffffffffffffffffffffffffffffffff
U danckaert
Z 2c25c532fdb5bf692573084a8ec9b523