Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2026-07-04
08:28 • Closed ticket [59cc110ff6]: file temp dir on Windows inserts unnecessary backsla... artifact: c810ab4d5f user: apnadkarni
08:25
Fix [59cc110f]. Manually verified but no test case as it involves the root directory check-in: aa14c774b6 user: apnadkarni tags: trunk, main
08:17
Fix [59cc110f]. Manually verified but no test case as it involves the root directory check-in: 4ff7599111 user: apnadkarni tags: core-9-0-branch
2026-07-02
03:35 • Ticket [59cc110ff6] file temp dir on Windows inserts unnecessary backslash s... artifact: 006a200f54 user: apnadkarni
2026-06-19
16:58 • New ticket [59cc110ff6]. artifact: 69bbe44d8e user: apnadkarni

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.