|
2002-10-18
| ||
| 00:39 | • Closed ticket [624755ffff]: Crash in array names -regexp plus 7 other change... artifact: e819046d0d user: dgp | |
| 00:30 | • Ticket [624755ffff]: 7 changes artifact: 3a0033dfa3 user: dgp | |
|
2002-10-17
| ||
| 23:45 | • Ticket [624755ffff]: 2 changes artifact: f3dbe23509 user: andreas_kupries | |
| 16:36 | • New ticket [624755ffff]. artifact: 388b2e9de8 user: petasis | |
Crash in array names -regexp
Closed / Fixed624755ffffffffffffffffffffffffffffffffffCreated 24 years agoUpdated 24 years ago
Descriptionplain2002-10-17 16:36:37
Tcl 8.4.1 (CVS) crashes with the following simple
script:
set constituents([list 1 2 {a {}}]) 0
set start 1; set end 2
set symbol {a {}}
puts "[array names constituents -regexp \
\"$start $end \{*[lindex $symbol 0].*\"]"
The expression has an error (unmatched curly
brace), but this is not a reason for crashing.
Reproduced on linux and Activestate's
distribution on windows.
andreas_kupries Ticket [624755ffff]: 2 changes
[History diff]2002-10-17 23:45:59
dgpplain2002-10-18 00:30:36
Logged In: YES user_id=80530 Stupid logic error in [array names]. if ((objc < 3) && (objc > 5)) ... syntax error... obviously should be || not &&
dgpplain2002-10-18 00:39:03
Logged In: YES user_id=80530 fix and test committed.
Log in (anonymous is fine) to add a comment.