Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2008-11-27
02:21 • Closed ticket [1175180fff]: disable interp->result access support plus 3 ... artifact: 86c8fa4467 user: kennykb
2008-09-30
01:31 • Ticket [1175180fff]: 2 changes artifact: 7df377704b user: dgp
2005-04-12
03:43 • Ticket [1175180fff]: 5 changes artifact: 573bc13912 user: dkf
2005-04-06
21:31 • Ticket [1175180fff]: 4 changes artifact: fec775e477 user: dgp
07:25 • Ticket [1175180fff]: 4 changes artifact: 90bd8efd92 user: dkf
05:01 • Ticket [1175180fff]: 1 change artifact: 3cfbbfb0e3 user: dgp
2005-04-05
03:03 • Ticket [1175180fff]: 4 changes artifact: 99e692aae2 user: dgp
03:01 • Ticket [1175180fff]: 4 changes artifact: b17c769e65 user: hobbs
00:53 • Ticket [1175180fff]: 4 changes artifact: e1a078814b user: dgp
00:53 • Add attachment remove.patch to ticket [1175180fff] artifact: 187037f986 user: dgp
00:26 • Ticket [1175180fff] disable interp->result access support status still Op... artifact: 16ec5c2c39 user: dgp
00:26 • Add attachment 1175180.patch to ticket [1175180fff] artifact: d529c75d36 user: dgp
00:26 • Ticket [1175180fff] disable interp->result access support status still Op... artifact: 204e7c35bf user: dgp
2005-04-02
09:57 • Ticket [1175180fff]: 4 changes artifact: e864523be8 user: dgp
02:57 • New ticket [1175180fff]. artifact: 11f926e005 user: dgp

disable interp->result access support

Closed / Accepted1175180fffffffffffffffffffffffffffffffffCreated 22 years agoUpdated 18 years ago
Descriptionplain2005-04-02 02:57:08
Attached patch disables all code
that supports the legacy
interp->result field.

To restore it, compile with
USE_DIRECT_INTERP_RESULT_ACCESS
defined.
dgpplain2005-04-02 09:57:08
File Added - 128169: result.patch
dgpplain2005-04-05 00:26:08
Logged In: YES 
user_id=80530


Patch updated to include headers
and tests.  (Thanks jenglish!)
dgpplain2005-04-05 00:26:10
File Deleted - 128169: 



File Added - 128446: 1175180.patch
dgpplain2005-04-05 00:53:30
File Added - 128450: remove.patch

Logged In: YES 
user_id=80530


Second patch goes beyond
disabling to completely
removing support for
interp->result access.
hobbsplain2005-04-05 03:01:04
Logged In: YES 
user_id=72656

Without looking at the patch, I assume that this was done
without changing the size of the Tcl_Interp structure, which
would cause ABI issues.
dgpplain2005-04-05 03:03:18
Logged In: YES 
user_id=80530


correct.  no fields are removed by the patch.
(though public access to them is).
dgp Ticket [1175180fff]: 1 change [History diff]2005-04-06 05:01:35
dkfplain2005-04-06 07:25:23
Logged In: YES 
user_id=79902

I worry about old (broken) code that accesses that field
directly.
OK, it's broken, but I don't want to be the one explaining
that to users who find that their code no longer compiles
because of poorly written code that happens to not be
called. (That's quite possible with error handling code).

OTOH, I was planning to do this (or rather a total purge)
very early in the 9.0 cycle.
dgpplain2005-04-06 21:31:20
Logged In: YES 
user_id=80530


changed your tune a little bit since
you wrote the comment at lines 632-639
of tclResult.c, then?  :D
dkfplain2005-04-12 03:43:14
Logged In: YES 
user_id=79902

"Consistency is the sign of a small mind"
:-p
dgp Ticket [1175180fff]: 2 changes [History diff]2008-09-30 01:31:16
kennykb Closed ticket [1175180fff]. [History diff]2008-11-27 02:21:54
Log in (anonymous is fine) to add a comment.

Attachments: