diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | generic/tclBasic.c | 4 |
2 files changed, 7 insertions, 2 deletions
@@ -1,3 +1,8 @@ +2011-06-01 Miguel Sofer <msofer@users.sf.net> + + * generic/tclBasic.c: using the two free data elements in + NRCommand to store objc and objv - useful for debugging. + 2011-06-01 Jan Nijtmans <nijtmans@users.sf.net> * generic/tclUtil.c: fix for [Bug 3309871]: Valgrind finds: diff --git a/generic/tclBasic.c b/generic/tclBasic.c index d80731e..bce9684 100644 --- a/generic/tclBasic.c +++ b/generic/tclBasic.c @@ -4140,10 +4140,10 @@ TclNREvalObjv( */ if (iPtr->evalFlags & TCL_EVAL_REDIRECT) { - TclNRAddCallback(interp, NRCommand, NULL, INT2PTR(1), NULL, NULL); + TclNRAddCallback(interp, NRCommand, NULL, INT2PTR(1), objc, objv); iPtr->evalFlags &= ~TCL_EVAL_REDIRECT; } else { - TclNRAddCallback(interp, NRCommand, NULL, NULL, NULL, NULL); + TclNRAddCallback(interp, NRCommand, NULL, NULL, objc, objv); } cmdPtrPtr = (Command **) &(TOP_CB(interp)->data[0]); |