Overview
| Artifact ID: | 62ada168fda87da9fd5c6dae6a3041479501f515 |
|---|---|
| Ticket: | cd82cec7ce46a55af099b32b798398a78a505ef4
TclX never updated to 8.6 |
| User & Date: | dgp on 2014-08-01 22:32:15 |
Changes
- icomment:
Here's the first pass fix to stop the crashing: Index: generic/tclXprofile.c =================================================================== RCS file: /cvsroot/tclx/tclx/generic/tclXprofile.c,v retrieving revision 1.4 diff -u -r1.4 tclXprofile.c --- generic/tclXprofile.c 13 Oct 2009 19:28:23 -0000 1.4 +++ generic/tclXprofile.c 1 Aug 2014 22:30:29 -0000 @@ -612,6 +612,14 @@ return; /* + * If a command is NRE-enabled, this profiler will break it. + */ +#if (TCL_MAJOR_VERSION == 8) && (TCL_MINOR_VERSION > 5) + if (cmdPtr->nreProc != NULL) + return; +#endif + + /* * Save current state information. */ infoPtr->currentCmdPtr = cmdPtr; - login: "dgp"
- mimetype: "text/plain"