.
D 2004-04-24T02:10:40
J assignee vincentdarley
J cmimetype text/plain
J comment \nThe\sTcl_FSNormalizePathProc\sof\sa\s\nTcl_Filesystem\sgets\sthree\sarguments,\n\n\s\s(TclInterp\s*interp,\n\s\s\sTcl_Obj\s*pathPtr,\n\s\s\sint\snextCheckPoint)\n\nand\san\sint\sreturn\svalue.\n\nIt's\sspelled\sout\sin\sin\sthe\sTcl_Filesystem\ndocs\sthat\sboth\snextCheckPoint\sand\nthe\sreturned\svalue\sshould\sbe\sindices\ninto\sthe\spathPtr->bytes\sarray\sand\sthe\nvalue\sshould\spoint\sto\seither\sthe\sstart\n(0)\sthe\send\s(bytes[cp]\s==\s'\\0')\sor\nto\sa\sseparator\scharacter,\susually\s'/'.\n\nThe\sunix\sTclpObjNormalizePath()\nroutine\sdoes\snot\sfollow\sthese\srules;\nit\sreturns\sa\svalue\sthat\spoints\s"one\spast"\nthe\sseparator,\snot\sto\sit.\n\nThe\scorrection\sis\ssimple,\sjust\sremove\nlines\s1805-1807\sfrom\sunix/tclUnixFCmd.c\nThose\slines\sincorrectly\sadvance\sthe\ncheckpoint\svalue\sone\spast\swhere\sit\nought\sto\sbe.\n\nRemoving\sthose\slines\sleads\sto\sno\nnew\sfailures\sin\sthe\stest\ssuite\son\sthree\ndifferent\sunix\ssystems\sI\stried.\n
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 TclpObjNormalizePath(unix)\sbreaks\sVFS\sspec
J type Bug
K 941108ffffffffffffffffffffffffffffffffff
U dgp
Z 8f466b8aa0bcf3d97137e466da290124