file temp dir on Windows inserts unnecessary backslash
Closed / Fixed59cc110ff64230dcf74e9e580e4de4d7dc491317Created 166 days agoUpdated 152 days ago
Descriptionplain2026-06-19 16:58:55
Reported by JulianNoble on the chat ``` % file tempdir d:/temp d:/\temp_T9871BSL % file tempdir d:/temp/xxxx d:/temp\xxxx_SL8T0ZI5 % file tempdir d:/temp/xxxx/ d:/temp/xxxx/\tcl_SHEC8XCI ```
apnadkarnimarkdown2026-07-02 03:35:51
Related to this was also the suggestion that tempdir should return "canonical" (forward slashes) paths on Windows, not backslashed ones as the combined / and look strange and backslashes can also confuse glob which treats them as escape characters.
apnadkarniplain2026-07-04 08:28:20
Fixed in [4ff75991].
Log in (anonymous is fine) to add a comment.