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

cvs at eggheads.org cvs at eggheads.org
Tue Oct 25 10:47:30 CST 2011


CVSROOT    : /usr/local/cvsroot
Module     : eggdrop1.8
Commit time: 2011-10-25 16:47:30 UTC
Committer  : Thomas Sader <thommey at gmail.com>

Modified files:
     doc/Changes1.8 src/patch.h src/mod/server.mod/server.c

Log message:

Added missing read trace flag to the nick-len variable trace after being unset to make the trace be removed properly on unload.

---------------------- diff included ----------------------
Index: eggdrop1.8/doc/Changes1.8
diff -u eggdrop1.8/doc/Changes1.8:1.56 eggdrop1.8/doc/Changes1.8:1.57
--- eggdrop1.8/doc/Changes1.8:1.56	Fri Sep  9 15:38:39 2011
+++ eggdrop1.8/doc/Changes1.8	Tue Oct 25 10:47:19 2011
@@ -1,4 +1,4 @@
-$Id: Changes1.8,v 1.56 2011/09/09 21:38:39 thommey Exp $
+$Id: Changes1.8,v 1.57 2011/10/25 16:47:19 thommey Exp $
 
 Eggdrop Changes (since version 1.8.0)
 
@@ -6,6 +6,10 @@
 
 1.8.0 (CVS):
 
+  - Added missing read trace flag to the nick-len variable trace after
+    being unset to make the trace be removed properly on unload.
+    Found by: Dopsy / Patch by: pseudo
+
   - Fixed a bug in the mainloop for Tcl threads which is now
     also being used as vwait/update recursion mainloop.
     Patch by: thommey
Index: eggdrop1.8/src/mod/server.mod/server.c
diff -u eggdrop1.8/src/mod/server.mod/server.c:1.7 eggdrop1.8/src/mod/server.mod/server.c:1.8
--- eggdrop1.8/src/mod/server.mod/server.c:1.7	Tue Nov 23 10:36:23 2010
+++ eggdrop1.8/src/mod/server.mod/server.c	Tue Oct 25 10:47:20 2011
@@ -2,7 +2,7 @@
  * server.c -- part of server.mod
  *   basic irc server support
  *
- * $Id: server.c,v 1.7 2010/11/23 16:36:23 pseudo Exp $
+ * $Id: server.c,v 1.8 2011/10/25 16:47:20 thommey Exp $
  */
 /*
  * Copyright (C) 1997 Robey Pointer
@@ -1336,8 +1336,8 @@
     egg_snprintf(s, sizeof s, "%d", nick_len);
     Tcl_SetVar2(interp, name1, name2, s, TCL_GLOBAL_ONLY);
     if (flags & TCL_TRACE_UNSETS)
-      Tcl_TraceVar(irp, name1, TCL_TRACE_WRITES | TCL_TRACE_UNSETS,
-                   traced_nicklen, cdata);
+      Tcl_TraceVar(irp, name1, TCL_TRACE_READS | TCL_TRACE_WRITES |
+                   TCL_TRACE_UNSETS, traced_nicklen, cdata);
   } else {
     EGG_CONST char *cval = Tcl_GetVar2(interp, name1, name2, TCL_GLOBAL_ONLY);
     long lval = 0;
Index: eggdrop1.8/src/patch.h
diff -u eggdrop1.8/src/patch.h:1.37 eggdrop1.8/src/patch.h:1.38
--- eggdrop1.8/src/patch.h:1.37	Wed Jul 20 04:31:37 2011
+++ eggdrop1.8/src/patch.h	Tue Oct 25 10:47:20 2011
@@ -10,7 +10,7 @@
  * statement, leave the rest of the file alone, this allows better
  * overlapping patches.
  *
- * $Id: patch.h,v 1.37 2011/07/20 10:31:37 thommey Exp $
+ * $Id: patch.h,v 1.38 2011/10/25 16:47:20 thommey Exp $
  */
 /*
  * Copyright (C) 1997 Robey Pointer
@@ -41,12 +41,12 @@
  *
  *
  */
-patch("1311157869");            /* current unixtime */
+patch("1319561162");            /* current unixtime */
 /*
  *
  *
  */
-patch("tclhashcrash");
+patch("nicklentrace");
 /*
  *
  *
----------------------- End of diff -----------------------


More information about the Changes mailing list