Artifacts Associated With Ticket 1836519fffffffff
Ticket change [6dfb01141a] (rid 128799) by pspjuth on 2007-11-22 15:21:07:
- assignee initialized to: "dkf"
- cmimetype initialized to: "text/plain"
- comment initialized to:
When switch gets two arguments they cannot legally be options, yet they are scanned for options leading to that the simple way of coding: switch $a { xx yy } is not as safe as one would hope when $a happens to begin with "-". Not parsing for options where they cannot legally be are common in Tcl commands, e.g. lsort and lsearch does this. This patch makes the most straightforward switch usage also be the safest and fastest. - foundin initialized to: "None"
- is_private initialized to: "0"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "pspjuth"
- subsystem initialized to: "18. Commands M-Z"
- title initialized to: "Make two-arg switch safe and fast"
- type initialized to: "Patch"
Add attachment "switch.patch" [5fada84ff5] (rid 115858) by pspjuth on 2007-11-22 22:21:07.
Ticket change [13e424b05d] (rid 124294) by pspjuth on 2007-11-22 22:21:08:
- icomment:
File Added - 255442: switch.patch
- login: "pspjuth"
- mimetype: "text/plain"
- username: "pspjuth"
- icomment:
Ticket change [20f1d7fe22] (rid 130499) by dkf on 2007-12-03 20:47:53:
- closedate changed to: "2007-12-03T13:47:53"
- closer changed to: "dkf"
- icomment:
Logged In: YES user_id=79902 Originator: NO Implemented, though in a slightly different way.
- login: "dkf"
- mimetype: "text/plain"
- resolution changed to: "Accepted"
- status changed to: "Closed"
- username: "dkf"