.
D 2014-04-10T13:25:07.854
J assignee nobody
J closer nobody
J cmimetype text/x-fossil-wiki
J comment When\sexperimenting\swith\sextended\swin32\spaths\s(starting\swith\s"//?/"\sI\snoticed\sthat\ssometimes\snormalized\spaths\sstarted\sto\scontain\sbackslashes.\sThat\sshould\snever\shappen.\sIt's\sdifficult\sto\swrite\sa\stest-case\sfor\sit,\sas\sit\sdepends\show\sTcl_Obj's\sare\sshared\swhether\sit\soccurs\sor\snot.\sThe\sproblem\sis\sthis\scommit\s[05001e9ac2],\smainly\sthis\spart:\s[http://core.tcl.tk/tcl/artifact/103f5cb655?ln=3280-3286].\sThe\sproblem\sis\sthat\sthe\svalidPathPtr\sTcl_Obj\sis\smodified\sin-place\sto\scontain\sbackslashes\sin\sstead\sof\sslashes.\sIf\sthis\sTcl_Obj\sis\sshared,\sthat\sis\sasking\sfor\strouble.\r\n\r\nSolution:\sDon't\sdo\sthe\sslash->backslash\stranslation\sin-place,\sand\sdo\sit\sfor\sall\sWinNT\spaths:\sSome\sWin32\sAPI's\sdon't\shandle\sslashes\sas\swell\sas\sbackslashes,\sand\sthe\snative\spath\sis\smaintained\sinternally\sin\sTcl\sanyway.\sAll\stest-cases\sstill\spass.
J foundin 8.5
J is_private 0
J login jan.nijtmans
J priority 5\sMedium
J resolution None
J severity Minor
J status Open
J submitter jan.nijtmans
J subsystem 36.\sPathname\sManagement
J title Normilized\swin32\spaths\sshould\snever\scontain\sbackslash
J type Bug
K 792641f95b3198b2b90bc3e3e418a6fb5ab339dd
U jan.nijtmans
Z ab715535306670515cd85367c21f329d