Skip to content
Tcl Source Code Artifact [7dc03aa3f2]
Login

Artifact [7dc03aa3f2]

Artifact 7dc03aa3f203ee59e908b305ab6b8ec37d80e3d756563be4b6823fa5e1f8bff8:

Ticket change [7dc03aa3f2] - Ticket [ad28319dc2b9ae9d|ad28319dc2] <i>winFCmd-6.1, -6.9, 6.13, -9.3 fail on Windows</i> status still Closed with 4 other changes by fvogel on 2023-03-08 21:47:19.
D 2023-03-08T21:47:19.109
J closedate 2460012.40786006
J icomment Quick\sanalysis\sof\sthe\swinFCmd-1.24\sfailure:\r\n\r\n-\s[testfile\smv\s/\sc:/]\scalls\sTclpObjRenameFile\swith\s(correct)\s"/"\sand\s"c:/"\sas\sstring\s(obj)\sarguments\r\n\r\n-\sTclpObjRenameFile\son\sWindows\sis\ssimply:\r\n\r\n\s\s\s\sreturn\sDoRenameFile(Tcl_FSGetNativePath(srcPathPtr),\r\n\t\s\s\s\sTcl_FSGetNativePath(destPathPtr));\r\n\r\n-\sThe\sinput\sarguments\sreceived\sby\sDoRenameFile\sare\s(correct\sor\snot?)\r\n\r\n\s\s\s\snativeSrc\s=\s\\\s\s\s\snativeDst\s=\sc\r\n\r\n-\sIn\sDoRenameFile,\sthe\scall\sto\sMoveFileW\sapparently\sdoes\snot\ssucceed.\sGetLastError()\sspits\s123\s(ERROR_INVALID_NAME),\sand\sTclWinConvertError\soutputs\s2\s(ENOENT)\swith\sthis\serror\scode.\r\n\r\n-\sDoRenameFile\sexits\sat\sits\svery\send\swith\sreturn\sTCL_ERROR;\r\n\r\n\r\nNow,\swhether\sthe\serror\scode\striggered\sby\sMoveFileW\swas\schanged\sor\snot\sby\sMicrosoft\sin\sWindows\s11\sis\sa\sgood\squestion.\sI\sdon't\shave\sany\sWindows\s10\sbox\sto\scheck\sthis,\scan\syou\sperhaps?
J login fvogel
J mimetype text/plain
K ad28319dc2b9ae9da28384c91bf371be50793d8c
U fvogel
Z 3ecdf062d7c873c4cb19c13c81200d42