Tk Source Code

Artifact [2ad18538]
Login

Artifact 2ad18538089107802784dd5973289b31c1c0c229:

Ticket change [2ad18538] - Ticket [2780147f] Demo - dir browser tree fails status still Open with 7 other changes by dkf 2013-11-03 13:13:30.
D 2013-11-03T13:13:30.161
J closer nobody
J comment The\sdirectory\sbrowser\stree\sfails\son\smy\swindows\ssystem\swith\sthe\sTcl\serror:\r\n\r\n--------\ssnip\s----------\r\ncould\snot\sread\s"C:/~AVINSTL":\sno\ssuch\sfile\sor\sdirectory\r\ncould\snot\sread\s"C:/~AVINSTL":\sno\ssuch\sfile\sor\sdirectory\r\n\s\s\s\swhile\sexecuting\r\n"file\stype\s$f"\r\n\s\s\s\s(procedure\s"populateTree"\sline\s8)\r\n\s\s\s\sinvoked\sfrom\swithin\r\n"populateTree\s$tree\s[$tree\sinsert\s{}\send\s-text\s$dir\s\s-values\s[list\s$dir\sdirectory]]"\r\n\s\s\s\s(procedure\s"populateRoots"\sline\s3)\r\n\s\s\s\sinvoked\sfrom\swithin\r\n"populateRoots\s$w.tree"\r\n\s\s\s\s(file\s"D:/Tcl/demos/Tk8.6/tree.tcl"\sline\s81)\r\n\s\s\s\sinvoked\sfrom\swithin\r\n"source\sD:/Tcl/demos/Tk8.6/tree.tcl"\r\n\s\s\s\s("uplevel"\sbody\sline\s1)\r\n\s\s\s\sinvoked\sfrom\swithin\r\n"uplevel\s1\s[list\ssource\s[file\sjoin\s$tk_demoDirectory\s$demo.tcl]]"\r\n\s\s\s\s(procedure\s"invoke"\sline\s12)\r\n\s\s\s\sinvoked\sfrom\swithin\r\n"invoke\s[.t\sindex\s{@95,377}]"\r\n\s\s\s\s(command\sbound\sto\sevent)\r\n\r\n-------------\ssnap\s-----------\r\n\r\nThis\sbug\scan\sbe\sfixed\sby\snormalizing\sthe\sfile\spaths\sin\sthe\sproc\spopulateTree.\sSee\sattachment.
J icomment The\sonly\sproblem\sI\sever\sencountered\swith\susing\snormalization\sof\sfilenames\swas\son\sold\sSolaris\ssystems\swhere\san\sautomounter\swas\sused:\sthough\sthe\snormalized\sfilename\swas\scorrect,\sit\swouldn't\sget\sremounted\sif\sthe\sautomounter\sdecided\sto\sunmount.\s(The\smounting\swas\shooked\sthrough\ssymlink\straversal,\sIIRC.)\sI've\sno\sidea\sat\sall\sif\sthis\sstill\sapplies\sto\sOSes\scurrent\sin\sthis\smillennium.
J login dkf
J mimetype text/html
J severity Minor
J username dkf
K 2780147fffffffffffffffffffffffffffffffff
U dkf
Z 12d68c71c12df8fdf8cfca5601811bb6