Artifacts Associated With Ticket 792641f95b3198b2
Ticket change [46a58ae947] (rid 137556) by jan.nijtmans on 2014-04-10 13:25:07:
- assignee initialized to: "nobody"
- closer initialized to: "nobody"
- cmimetype initialized to: "text/x-fossil-wiki"
- comment initialized to:
When experimenting with extended win32 paths (starting with "//?/" I noticed that sometimes normalized paths started to contain backslashes. That should never happen. It's difficult to write a test-case for it, as it depends how Tcl_Obj's are shared whether it occurs or not. The problem is this commit [05001e9ac2], mainly this part: [http://core.tcl.tk/tcl/artifact/103f5cb655?ln=3280-3286]. The problem is that the validPathPtr Tcl_Obj is modified in-place to contain backslashes in stead of slashes. If this Tcl_Obj is shared, that is asking for trouble. Solution: Don't do the slash->backslash translation in-place, and do it for all WinNT paths: Some Win32 API's don't handle slashes as well as backslashes, and the native path is maintained internally in Tcl anyway. All test-cases still pass.
- foundin initialized to: "8.5"
- is_private initialized to: "0"
- login: "jan.nijtmans"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- severity initialized to: "Minor"
- status initialized to: "Open"
- submitter initialized to: "jan.nijtmans"
- subsystem initialized to: "36. Pathname Management"
- title initialized to:
Normilized win32 paths should never contain backslash
- type initialized to: "Bug"
Ticket change [dd7e99d6cd] (rid 137565) by jan.nijtmans on 2014-04-10 13:58:54:
- assignee changed to: "jan.nijtmans"
- closedate changed to: "2456758.08257942"
- closer changed to: "jan.nijtmans"
- icomment:
Fixed in core-8-5-branch [bade6c326a2bd09c3ae91947a90d24b12b2a00ef|bade6c326a] and trunk [578237c4c689907698e3e324d7bf13ee3328eb57|578237c4c6]
- login: "jan.nijtmans"
- mimetype: "text/x-fossil-wiki"
- resolution changed to: "Fixed"
- status changed to: "Closed"