Skip to content
Tcl Source Code History Of Ticket 688554ffffffffff
Login

History Of Ticket 688554ffffffffff

Artifacts Associated With Ticket 688554ffffffffff

  1. Ticket change [6c73a4ee50] (rid 128514) by nobody on 2003-02-18 09:49:10:

    1. assignee initialized to: "dkf"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      [email protected]
      
      The following string doesn't work correctly. Depending
      on the 'binary' line commented out or not 'string
      match' gives different results. This is true for
      tcl8.4.0 and tcl8.4.1.
      
      
      proc MatchElem {constraint queueElem} {
        set result 0
      # binary scan $queueElem H* bele1
        set result [string match $constraint $queueElem]
        puts "Match '$constraint' with '$queueElem': result
      $result"
        binary scan $queueElem H* bele2
        puts "Match '$constraint' with '$queueElem' ($bele2):
      result $result"
        return $result
      }
      
      set con "*abc*"
      
      set a "\000@abc"
      MatchElem $con $a
      puts "[string match $con $a]"
      
      set a "@abc"
      MatchElem $con $a
      #puts "[string match $con $a]"
      
      set a "\000@abc\000"
      MatchElem $con $a
      #puts "[string match $con $a]"
      
    4. foundin initialized to: "obsolete: 8.4.1"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "nobody"
    9. subsystem initialized to: "18. Commands M-Z"
    10. title initialized to: "string match doesn't match strings with NULLs"
    11. type initialized to: "Bug"
  2. Ticket change [f89e00617b] (rid 91571) by dkf on 2003-02-18 17:21:16:

    1. icomment:
      Logged In: YES 
      user_id=79902
      
      Hmm.  Seems to work for me.  Will investigate further...
      
      
    2. login: "dkf"
    3. mimetype: "text/plain"
    4. resolution changed to: "Works For Me"
    5. username: "dkf"
  3. Ticket change [4cd4608f41] (rid 126954) by hobbs on 2003-02-19 01:08:31:

    1. closedate changed to: "2003-02-18T18:08:31"
    2. closer changed to: "hobbs"
    3. icomment:
      Logged In: YES 
      user_id=72656
      
      Already corrected in the HEAD.
      
      
    4. login: "hobbs"
    5. mimetype: "text/plain"
    6. resolution changed to: "Out of Date"
    7. status changed to: "Closed"
    8. username: "hobbs"