| Ticket UUID: | e83a97c7fee9d6bc2bec78d70b205a0e4d09ea8d | ||
| Title: | windows: paths starting with tilde (~) are "partially" absolute | ||
| Type: | Bug | Created on: | 2019-11-08 13:23:56 |
| Submitter: | sebres | Assigned to: | nobody |
| Subsystem: | 36. Pathname Management | Severity: | Minor |
| Priority: | 5 Medium | Last modified: | 2026-10-22 17:19:31 |
| Status: | Closed | Closed by: | serhiy.storchaka |
| Resolution: | Fixed | Closed on: | 2026-10-21 10:03:39 |
| Version: | any | ||
| Description: | ||||
|
Issue could be considered as continuation of [9e6b569963]... Note the ticket is only about Under windows it is possible to have relative paths (file and directory names) starting with tilde, as such it is "partially absolute" path, so in my opinion should be interpreted as relative if used in file join.
Where Just this one is a bit confusing (I know it is a bit "ambiguous", but...):
Anyway (after fix) it could be additionally documented (with difference between unix/windows). | ||||
| User Comments: | ||||
serhiy.storchaka added on 2026-10-21 10:03:39:
Since Tcl 9.0 (TIP 602, [cff0348cb6]) a path starting with ~ is an ordinary relative name, so file join and glob treat ~abc.txt and ~* as files in the directory. 8.6 keeps its documented tilde expansion. Closing as fixed in 9.0. | ||||
