Overview
| Artifact ID: | 24306b374d8022d4ced4e50dfee7d217d38c4e923996f3b8884769fc034b6eda |
|---|---|
| Ticket: | ad28319dc2b9ae9da28384c91bf371be50793d8c
winFCmd-6.1, -6.9, 6.13, -9.3 fail on Windows |
| User & Date: | apnadkarni on 2023-03-09 09:55:26 |
Changes
- closedate changed to: "2460012.91350562"
- closer changed to: "apnadkarni"
- icomment:
I am not sure exactly what your query is. I changed the test because I observed stepping through the debugger that MoveFileW sets GetLastError() as ERROR_INVALID_VALUE which is then mapped by errorTable[] to EINVAL in TclWinConvertError. I presumed on Win11 the returned value is the ERROR_INVALID_NAME Win32 error code mapped to ENOENT based on your previous report. Regarding Tcl_FSGetNativePath, it returns C:\ as expected. Remember the return is WCHARs so the bytes will be C \0 : \0 \\ \0. It will look like "C" if you are interpreting as chars. I haven't looked at MS docs but I certainly do not expect them to document changes of this nature. As it is they do not (understandably) document every possible error code that can be returned from a function. /Ashok
- login: "apnadkarni"
- mimetype: "text/plain"