Ticket UUID: | 786674 | |||
Title: | Endless loop in matrix search -nocase option | |||
Type: | Bug | Version: | obsolete: 8.4.4 | |
Submitter: | nobody | Created on: | 2003-08-11 14:06:17 | |
Subsystem: | 69. Other | Assigned To: | nobody | |
Priority: | 5 Medium | Severity: | ||
Status: | Closed | Last Modified: | 2003-09-12 23:20:27 | |
Resolution: | Invalid | Closed By: | dkf | |
Closed on: | 2003-09-12 16:20:27 | |||
Description: |
The matrix search command has a bug in the detection of "-nocase" option. Due to the lack of a line of code, this otpion let the interpreter enter into a endless loop in the serach code of the matrix.tcl, in struct package. See comments in the attached matrix.tcl file to catch the problem, proc ::struct::matrix::_search {name args} { set mode exact set nocase 0 while {1} { ...................... ................... In this way, typing <matrixid> search -nocase anyoption will hang hup the Tcl console. Adding the marked line solve fixes the mentioned bug. Regards [email protected] | |||
User Comments: |
dkf added on 2003-09-12 23:20:27:
Logged In: YES user_id=79902 Please report against the tcllib project nobody added on 2003-08-11 21:06:17: File Added - 58385: matrix.tcl |
Attachments:
- matrix.tcl [download] added by nobody on 2003-08-11 21:06:17. [details]