Skip to content
Tcl Source Code Artifact [acd95ac7b2]
Login

Artifact [acd95ac7b2]

Artifact acd95ac7b269eaa9a5e787f5f0b52f4966d28a3d:

Ticket change [acd95ac7b2] - Closed ticket [1661378fffffffff|1661378fff]: <i>&quot;file readable&quot; broken on vmware shared folders</i> plus 6 other changes by dkf on 2013-09-24 22:00:43.
D 2013-09-24T22:00:43.212
J closedate 2456560.41716681
J closer dkf
J comment Dear\sSupport,\r\n\r\n\s\sI\shave\sa\sproblem\swith\s"file\sreadable"\son\swinxp\s32bit\r\n\s\sas\svmware\sguest\son\san\sopenSuse\shost.\r\n\r\n\s\sI\susing\s"Shared\sFolders"\son\swindows\sto\saccess\r\n\s\sa\sdirectory\sfrom\slinux.\r\n\r\n\s\sbut\stcl\son\swinxp\shas\sa\sproblem\swith\sacessing\r\n\s\sfiles\son\sthe\sshared\sfolder:\r\n\r\n\s\sdetail:\r\n\r\n\s\s\s1.\sfile\sreadable\sreturns\s0\s->\snot\sreadable\r\n\s\s\s2.\sbut\sin\stcl\sI\scan\sopen\sand\sread\sthis\sfile\s->\sreadable\r\n\s\s\s3.\sthe\sproblem\sis\sthat\sthe\stcl\spkgLoader\sstops\sworking\r\n\r\nfrom\stclPkgUnknown\sin\stcl8.4\spackage.tcl\r\n>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>\r\n501\s\s\scatch\s{\r\n502\s\s\s\s\s\s\sforeach\sfile\s[glob\s-directory\s$dir\s-join\s-nocomplain\s\\\r\n503\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s*\spkgIndex.tcl]\s{\r\n504\s\s\s\s\s\s\s\s\s\s\sset\sdir\s[file\sdirname\s$file]\r\n505\s\s\s\s\s\s\s\s\s\s\sif\s{![info\sexists\sprocdDirs($dir)]\s&&\s[file\sreadable\s$file]}\s{\r\n506\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sif\s{[catch\s{source\s$file}\smsg]}\s{\r\n507\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\stclLog\s"error\sreading\spackage\sindex\sfile\s$file:\s$msg"\r\n508\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s}\selse\s{\r\n509\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sset\sprocdDirs($dir)\s1\r\n510\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s}\r\n511\s\s\s\s\s\s\s\s\s\s\s}\r\n512\s\s\s\s\s\s\s}\r\n513\s\s\s}\r\n<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<\r\n\r\nthe\s"file\sreadable"\swill\sreturn\s0\sand\sthe\spkgLoader\swill\snot\r\nload\sthe\spkgIndex.tcl\sfile\r\n\r\n=>\sthis\sis\sa\sbug\r\nfrom\sthe\scode\sdown\syou\sget\sthe\sinfo\sthat\sfrom\sinside\stcl\r\n"files\sreadable"\sreturns\s0\sbut\sI\scan\sopen\sand\sread\sthe\sfile\r\n\r\ntest\sscript\r\n>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>><\r\n\r\nparray\stcl_platform\r\n\r\nforeach\sf\s{"//.host/Shared\r\nFolders/FbgBase/src/TestFreiburg/lib/TestFbg/pkgIndex.tcl"}\s{\r\n\r\n\s\s\s\sputs\s"++\s$f"\r\n\s\s\s\sif\s{![file\sexists\s$f]}\s{\r\n\s\s\s\s\s\s\s\sputs\s"\s\s->\sfile\sdoes\snot\sexists\s!!"\r\n\s\s\s\s\s\s\s\scontinue\r\n\s\s\s\s}\r\n\s\s\s\sunset\s-nocomplain\sstat\r\n\s\s\s\sunset\s-nocomplain\sattribute\r\n\s\s\s\sfile\sstat\s$f\sstat\r\n\s\s\s\sarray\sset\sattribute\s[file\sattributes\s$f]\r\n\s\s\s\sputs\sexists:[file\sexists\s$f]\r\n\s\s\s\sputs\sreadable:[file\sreadable\s$f]\r\n\s\s\s\sparray\sstat\r\n\s\s\s\sparray\sattribute\r\n\s\s\s\sset\sFH\s[open\s$f\sr]\r\n\s\s\s\swhile\s{![eof\s$FH]}\s{\r\n\s\s\s\s\s\s\s\sputs\s"pkgIndex.tcl:\s[gets\s$FH]"\r\n\s\s\s\s}\r\n\s\s\s\sclose\s$FH\r\n}\r\n<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<\r\n\r\nresults\r\n>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>\r\ntcl_platform(byteOrder)\s=\slittleEndian\r\ntcl_platform(machine)\s\s\s=\sintel\r\ntcl_platform(os)\s\s\s\s\s\s\s\s=\sWindows\sNT\r\ntcl_platform(osVersion)\s=\s5.1\r\ntcl_platform(platform)\s\s=\swindows\r\ntcl_platform(user)\s\s\s\s\s\s=\sSYSTEM\r\ntcl_platform(wordSize)\s\s=\s4\r\n++\s//.host/Shared\sFolders/FbgBase/src/TestFreiburg/lib/TestFbg/pkgIndex.tcl\r\nexists:1\r\nreadable:0\r\nstat(atime)\s=\s1171619183\r\nstat(ctime)\s=\s1171619183\r\nstat(dev)\s\s\s=\s-1\r\nstat(gid)\s\s\s=\s0\r\nstat(ino)\s\s\s=\s0\r\nstat(mode)\s\s=\s33188\r\nstat(mtime)\s=\s1171545538\r\nstat(nlink)\s=\s1\r\nstat(size)\s\s=\s369\r\nstat(type)\s\s=\sfile\r\nstat(uid)\s\s\s=\s0\r\nattribute(-archive)\s\s\s=\s0\r\nattribute(-hidden)\s\s\s\s=\s0\r\nattribute(-longname)\s\s=\s//.host/Shared\r\nFolders/FbgBase/src/TestFreiburg/lib/TestFbg/pkgIndex.tcl\r\nattribute(-readonly)\s\s=\s0\r\nattribute(-shortname)\s=\s//.host/Shared\r\nFolders/FbgBase/src/TestFreiburg/lib/TestFbg/pkgIndex.tcl\r\nattribute(-system)\s\s\s\s=\s0\r\npkgIndex.tcl:\s##\r\npkgIndex.tcl:\s##\s\stestFreiburg\s-\ssrc/TestFreiburg/lib/pkgIndex.tcl\r\npkgIndex.tcl:\s##\r\npkgIndex.tcl:\s##\s\s(C)\s2004\s-\sFreiburg\s-\sProject\s-\sGroup\r\npkgIndex.tcl:\s##\s\s------------------------------------------------------\r\npkgIndex.tcl:\s##\s\sEMail:\sfreiburg\sAT\scompiler-factory\sDOT\sde\r\npkgIndex.tcl:\s##\s\s------------------------------------------------------\r\npkgIndex.tcl:\s##\s\sall\srights\sreserved\r\npkgIndex.tcl:\s##\r\npkgIndex.tcl:\r\npkgIndex.tcl:\spackage\sifneeded\sTestFbg\s2.0\s[list\ssource\s[file\sjoin\s$dir\r\nTestFbg.tcl]]\r\npkgIndex.tcl:\r\npkgIndex.tcl:\r\n<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<\r\n\r\n\r\nmfg\r\n\r\n\s\sAndreas\sOtto
J login dkf
J mimetype text/plain
J severity Minor
J status Closed
K 1661378fffffffffffffffffffffffffffffffff
U dkf
Z 824abaab1c490831987609ed072b3d39