Ticket UUID: | 1175180 | |||
Title: | disable interp->result access support | |||
Type: | Patch | Version: | None | |
Submitter: | dgp | Created on: | 2005-04-02 02:57:08 | |
Subsystem: | 45. Parsing and Eval | Assigned To: | kennykb | |
Priority: | 9 Immediate | Severity: | ||
Status: | Closed | Last Modified: | 2008-11-27 02:21:54 | |
Resolution: | Accepted | Closed By: | kennykb | |
Closed on: | 2008-11-26 19:21:54 | |||
Description: |
Attached patch disables all code that supports the legacy interp->result field. To restore it, compile with USE_DIRECT_INTERP_RESULT_ACCESS defined. | |||
User Comments: |
dkf added on 2005-04-12 03:43:14:
Logged In: YES user_id=79902 "Consistency is the sign of a small mind" :-p dgp added on 2005-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 dkf added on 2005-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. dgp added on 2005-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). hobbs added on 2005-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. dgp added on 2005-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. dgp added on 2005-04-05 00:26:10: File Deleted - 128169: File Added - 128446: 1175180.patch dgp added on 2005-04-05 00:26:08: Logged In: YES user_id=80530 Patch updated to include headers and tests. (Thanks jenglish!) dgp added on 2005-04-02 09:57:08: File Added - 128169: result.patch |