Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2009-03-30
12:23 • Closed ticket [2151707fff]: env read trace botches return options plus 7 oth... artifact: 77a2d90ef8 user: dgp
2008-10-08
05:35 • Ticket [2151707fff]: 6 changes artifact: ff80148180 user: msofer
03:25 • Ticket [2151707fff]: 1 change artifact: b8bf2be8b6 user: dgp
00:52 • Add attachment 2151707.patch to ticket [2151707fff] artifact: cf7d6ea9aa user: dgp
00:52 • Ticket [2151707fff] env read trace botches return options status still Open ... artifact: 4bc28f6130 user: dgp
2008-10-07
22:59 • Ticket [2151707fff]: 5 changes artifact: c482d56758 user: dgp
14:36 • New ticket [2151707fff]. artifact: c0d0a5454b user: dgp

env read trace botches return options

Closed / Fixed2151707fffffffffffffffffffffffffffffffffCreated 18 years agoUpdated 18 years ago
Descriptionplain2008-10-07 14:36:59
% set env(DGP)
can't read "env(DGP)": no such variable
% set errorInfo

    (read trace on "env(env)")
    invoked from within
"set env(DGP)"


Contrast with 8.4.19:

% set env(DGP)
can't read "env(DGP)": no such variable
% set errorInfo
can't read "env(DGP)": no such variable
    while executing
"set env(DGP)"
dgpplain2008-10-07 22:59:18
the simple part is just a typo
in the code: "part1" where "part2"
ought to be.

The more complex matter is a design
issue about adding trace information
to ::errorInfo (see test trace-35.1).
Examining...
dgpplain2008-10-08 00:52:23
File Added - 296471: 2151707.patch


Please review the TclObjVarErrMsg()
rewrite within this patch.
File Added: 2151707.patch
dgp Ticket [2151707fff]: 1 change [History diff]2008-10-08 03:25:42
msoferplain2008-10-08 05:35:15
Looks fine to me
dgpplain2009-03-30 12:23:57
Not sure why this wasn't closed
before, and the comments don't tell me.
Log in (anonymous is fine) to add a comment.

Attachments: