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

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


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

Modified files:
     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.64 eggdrop1.8/doc/Changes1.8:1.65
--- eggdrop1.8/doc/Changes1.8:1.64	Tue Jun 26 15:20:49 2012
+++ eggdrop1.8/doc/Changes1.8	Tue Sep 25 11:24:41 2012
@@ -1,4 +1,4 @@
-$Id: Changes1.8,v 1.64 2012/06/26 21:20:49 thommey Exp $
+$Id: Changes1.8,v 1.65 2012/09/25 17:24:41 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.6 eggdrop1.8/src/mod/module.h:1.7
--- eggdrop1.8/src/mod/module.h:1.6	Wed Jan 26 20:11:27 2011
+++ eggdrop1.8/src/mod/module.h	Tue Sep 25 11:24:41 2012
@@ -1,7 +1,7 @@
 /*
  * module.h
  *
- * $Id: module.h,v 1.6 2011/01/27 02:11:27 thommey Exp $
+ * $Id: module.h,v 1.7 2012/09/25 17:24:41 thommey Exp $
  */
 /*
  * Copyright (C) 1997 Robey Pointer
@@ -502,6 +502,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 eggdrop1.8/src/modules.c:1.4
--- eggdrop1.8/src/modules.c:1.3	Tue Oct 19 06:13:33 2010
+++ eggdrop1.8/src/modules.c	Tue Sep 25 11:24:41 2012
@@ -4,7 +4,7 @@
  *
  * by Darrin Smith (beldin at light.iinet.net.au)
  *
- * $Id: modules.c,v 1.3 2010/10/19 12:13:33 pseudo Exp $
+ * $Id: modules.c,v 1.4 2012/09/25 17:24:41 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.44 eggdrop1.8/src/patch.h:1.45
--- eggdrop1.8/src/patch.h:1.44	Fri Jun 22 17:35:33 2012
+++ eggdrop1.8/src/patch.h	Tue Sep 25 11:24:41 2012
@@ -10,7 +10,7 @@
  * statement, leave the rest of the file alone, this allows better
  * overlapping patches.
  *
- * $Id: patch.h,v 1.44 2012/06/22 23:35:33 thommey Exp $
+ * $Id: patch.h,v 1.45 2012/09/25 17:24:41 thommey Exp $
  */
 /*
  * Copyright (C) 1997 Robey Pointer
@@ -41,12 +41,12 @@
  *
  *
  */
-patch("1340407724");            /* current unixtime */
+patch("1348593531");            /* current unixtime */
 /*
  *
  *
  */
-patch("stripmoar");
+patch("modtclresult");
 /*
  *
  *
----------------------- End of diff -----------------------


More information about the Changes mailing list