<i>[file normalize] changes file reference</i> status still Open with 4 other changes
by
.
D 2004-06-02T21:27:58
J icomment Logged\sIn:\sYES\s\nuser_id=32170\n\nI\sstill\stend\sto\sthink\sthis\sillustrates\sa\sbug\sin\sTcl\nsomewhere,\ssince\sthe\sabove\sbehaviour\sis\snot\sexpected.\s\sI\snow\nthink\sit's\sdue\sto\ssome\sof\sthe\sfs-optimization\sthat\swas\nperformed.\s\sIn\sparticular,\sI\sthink\sit's\sdue\sto\sthe\s'if'\nblock\shere\sin\sNativeCreateNativeRep:\n\n\s\s\s\sif\s(tsdPtr->cwdClientData\s!=\sNULL)\s{\n\s\s\s\s\s\s\s\s/*\sThe\scwd\sis\snative\s*/\nvalidPathPtr\s=\sTcl_FSGetTranslatedPath(NULL,\spathPtr);\n\s\s\s\s}\selse\s{\n/*\sMake\ssure\sthe\snormalized\spath\sis\sset\s*/\nvalidPathPtr\s=\sTcl_FSGetNormalizedPath(NULL,\spathPtr);\nTcl_IncrRefCount(validPathPtr);\n\s\s\s\s}\n\ntry\smaking\sthat\s'if\s(0)'\sand\ssee\sif\sthe\sproblem\sgoes\saway.\n\n--\n\nNow,\sit's\sa\sseparate\sissue\sas\sto\swhat\sthe\sdesired\sbehaviour\nis.\s\sI\ssee\sarguments\sfor\sboth\sapproaches,\sreally.\s\sIn\nparticular,\sif,\sas\syou\ssuggest\sthe\s/../\sinterpretation\sis\nmoved\sto\sthe\sfilesystem-specific\slayer\s(vastly\scomplicating\nall\sfilesystems),\swhat\sbehaviour\sshould\s'file\snormalize'\nhave\sin\sthis\scase?\s\sHow\sshould\s'file\snormalize'\sbe\sdocumented?\n\n\n
J login vincentdarley
J mimetype text/plain
J username vincentdarley
K 961646ffffffffffffffffffffffffffffffffff
U vincentdarley
Z 3b03970a05d1a2a4911dce99ab84f0c7