Skip to content
Tcl Source Code Artifact [6f3d23f0f7]
Login

Artifact [6f3d23f0f7]

Artifact 6f3d23f0f72e986e3955f529a23c5c41f5506bbc:

Ticket change [6f3d23f0f7] - New ticket [219279ffffffffff|219279ffff] <i>pkg_mkIndex incorrectly handles namespace import command</i>. by nobody on 2000-10-26 05:09:48.
D 2000-10-26T05:09:48
J assignee nobody
J cmimetype text/plain
J comment OriginalBugID:\s1904\sBug\nVersion:\s8.1b3\nSubmitDate:\s'1999-04-19'\nLastModified:\s'2000-10-25'\nSeverity:\sMED\nStatus:\sUnAssn\nSubmitter:\spat\nOS:\sWindows\sNT\nMachine:\sX86\nFixedDate:\s'2000-10-25'\nClosedDate:\s'2000-10-25'\n\n\nName:\nCharles\sW.\sHooks\n\nComments:\nI\sam\sthrilled\sthat\syou\sfixed\sthe\sproblem\sin\stcl8.1b1\swhere\sthe\spackage\n\s\s\s\scommand\sdied\swhen\sit\shit\sthe\snamespace\simport\scommand.\s\sI\ssolved\shalf\sof\n\s\s\s\smy\sproblems.\s\sNow\sfor\sthe\sotehr\shalf.\s:)\n\nReproducibleScript:\nfile:\sfoo.tcl\n\s\s\s\s\n\s\s\s\spackage\sprovide\sJCS_task_service\s1.0\n\s\s\s\s\n\s\s\s\snamespace\seval\s::JCS_task_service::\s{\n\s\s\s\s\s\s\s\snamespace\sexport\s{[a-z]*}\n\s\s\s\s}\n\s\s\s\s\n\s\s\s\sproc\s::JCS_task_service::foo\s{}\s{\n\s\s\s\s\s\s\s\sputs\s"FOO!"\n\s\s\s\s}\n\s\s\s\s\n\s\s\s\snamespace\simport\s::JCS_task_service::foo\n\s\s\s\s\n\s\s\s\s-----------------------------------------\n\s\s\s\suse\sthe\sfollowing\scommand\sin\sa\snormal\stclsh\n\s\s\s\s\n\s\s\s\spkg_mkIndex\s.\s*.tcl\n\nObservedBehavior:\nThis\screates\sa\spkgIndex.tcl\sfile\swith\sthe\sfollowing\sline:\n\s\s\s\s\n\s\s\s\spackage\sifneeded\sJCS_task_service\s1.0\s[list\stclPkgSetup\s$dir\n\s\s\s\sJCS_task_service\s1.0\s{{./services/tasks/task_service.tcl\ssource\n\s\s\s\s::JCS_task_service::foo}}]\n\nDesiredBehavior:\nIt\sshould\screate\sa\spkgIndex.tcl\sfile\swith\sthe\sfollowing\sline:\n\s\s\s\s\n\s\s\s\spackage\sifneeded\sJCS_task_service\s1.0\s[list\stclPkgSetup\s$dir\n\s\s\s\sJCS_task_service\s1.0\s{{./services/tasks/task_service.tcl\ssource\sfoo}\n\s\s\s\s{./services/tasks/task_service.tcl\ssource\s::JCS_task_service::foo}}]\n\s\s\s\s\n\s\s\s\sor:\n\s\s\s\s\n\s\s\s\spackage\sifneeded\sJCS_task_service\s1.0\s[list\stclPkgSetup\s$dir\n\s\s\s\sJCS_task_service\s1.0\s{{./services/tasks/task_service.tcl\ssource\sfoo}}]\n\n\n\n
J foundin obsolete:\s8.1b3
J priority 5\sMedium
J resolution None
J status Open
J submitter nobody
J subsystem 56.\sLibTomMath
J title pkg_mkIndex\sincorrectly\shandles\snamespace\simport\scommand
J type Bug
K 219279ffffffffffffffffffffffffffffffffff
U nobody
Z 45263192df0417814dab5a44bebb0780