Skip to content
Tcl Source Code History Of Ticket 1743676
Login

History Of Ticket 1743676

Artifacts Associated With Ticket 1743676

  1. Ticket change [d0e03c0d4b] (rid 113262) by lvirden on 2007-06-26 15:26:11:

    1. assignee initialized to: "msofer"
    2. cmimetype initialized to: "text/plain"
    3. 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.
      
    4. foundin initialized to: "obsolete: 8.5a7"
    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: "lvirden"
    10. subsystem initialized to: "07. Variables"
    11. title initialized to: "inconsistent error messages"
    12. type initialized to: "Bug"
  2. Ticket change [bcbdbc18e7] (rid 101804) by msofer on 2007-06-26 22:33:00:

    1. assignee changed to: "dgp"
    2. 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?
      
      
      
    3. login: "msofer"
    4. mimetype: "text/plain"
    5. username: "msofer"
  3. Ticket change [7e80af0014] (rid 97421) by lvirden on 2007-06-26 22:55:33:

    1. 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.  
      
      
    2. login: "lvirden"
    3. mimetype: "text/plain"
    4. username: "lvirden"
  4. Ticket change [b542593345] (rid 125210) by dgp on 2007-06-26 23:03:44:

    1. icomment:
      Logged In: YES 
      user_id=80530
      Originator: NO
      
      
      See 1243354.
      
      Meanwhile, it appears a
      simple s/empty/invalid/ is in order;
      correct?
      
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  5. Ticket change [af0f328fc9] (rid 97742) by dgp on 2007-06-26 23:05:35:

    1. icomment:
      Logged In: YES 
      user_id=80530
      Originator: NO
      
      
      actually, no, a better [string first]
      would lead to the
      "ambiguous command name..." message.
      
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  6. Ticket change [d1b35b2e4a] (rid 113399) by dgp on 2007-07-06 01:03:06:

    1. closedate changed to: "2007-07-05T18:03:06"
    2. closer changed to: "dgp"
    3. icomment:
      Logged In: YES 
      user_id=80530
      Originator: NO
      
      fix committed to both branches
      
      
      
    4. login: "dgp"
    5. mimetype: "text/plain"
    6. resolution changed to: "Fixed"
    7. status changed to: "Closed"
    8. subsystem changed to: "38. Init - Library - Autoload"
    9. username: "dgp"