|
2026-10-21
| ||
| 10:03 | • Closed ticket [1752589fff]: file normalize misses two leading / on first level c... artifact: 7c88980794 user: serhiy.storchaka | |
|
2018-07-27
| ||
| 17:15 | • Open ticket [baf4387372]: file join trashes valid network paths plus 5 other... artifact: 1f8fa30714 user: sebres | |
| 11:03 | • Ticket [baf4387372]: 4 changes artifact: 0895787e36 user: sebres | |
|
2017-05-06
| ||
| 12:52 | • Ticket [f34cf83dd0] unexpected result for "file normalize" status ... artifact: 5fd31b4724 user: gustafn2 | |
|
2017-04-29
| ||
| 11:05 | • Ticket [f9fe90d0fa] Inconsistent handling of leading // status still Open wi... artifact: 36ecfc49e7 user: aspect | |
|
2017-04-28
| ||
| 17:59 | • Closed ticket [f34cf83dd0]: unexpected result for "file normalize"... artifact: 349624ae02 user: dgp | |
| 17:57 | [f34cf83dd0] An optimization was being taken in a case where it produced the wrong result, failing t... check-in: e895b53905 user: dgp tags: trunk | |
| 17:52 | [f34cf83dd0] An optimization was being taken in a case where it produced the wrong result, failing t... check-in: e015bfe72f user: dgp tags: core-8-6-branch | |
| 17:49 | [f34cf83dd0] An optimization was being taken in a case where it produced the wrong result, failing t... check-in: 2158eea530 user: dgp tags: core-8-5-branch | |
| 17:46 | Test for [f34cf83dd0]. check-in: 769ae9c349 user: dgp tags: trunk | |
| 17:44 | Test for [f34cf83dd0]. check-in: 9a6ff36832 user: dgp tags: core-8-6-branch | |
| 17:43 | Test for [f34cf83dd0]. check-in: f49a421a0d user: dgp tags: core-8-5-branch | |
| 16:41 | • Ticket [f34cf83dd0] unexpected result for "file normalize" status ... artifact: 4e32e0a76b user: dgp | |
|
2017-04-27
| ||
| 14:29 | • Ticket [f34cf83dd0]: 3 changes artifact: 7cf119cf6c user: dgp | |
|
2017-04-25
| ||
| 09:48 | • New ticket [f34cf83dd0]. artifact: 8d0a46fb2f user: gustafn2 | |
| Ticket UUID: | f34cf83dd0150cbbea33469d70a6a400559979c1 | ||
| Title: | unexpected result for "file normalize" | ||
| Type: | Bug | Created on: | 2017-04-25 09:48:09 |
| Submitter: | gustafn2 | Assigned to: | dgp |
| Subsystem: | 37. File System | Severity: | Minor |
| Priority: | 5 Medium | Last modified: | 2017-05-06 12:52:37 |
| Status: | Closed | Closed by: | gustafn2 |
| Resolution: | Fixed | Closed on: | 2017-05-06 12:52:37 |
| Version: | 8.6.6 and 8.7 | ||
| Description: | ||||
Two slashes in paths are only sometimes reduced to a single slash. This inconsistent behavior contradicts the aim that "file normalize" returns 'the “standard” format for the native platform'. This is seen at least with tcl 8.6.6 and Tcl 8.7a0 on MacOS X and Linux. % file normalize //foo //foo % file normalize //foo/ /foo % file normalize ///foo /foo % file normalize /foo//bar /foo/bar % file normalize //foo/bar //foo/bar % file normalize //foo//bar /foo/bar % file normalize //foo/bar/ /foo/bar % set tcl_patchLevel 8.6.6 | ||||
| User Comments: | ||||
dgp added on 2017-04-27 14:29:53:
Bisecting points the blame at https://core.tcl.tk/tcl/info/9cfcca63fb0 dgp added on 2017-04-28 16:41:03:
It appears this traces down to a flaw in [file join] machinery: % info patch 8.4.20 % file join foo /bar /bar % file join foo //bar /bar % file join foo ///bar /bar % info patch 8.6.6 % file join foo /bar /bar % file join foo //bar //bar % file join foo ///bar /bar dgp added on 2017-04-28 17:59:43:
Fixed on all dev branches gustafn2 added on 2017-05-06 12:52:37:
Great, Many thanks! | ||||
