Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2001-09-04
18:56 • Closed ticket [458241ffff]: Incorrect operands for list bytecode plus 7 othe... artifact: c65e8bd156 user: msofer
02:31 • New ticket [458241ffff]. artifact: e50510bec7 user: dacut

Incorrect operands for list bytecode

Closed / Fixed458241ffffffffffffffffffffffffffffffffffCreated 25 years agoUpdated 25 years ago
Descriptionplain2001-09-04 02:31:00
tclCompile.c, line 225:
{"list", 1, 0, {OPERAND_NONE}},

should read:
{"list", 5, 1, {OPERAND_UINT4}},


For comparison, read tclExecute.c, line 1419 on.
list is clearly taking an immediate 4-byte operand.
The discrepancy is causing kt2c to crash.
msoferplain2001-09-04 18:56:17
Logged In: YES 
user_id=148712

Fixed in HEAD.
Log in (anonymous is fine) to add a comment.