Skip to content
Tcl Source Code Artifact [cf1a85c0ce]
Login

Artifact [cf1a85c0ce]

Artifact cf1a85c0ce9bf054434bc67f8bc470aba61d202d:

Ticket change [cf1a85c0ce] - Ticket [707104ffffffffff|707104ffff] <i>[interp alias] commands cannot be [rename]d</i> status still Open with 5 other changes by vincentdarley on 2003-03-21 17:29:58.
D 2003-03-21T17:29:58
J icomment Logged\sIn:\sYES\s\nuser_id=32170\n\nYup,\sI'm\snow\susing\sthis,\swhich\scopes\swith\scommand\s\ntraces\stoo:\n\nproc\shook::_safeRename\s{origName\snewName}\s{\n\s\s\s\sset\salias\s[interp\salias\s{}\s$origName]\n\s\s\s\sif\s{[string\slength\s$alias]}\s{\nset\strace\s[trace\sinfo\scommand\s$origName]\nrename\s$origName\s$newName\n#\sMust\sre-create\sthe\salias,\sand\sthe\strace\ninterp\salias\s{}\s$newName\s{}\s$alias\nforeach\st\s$trace\s{\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\seval\s[list\s[list\strace\sadd\scommand\s\n$newName]]\s$t\n}\n\s\s\s\s}\selse\s{\nrename\s$origName\s$newName\n\s\s\s\s}\n}\n\nI'm\sglad\sDonal\sagrees\s---\susing\scommand\straces\son\s\naliases\swith\sthis\slimitation\sis\spretty\shopeless\s\n(fortunately\sthere\sseems\sto\sbe\sthe\sabove\sworkaround,\s\nbut\sI've\snot\sused\sit\senough\sto\sknow\swhether\sI'll\ssee\s\nfurther\sproblems\stoo).\n\nSince\sthere\sseems\sto\sbe\ssome\sconsensus,\sI'm\smoving\s\nthe\spriority\sback\sto\snormal.\n\n\n
J login vincentdarley
J mimetype text/plain
J priority 5\sMedium
J username vincentdarley
K 707104ffffffffffffffffffffffffffffffffff
U vincentdarley
Z c117de3719f3a38647e41dacce55e3ea