diff options
Diffstat (limited to 'editors/e93/files/patch-shell.c')
-rw-r--r-- | editors/e93/files/patch-shell.c | 17 |
1 files changed, 4 insertions, 13 deletions
diff --git a/editors/e93/files/patch-shell.c b/editors/e93/files/patch-shell.c index 2e68e44ee923..a2fce92a28f4 100644 --- a/editors/e93/files/patch-shell.c +++ b/editors/e93/files/patch-shell.c @@ -1,19 +1,10 @@ ---- shell.c.orig 2013-05-22 09:35:54.000000000 +0200 -+++ shell.c 2013-05-22 09:44:04.000000000 +0200 -@@ -992,7 +992,7 @@ - Tcl_SetVar(interpreter,"SCRIPTPATH",scriptPath,TCL_LEAVE_ERR_MSG); - if(Tcl_EvalFile(interpreter,scriptPath)!=TCL_OK) - { -- SetError("%s:%d:%s",scriptPath,interpreter->errorLine,Tcl_GetStringResult(interpreter)); -+ SetError("%s:%d:%s",scriptPath,Tcl_GetErrorLine(interpreter),Tcl_GetStringResult(interpreter)); - fail=true; - } - } -@@ -1066,7 +1066,7 @@ +--- shell.c.orig 2009-12-26 20:34:58 UTC ++++ shell.c +@@ -1070,7 +1070,7 @@ static bool InitTcl(char *pathName) } else { -- SetError("Failed to Tcl_Init(): %s",tclInterpreter->result); +- SetError("Failed to Tcl_Init(): %s",Tcl_GetResult(tclInterpreter)); + SetError("Failed to Tcl_Init(): %s",Tcl_GetStringResult(tclInterpreter)); } UnInitChannels(tclInterpreter); |