.
D 2024-09-29T07:32:06.323
J assignee nobody
J closer nobody
J cmimetype text/x-fossil-plain
J comment The\sdocumentation\sfor\s'package\sfiles\s<package>'\sstates:\r\n\r\n"Lists\sall\sfiles\sforming\spart\sof\spackage.\sAuto-loaded\sfiles\sare\snot\sincluded\sin\sthis\slist,\sonly\sfiles\swhich\swere\sdirectly\ssourced\sduring\spackage\sinitialization.\sThe\slist\sorder\scorresponds\swith\sthe\sorder\sin\swhich\sthe\sfiles\swere\ssourced."\r\n\r\nWhat\sexactly\sis\smeant\sby\sAuto-loaded\sfiles?\sJust\sthose\sput\sin\s::auto_index\srelated\sto\sthe\spackage\s-\sor\salso\sthose\swhen\sTcl\shas\sto\sscan\smodule/library\spaths?\r\n\r\nOn\sa\ssystem\swith\sno\saccelerators\ssuch\sas\scritcl,cryptkit\sor\strf\s-\sand\salso\swith\sadditional\sentries\sin\s::auto_path\r\n\r\n\s\s\s\s#llength\s[package\srequire\smd5;package\sfiles\smd5]\r\n\s\s\s\s1181\r\n\r\n(md5\spackage\sattempts\sto\sload\sthe\snon-present\saccelerators\s-\sresulting\sin\sscanning\sthe\slibrary\spaths)\r\n\r\nIt\sis\sreturning\sall\sthe\spkgIndex.tcl\spaths\sfrom\sunrelated\spackages\r\n\r\nI\sfound\sthis\sbehaviour\ssomewhat\suseful\sto\sdetermine\swhen\ssuch\sscans\sare\shappening\s(as\sthe\sperformance\simpacts\scan\sbe\sheavy)\sbut\sI'd\slike\sto\sknow\sif\sthis\sis\sintentional\sor\snot\s-\sas\sthe\sfiles\sare\stechnically\ssourced\s-\sbut\sthe\sdocumentation\scould\sbe\sread\sto\sinfer\sit\sshouldn't\sreturn\sthese.\r\n\r\nPeople\stesting\son\sone\ssystem\swhere\s'package\sfiles\s<pkg>'\sreturns\sa\ssmall\sset\sof\srelevant\sresults\smay\sbe\ssurprised\sto\sget\shuge\slistings\son\sanother\ssystem,\sso\sif\sthe\sbehaviour\sas\sis,\sis\scorrect\s-\sI\sthink\sthe\sissue\sshould\sbe\shighlighted\sin\sthe\sdocs.
J foundin tcl9
J is_private 0
J login juliannoble2
J priority 5\sMedium
J private_contact 957fdfcd8744611e3fe1f4896c7538b1d9bf47b2
J resolution None
J severity Minor
J status Open
J submitter juliannoble2
J subsystem -\sNew\sBuiltin\sCommands
J title package\sfiles\sdocumented\sbehaviour
J type Bug
K 209fd9adce08b582db292b4f1088bb57a8400d49
U juliannoble2
Z 3cb30e46eb7abbce704d2d24839ba902