aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-cluster/modules/files')
-rw-r--r--sys-cluster/modules/files/modules-3.2.10-errorline.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/sys-cluster/modules/files/modules-3.2.10-errorline.patch b/sys-cluster/modules/files/modules-3.2.10-errorline.patch
new file mode 100644
index 000000000..a319ac871
--- /dev/null
+++ b/sys-cluster/modules/files/modules-3.2.10-errorline.patch
@@ -0,0 +1,15 @@
+diff -ru modules-3.2.9-old/cmdModule.c modules-3.2.9/cmdModule.c
+--- modules-3.2.9-old/cmdModule.c 2013-06-02 22:46:09.196302980 +0200
++++ modules-3.2.9/cmdModule.c 2013-06-02 22:53:36.706298800 +0200
+@@ -640,8 +640,8 @@
+ case TCL_OK: gotPartial = 0;
+ continue; /** while **/
+
+- case TCL_ERROR: interp->errorLine = ((linenum-1)-gotPartial) +
+- interp->errorLine;
++ case TCL_ERROR: Tcl_SetErrorLine(interp, ((linenum-1)-gotPartial) +
++ Tcl_GetErrorLine(interp));
+ /* FALLTHROUGH */
+
+ case TCL_LEVEL0_RETURN:
+Nur in modules-3.2.9: cmdModule.c~.