[cvslog] [CVS] Module eggdrop1.8: Change committed

cvs at eggheads.org cvs at eggheads.org
Tue Sep 25 11:25:05 CST 2012


CVSROOT    : /usr/local/cvsroot
Module     : eggdrop1.8
Branch tags: gettext
Commit time: 2012-09-25 17:25:05 UTC
Committer  : Thomas Sader <thommey at gmail.com>

Modified files:
  Tag: gettext
     doc/Changes1.8 src/modules.c src/patch.h src/mod/module.h

Log message:

Export the tcl_result* functions to modules.

---------------------- diff included ----------------------
Index: eggdrop1.8/doc/Changes1.8
diff -u eggdrop1.8/doc/Changes1.8:1.36.2.29 eggdrop1.8/doc/Changes1.8:1.36.2.30
--- eggdrop1.8/doc/Changes1.8:1.36.2.29	Tue Jun 26 15:21:14 2012
+++ eggdrop1.8/doc/Changes1.8	Tue Sep 25 11:24:55 2012
@@ -1,4 +1,4 @@
-$Id: Changes1.8,v 1.36.2.29 2012/06/26 21:21:14 thommey Exp $
+$Id: Changes1.8,v 1.36.2.30 2012/09/25 17:24:55 thommey Exp $
 
 Eggdrop Changes (since version 1.8.0)
 
@@ -6,6 +6,9 @@
 
 1.8.0 (CVS):
 
+  - Export the tcl_result* functions to modules. They're required because
+    access to interp->result will be removed from Tcl.
+    Patch by: thommey / Found by: Nocty
 
   - Clarify documentation of mask matching in bind notc.
     Patch by: Pixelz
Index: eggdrop1.8/src/mod/module.h
diff -u eggdrop1.8/src/mod/module.h:1.5.2.4 eggdrop1.8/src/mod/module.h:1.5.2.5
--- eggdrop1.8/src/mod/module.h:1.5.2.4	Tue Feb  8 16:33:01 2011
+++ eggdrop1.8/src/mod/module.h	Tue Sep 25 11:24:55 2012
@@ -1,7 +1,7 @@
 /*
  * module.h
  *
- * $Id: module.h,v 1.5.2.4 2011/02/08 22:33:01 thommey Exp $
+ * $Id: module.h,v 1.5.2.5 2012/09/25 17:24:55 thommey Exp $
  */
 /*
  * Copyright (C) 1997 Robey Pointer
@@ -495,6 +495,10 @@
 #define check_conflags ((int (*) (struct flag_record *, int))global[296])
 #define increase_socks_max ((int (*)(void))global[297])
 #define LOG_TS ((char *)(global[298]))
+#define tcl_resultempty ((int (*)(void))global[299])
+/* 300 - 303 */
+#define tcl_resultint ((int (*)(void))global[300])
+#define tcl_resultstring ((const char *(*)(void))global[301])
 
 /* hostmasking */
 #define maskhost(a,b) maskaddr((a),(b),3)
Index: eggdrop1.8/src/modules.c
diff -u eggdrop1.8/src/modules.c:1.3.2.3 eggdrop1.8/src/modules.c:1.3.2.4
--- eggdrop1.8/src/modules.c:1.3.2.3	Wed Jan 12 07:54:00 2011
+++ eggdrop1.8/src/modules.c	Tue Sep 25 11:24:55 2012
@@ -4,7 +4,7 @@
  *
  * by Darrin Smith (beldin at light.iinet.net.au)
  *
- * $Id: modules.c,v 1.3.2.3 2011/01/12 13:54:00 pseudo Exp $
+ * $Id: modules.c,v 1.3.2.4 2012/09/25 17:24:55 thommey Exp $
  */
 /*
  * Copyright (C) 1997 Robey Pointer
@@ -605,7 +605,11 @@
   /* 296 - 299 */
   (Function) check_conflags,
   (Function) increase_socks_max,
-  (Function) log_ts
+  (Function) log_ts,
+  (Function) tcl_resultempty,
+  /* 300 - 304 */
+  (Function) tcl_resultint,
+  (Function) tcl_resultstring
 };
 
 void init_modules(void)
Index: eggdrop1.8/src/patch.h
diff -u eggdrop1.8/src/patch.h:1.25.2.23 eggdrop1.8/src/patch.h:1.25.2.24
--- eggdrop1.8/src/patch.h:1.25.2.23	Fri Jun 22 17:37:42 2012
+++ eggdrop1.8/src/patch.h	Tue Sep 25 11:24:55 2012
@@ -10,7 +10,7 @@
  * statement, leave the rest of the file alone, this allows better
  * overlapping patches.
  *
- * $Id: patch.h,v 1.25.2.23 2012/06/22 23:37:42 thommey Exp $
+ * $Id: patch.h,v 1.25.2.24 2012/09/25 17:24:55 thommey Exp $
  */
 /*
  * Copyright (C) 1997 Robey Pointer
@@ -41,12 +41,12 @@
  *
  *
  */
-patch("1340407853");            /* current unixtime */
+patch("1348593615");            /* current unixtime */
 /*
  *
  *
  */
-patch("stripmoar");
+patch("modtclresult");
 /*
  *
  *
----------------------- End of diff -----------------------


More information about the Changes mailing list