Artifacts Associated With Ticket 688554ffffffffff
Ticket change [6c73a4ee50] (rid 128514) by nobody on 2003-02-18 09:49:10:
- assignee initialized to: "dkf"
- cmimetype initialized to: "text/plain"
- 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]"
- foundin initialized to: "obsolete: 8.4.1"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "nobody"
- subsystem initialized to: "18. Commands M-Z"
- title initialized to: "string match doesn't match strings with NULLs"
- type initialized to: "Bug"
Ticket change [f89e00617b] (rid 91571) by dkf on 2003-02-18 17:21:16:
- icomment:
Logged In: YES user_id=79902 Hmm. Seems to work for me. Will investigate further...
- login: "dkf"
- mimetype: "text/plain"
- resolution changed to: "Works For Me"
- username: "dkf"
- icomment:
Ticket change [4cd4608f41] (rid 126954) by hobbs on 2003-02-19 01:08:31:
- closedate changed to: "2003-02-18T18:08:31"
- closer changed to: "hobbs"
- icomment:
Logged In: YES user_id=72656 Already corrected in the HEAD.
- login: "hobbs"
- mimetype: "text/plain"
- resolution changed to: "Out of Date"
- status changed to: "Closed"
- username: "hobbs"