Skip to content
Tcl Source Code Artifact [35c01f1313]
Login

Artifact [35c01f1313]

Artifact 35c01f1313437b52e1e43c23069cf1afa4929dab:

Ticket change [35c01f1313] - Ticket [956063ffffffffff|956063ffff] <i>[file dirname] broken</i> status still Open with 4 other changes by vincentdarley on 2004-05-19 22:43:08.
D 2004-05-19T22:43:08
J icomment \n\nFile\sAdded\s-\s87657:\sfiledirname.diff\n\nLogged\sIn:\sYES\s\nuser_id=32170\n\nI\scan\sget\sthe\sproblem\sto\soccur\son\swindows,\squite\ssimply:\n\ntest\scmdAH-8.46\s{Tcl_FileObjCmd:\sdirname}\s{\n\s\s\s\sset\sf\s[file\snormalize\s[info\snameof]]\n\s\s\s\sfile\sexists\s$f\n\s\s\s\sset\sres1\s[file\sdirname\s[file\sjoin\s$f\sfoo/bar]]\n\s\s\s\sset\sres2\s[file\sdirname\s"${f}/foo/bar"]\n\s\s\s\sif\s{$res1\seq\s$res2}\s{\nset\sres\s"ok"\n\s\s\s\s}\selse\s{\n\s\s\s\s\s\s\s\sset\sres\s"file\sdirname\sproblem,\s$res1,\s$res2\snot\sequal"\n\s\s\s\s}\n\s\s\s\sset\sres\n}\s{ok}\n\nI've\sattached\san\salternative\spatch\swhich\schanges\sthe\nbehaviour\sof\sTclPathPart.\n\nFor\swhat\sit's\sworth,\sTclPathPart's\soptimization\sis\swhat\nreally\sintroduced\sthe\sbug\sso\sthe\sobvious\splace\sto\sme\sto\sfix\nit\sis\sthere.\s\sHowever,\sI'm\sinterested\sto\slook\sat\syour\spatch\nand\ssee\show\syou\sfixed\sit\sin\sa\sdifferent\sway\s(just\sno\stime\ntoday).\n\n\n
J login vincentdarley
J mimetype text/plain
J username vincentdarley
K 956063ffffffffffffffffffffffffffffffffff
U vincentdarley
Z 79446bfa0e2243d1241d7707336c9ed2