Skip to content
Tcl Source Code History Of Ticket 1836519fffffffffffffffffffffffffffffffff
Login

History Of Ticket 1836519fffffffffffffffffffffffffffffffff

Artifacts Associated With Ticket 1836519fffffffffffffffffffffffffffffffff

  1. Ticket change [6dfb01141a] (rid 128799) by pspjuth on 2007-11-22 15:21:07:

    1. assignee initialized to: "dkf"
    2. cmimetype initialized to: "text/plain"
    3. 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.
      
      
    4. foundin initialized to: "None"
    5. is_private initialized to: "0"
    6. priority initialized to: "5 Medium"
    7. resolution initialized to: "None"
    8. status initialized to: "Open"
    9. submitter initialized to: "pspjuth"
    10. subsystem initialized to: "18. Commands M-Z"
    11. title initialized to: "Make two-arg switch safe and fast"
    12. type initialized to: "Patch"
  2. Add attachment "switch.patch" [5fada84ff5] (rid 115858) by pspjuth on 2007-11-22 22:21:07.

  3. Ticket change [13e424b05d] (rid 124294) by pspjuth on 2007-11-22 22:21:08:

    1. icomment:
      
      
      File Added - 255442: switch.patch
      
      
      
    2. login: "pspjuth"
    3. mimetype: "text/plain"
    4. username: "pspjuth"
  4. Ticket change [20f1d7fe22] (rid 130499) by dkf on 2007-12-03 20:47:53:

    1. closedate changed to: "2007-12-03T13:47:53"
    2. closer changed to: "dkf"
    3. icomment:
      Logged In: YES 
      user_id=79902
      Originator: NO
      
      Implemented, though in a slightly different way.
      
      
    4. login: "dkf"
    5. mimetype: "text/plain"
    6. resolution changed to: "Accepted"
    7. status changed to: "Closed"
    8. username: "dkf"