1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-05 11:35:01 +00:00
freebsd-ports/editors/e93/files/patch-shellcmd.c
Pietro Cerutti 153dd8a22f - Fix build with Tcl 8.6
Reported by:	miwi (Tcl/Tk 86 exp-run latecomers)
Approved by:	portmgr
2013-05-22 08:03:52 +00:00

12 lines
510 B
C

--- shellcmd.c.orig 2013-05-22 09:45:47.000000000 +0200
+++ shellcmd.c 2013-05-22 09:46:25.000000000 +0200
@@ -6354,7 +6354,7 @@
{
if(tclResult!=TCL_OK)
{
- sprintf(tempString,"Error in line %d: ",localInterpreter->errorLine);
+ sprintf(tempString,"Error in line %d: ",Tcl_GetErrorLine(localInterpreter));
EditorAuxInsert(buffer,(UINT8 *)tempString,(UINT32)strlen(tempString));
}
EditorAuxInsert(buffer,(UINT8 *)stringResult,(UINT32)strlen(stringResult));