Gentoo Archives: gentoo-commits

From: Christoph Junghans <ottxor@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: sys-cluster/modules/files/
Date: Mon, 03 Jun 2013 23:33:46
Message-Id: 1370206674.5235aa5caf2400663e27d53dad943d6bd728c990.ottxor@gentoo
1 commit: 5235aa5caf2400663e27d53dad943d6bd728c990
2 Author: Andreas Schäfer <gentryx <AT> gmx <DOT> de>
3 AuthorDate: Sun Jun 2 20:57:54 2013 +0000
4 Commit: Christoph Junghans <ottxor <AT> gentoo <DOT> org>
5 CommitDate: Sun Jun 2 20:57:54 2013 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=5235aa5c
7
8 implemented clean fix for changed errorline API in TCL
9
10 ---
11 sys-cluster/modules/files/errorline.patch | 11 ++++++-----
12 1 file changed, 6 insertions(+), 5 deletions(-)
13
14 diff --git a/sys-cluster/modules/files/errorline.patch b/sys-cluster/modules/files/errorline.patch
15 index dc2efcf..a319ac8 100644
16 --- a/sys-cluster/modules/files/errorline.patch
17 +++ b/sys-cluster/modules/files/errorline.patch
18 @@ -1,14 +1,15 @@
19 -diff -ru modules-3.2.9-a/cmdModule.c modules-3.2.9-b/cmdModule.c
20 ---- modules-3.2.9-a/cmdModule.c 2010-11-11 19:23:18.000000000 +0100
21 -+++ modules-3.2.9-b/cmdModule.c 2013-05-31 20:48:34.000000000 +0200
22 +diff -ru modules-3.2.9-old/cmdModule.c modules-3.2.9/cmdModule.c
23 +--- modules-3.2.9-old/cmdModule.c 2013-06-02 22:46:09.196302980 +0200
24 ++++ modules-3.2.9/cmdModule.c 2013-06-02 22:53:36.706298800 +0200
25 @@ -640,8 +640,8 @@
26 case TCL_OK: gotPartial = 0;
27 continue; /** while **/
28
29 - case TCL_ERROR: interp->errorLine = ((linenum-1)-gotPartial) +
30 - interp->errorLine;
31 -+ case TCL_ERROR: //interp->errorLine = ((linenum-1)-gotPartial) +
32 -+ // interp->errorLine;
33 ++ case TCL_ERROR: Tcl_SetErrorLine(interp, ((linenum-1)-gotPartial) +
34 ++ Tcl_GetErrorLine(interp));
35 /* FALLTHROUGH */
36
37 case TCL_LEVEL0_RETURN:
38 +Nur in modules-3.2.9: cmdModule.c~.