Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2003-11-14
21:12 • Closed ticket [842038ffff]: "Tcl bug" of "unknown" was trigg... artifact: 111c71b667 user: dgp
18:58 • Ticket [842038ffff]: 5 changes artifact: 8fe97e8e1d user: trott13
18:26 • Add attachment init.patch to ticket [842038ffff] artifact: 704c9f7d2d user: trott13
18:26 • Ticket [842038ffff] "Tcl bug" of "unknown" was triggered wro... artifact: 3fadf4ecba user: trott13
11:22 • New ticket [842038ffff]. artifact: a7048ce951 user: trott13

"Tcl bug" of "unknown" was triggered wrongly

Closed / Fixed842038ffffffffffffffffffffffffffffffffffCreated 23 years agoUpdated 23 years ago
Descriptionplain2003-11-14 11:22:26
 
while having a long errorInfo Stacktrace 
the new stack trace checking routine was 
trigered wrongly. 
 
This is due to a to long original 
errorInfo message, that was one character  
to long. 
 
see attched patch file
trott13plain2003-11-14 18:26:41
File Added - 67475: init.patch
trott13plain2003-11-14 18:58:22
Logged In: YES 
user_id=909095

I looked into the current CVS version of init.tcl 
and found  
if {[string bytelength $cinfo] > 153} { 
    set cinfo [string range $cinfo 0 152] 
    while {[string bytelength $cinfo] > 
150} { 
set cinfo [string range $cinfo 0 
end-1] 
    } 
    append cinfo ... 
} 
 
... 
 
this seems to be a better solution. I think this 
fixes this bug.
dgpplain2003-11-14 21:12:22
Logged In: YES 
user_id=80530


Possibly a Dup of
760872
Log in (anonymous is fine) to add a comment.

Attachments: