.
D 2004-04-08T16:57:06
J assignee vincentdarley
J cmimetype text/plain
J comment \nAs\sI\sunderstand\nTclFSNormalizeToUniquePath()\nit's\smeant\sto\sforce\spaths\sinto\none\scanonical\sform\s--\sgetting\nrid\sof\ssymlinks,\sestablishing\nthe\scase\sin\sthe\sfilesystem,\setc.\nTo\sdo\sthis,\sit\sasks\sthe\sfilesystems\nto\sdo\sthe\swork,\sgiving\sthe\snative\nfilesystems\sfirst\stry,\sthen\sgiving\sall\nthe\sothers\sa\stry,\scalling\sthe\nTcl_FSNormalizePathProc\sof\neach,\sif\simplemented.\n\nEach\sTcl_FSNormalizePathProc(),\nthough,\smight\snot\sbe\sable\sto\sfinish\nthe\sjob\scompletely.\s\sThe\s"startAt"\nvalue\sreturned\sby\sTclFSNormalizeToUniquePath()\nmight\snot\spoint\sto\sthe\send\sof\sthe\nreturned\sstring\svalue\sof\sthe\spath.\n\nThis\sis\sfine,\sas\slong\sas\sthe\scallers\nof\sTclFSNTUP()\srepeatedly\scall\nit\suntil\sstartAt\sis\sat\sthe\send\sof\sthe\sstring,\nor\suntil\snothing\schanges.\s\sIt\sappears\nthe\sexisting\scallers\sof\sTclFSNTUP\nare\scalling\sonly\sonce,\snot\schecking\nthe\sreturn\svalue,\sand\sexpecting\nTclFSNTUP\sto\shave\sdone\sall\sthe\nnormalization\spossible.\n\nThe\salternative\sto\schanging\sthe\scallers,\nis\sto\srewrite\sTclFSNTUP\sitself\sto\sdo\nwhat\sthe\scallers\sappear\sto\sexpect,\nkeep\slooping\sover\snormalization\nattempts\suntil\sthey\sdon't\sdo\sany\smore,\nso\sthe\spath\sis\sas\snormalized\sas\spossible.\n\nThis\sbug\sis\sdifficult\sto\sdemostrate\nbecause\sit\srequires\sa\snon-native\sVFS\nthat\sactually\simplements\sa\nTcl_FSNormalizePathProc()\sthat\nwould\sproduce\sa\schanged\spath\sthat,\nsay,\sthe\snative\sfilesystem\scould\nnormalize\sfurther.\s\sFor\sexample,\nimagine\schaining\ssymlinks\sinto\nand\sout\sof\sa\snon-native\sVFS.
J foundin obsolete:\s8.5a2
J priority 5\sMedium
J resolution None
J status Open
J submitter dgp
J subsystem 37.\sFile\sSystem
J title TclFSNormalizeToUniquePath\s-\sincomplete?
J type Bug
K 931847ffffffffffffffffffffffffffffffffff
U dgp
Z e0eab744c25f8936492e773d71201498