Diff
Not logged in

Differences From Artifact [93023196ec]:

To Artifact [c306eafc05]:


125
126
127
128
129
130
131
132

133
134
135
136
137
138

139
140
141
142
143

144
145
146
147

148
149
150
151
152
153
154
125
126
127
128
129
130
131

132
133
134
135
136
137

138
139
140
141
142

143
144
145
146

147
148
149
150
151
152
153
154







-
+





-
+




-
+



-
+







	Proc *procPtr = (Proc *)(info.objClientData);
	call = (procPtr->cmdPtr->compileProc != TclCompileNoOp);
    }

    if (call) {

	/*
	 * Do recording by eval'ing a tcl history command: history add $cmd. 
	 * Do recording by eval'ing a tcl history command: history add $cmd.
	 */

	TclNewLiteralStringObj(list[0], "history");
	TclNewLiteralStringObj(list[1], "add");
	list[2] = cmdPtr;
	

	objPtr = Tcl_NewListObj(3, list);
	Tcl_IncrRefCount(objPtr);
	(void) Tcl_EvalObjEx(interp, objPtr, TCL_EVAL_GLOBAL);
	Tcl_DecrRefCount(objPtr);
	

	/*
	 * One possible failure mode above: exceeding a resource limit.
	 */
	

	if (Tcl_LimitExceeded(interp)) {
	    return TCL_ERROR;
	}
    }

    /*
     * Execute the command.