Overview
| Comment: | Fix [3577801fff], [3570244fff], [3183016fff] and [3099612fff]: on Unix, [file normalize] and [cd ..] used the target of a link literally when ".." followed it, so "..", "." or a trailing "/" in the target or a chain of links gave a wrong path. Normalize the target first, as realpath() does. On Windows, resolve ".." lexically, as the system does, so that [pwd], [glob] and native paths agree after [cd ..] from a junction or a symbolic link. Potential incompatibility on Windows: [file normalize junction/..] is now the parent of the junction, not of its target. |
|---|---|
| Timelines: | family | ancestors | normalize-dotdot-after-link |
| Files: | files | file ages | folders |
| SHA3-256: |
854be12c0af5a285540cf740396c6d55 |
| User & Date: | serhiy.storchaka on 2026-10-19 18:37:17.632 |
| Other Links: | branch diff | manifest | tags |
Context
|
2026-10-19
| ||
| 18:37 | Fix [3577801fff], [3570244fff], [3183016fff] and [3099612fff]: on Unix, [file normalize] and [cd ..]... leaf check-in: 854be12c0a user: serhiy.storchaka tags: normalize-dotdot-after-link | |
| 12:02 | tcl::idna -> 1.0.2 check-in: 8aa09bcb9b user: jan.nijtmans tags: trunk, main | |
Changes
Modified generic/tclPathObj.c
from [58128f7ec0]
to [7862cb5a0e].
[diff]
Modified tests/fileSystem.test
from [e0ece6fecf]
to [93c9ec35db].
[diff]
Modified tests/winFile.test
from [1de90b10f6]
to [b9eb4c9913].
[diff]