Artifacts Associated With Ticket 3004191
Ticket change [a948cbbe51] (rid 99126) by johannes-kuhn on 2010-05-19 17:08:40:
- assignee initialized to: "hobbs"
- cmimetype initialized to: "text/plain"
- comment initialized to:
(bin) 52 % safe::createInterp slave; slave eval {glob *} invalid command name "safe::createInterp" Please trap the ok too :) Patch file included. - foundin initialized to: "obsolete: 8.6b1.1"
- is_private initialized to: "0"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "johannes-kuhn"
- subsystem initialized to: "33. Safe Base"
- title initialized to: "glob doesn't work on the safe base"
- type initialized to: "Bug"
Add attachment "safe.tcl.patch" [b79a45387c] (rid 125628) by johannes-kuhn on 2010-05-20 00:08:40.
Ticket change [f3278bc6cb] (rid 129652) by johannes-kuhn on 2010-05-20 00:08:41:
- icomment:
File Added - 374488: safe.tcl.patch
- login: "johannes-kuhn"
- mimetype: "text/plain"
- username: "johannes-kuhn"
- icomment:
Ticket change [904aab05ef] (rid 120427) by johannes-kuhn on 2010-05-20 00:09:13:
- assignee changed to: "dkf"
Ticket change [be0ed163e5] (rid 102014) by johannes-kuhn on 2010-05-20 19:32:47:
- icomment:
try { ::interp invokehidden $slave glob {*}$cmd } on error msg { Log $slave $msg return -code error "script error" } As we can see, the result of glob is not used unless an error occurs. But the statement Log $slave "GLOB @ $msg" NOTICE requires that $msg is set. We use $msg also for the result of [glob] later. My solution is to catch ok too, but we can also use the old [catch] or set msg [glob]. - login: "johannes-kuhn"
- mimetype: "text/plain"
- title changed to: "glob - the use of [try] does not set msg prober"
- username: "johannes-kuhn"
- icomment:
Ticket change [791d473bf6] (rid 90068) by dkf on 2010-08-18 20:13:48:
- icomment:
% safe::interpCreate slave slave % slave eval {glob *} can't read "msg": no such variable - login: "dkf"
- mimetype: "text/plain"
- username: "dkf"
- icomment:
Ticket change [181871e995] (rid 122609) by dkf on 2010-08-18 20:32:35:
- closedate changed to: "2010-08-18T13:32:35"
- closer changed to: "dkf"
- icomment:
allow_comments - 1 Turned out that we didn't have any tests that checked whether a safe [glob] could ever work! D'oh!
- login: "dkf"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
- status changed to: "Closed"
- username: "dkf"