Artifacts Associated With Ticket 1743676
Ticket change [d0e03c0d4b] (rid 113262) by lvirden on 2007-06-26 15:26:11:
- assignee initialized to: "msofer"
- cmimetype initialized to: "text/plain"
- comment initialized to:
$ tclsh % lwv 5 invalid command name "lwv" % "" 5 empty command name "" % {} 5 empty command name "" % { } 5 invalid command name " " For some reason, a proc named {} which has not yet been defined generates a different message than other procs that have not yet been defined. - foundin initialized to: "obsolete: 8.5a7"
- is_private initialized to: "0"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "lvirden"
- subsystem initialized to: "07. Variables"
- title initialized to: "inconsistent error messages"
- type initialized to: "Bug"
Ticket change [bcbdbc18e7] (rid 101804) by msofer on 2007-06-26 22:33:00:
- assignee changed to: "dgp"
- icomment:
Logged In: YES user_id=148712 Originator: NO Comment in init.tcl, line 407: # Handle empty $name separately due to strangeness in [string first] Anybody knows what this strangeness is?
- login: "msofer"
- mimetype: "text/plain"
- username: "msofer"
Ticket change [7e80af0014] (rid 97421) by lvirden on 2007-06-26 22:55:33:
- icomment:
Logged In: YES user_id=15949 Originator: YES Right below that point of init.tcl I see the following: # Filter out bogus matches when $name contained # a glob-special char [Bug 946952] set cmds [list] foreach x $candidates { if {[string first $name $x] == 0} { lappend cmds $x } } Now, if I say: string first {} {} the response is -1, rather than 0. I suspect that is what is trying to be worked around. - login: "lvirden"
- mimetype: "text/plain"
- username: "lvirden"
- icomment:
Ticket change [b542593345] (rid 125210) by dgp on 2007-06-26 23:03:44:
- icomment:
Logged In: YES user_id=80530 Originator: NO See 1243354. Meanwhile, it appears a simple s/empty/invalid/ is in order; correct?
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [af0f328fc9] (rid 97742) by dgp on 2007-06-26 23:05:35:
- icomment:
Logged In: YES user_id=80530 Originator: NO actually, no, a better [string first] would lead to the "ambiguous command name..." message.
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [d1b35b2e4a] (rid 113399) by dgp on 2007-07-06 01:03:06:
- closedate changed to: "2007-07-05T18:03:06"
- closer changed to: "dgp"
- icomment:
Logged In: YES user_id=80530 Originator: NO fix committed to both branches
- login: "dgp"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
- status changed to: "Closed"
- subsystem changed to: "38. Init - Library - Autoload"
- username: "dgp"