Overview
| Artifact ID: | 0895787e36a5a2b7f66e2ef092ed4d670a4d095490c00c3004725b38f94b6089 |
|---|---|
| Ticket: | baf43873720f5e92ae1142b1fc8d343b3648b54d
file join trashes valid network paths |
| User & Date: | sebres on 2018-07-27 11:03:10 |
Changes
- assignee changed to: "dgp"
- icomment:
Well, I found what it is, belong to solution for [f34cf83dd0], first time introduced in [2158eea530] (and merged in all major branches). @Don: are you sure, this should be fixed so incompatible way as regards the UNC-pathes? Where is the TIP? (allow me to do this tiny joke ;) The simple test-case filename-7.19 (added in [f49a421a0d]) is IMHO questionable also: <code><pre style="padding-left:10pt"> test filename-7.19 {[Bug f34cf83dd0]} { file join foo //bar } /bar </pre></code> Either TCL continue to support UNC platform-independent, or //bar is indeed simple absolute root-path (on *nix-platform) and the test is correct then. So I would be interested to know the answer of the questions as regards the UNC-paths and segments: <code><pre style="padding-left:10pt"> 1. file normalize //a/b a. //a/b b. /a/b 2. file normalize //a//b a. //a/b b. /a/b 3. file join //a/b //c/d a. //c/d b. /c/d </pre></code> - login: "sebres"
- mimetype: "text/x-fossil-wiki"