[cvslog] (2005-07-23 21:57:46 UTC) Module eggdrop1.7: Change committed!

cvslog cvs at tsss.org
Sat Jul 23 15:57:46 CST 2005


CVSROOT    : /usr/local/cvsroot
Module     : eggdrop1.7
Commit time: 2005-07-23 21:57:46 UTC
Commited by: Will Buckner <wcc at techmonkeys.org>

Modified files:
     src/logfile.h src/patch.h src/tcl.c

Log message:

- Fixed bug 443; logfile crash.
* Found by: De Kus Fixed by: Darko

---------------------- diff included ----------------------
Index: eggdrop1.7/src/logfile.h
diff -u eggdrop1.7/src/logfile.h:1.3 eggdrop1.7/src/logfile.h:1.4
--- eggdrop1.7/src/logfile.h:1.3	Thu Jan 20 19:43:40 2005
+++ eggdrop1.7/src/logfile.h	Sat Jul 23 16:57:36 2005
@@ -16,7 +16,7 @@
  * along with this program; if not, write to the Free Software
  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
  *
- * $Id: logfile.h,v 1.3 2005/01/21 01:43:40 wcc Exp $
+ * $Id: logfile.h,v 1.4 2005/07/23 21:57:36 wcc Exp $
  */
 
 #ifndef _EGG_LOGFILE_H
@@ -66,7 +66,7 @@
 } log_t;
 
 #ifndef MAKING_MODS
-void logfile_init();
+void logfile_init(int);
 int logfile_expmem();
 int logmodes(char *);
 char *masktype(int);
Index: eggdrop1.7/src/patch.h
diff -u eggdrop1.7/src/patch.h:1.27 eggdrop1.7/src/patch.h:1.28
--- eggdrop1.7/src/patch.h:1.27	Mon May 30 17:44:30 2005
+++ eggdrop1.7/src/patch.h	Sat Jul 23 16:57:36 2005
@@ -10,7 +10,7 @@
  * statement, leave the rest of the file alone, this allows better
  * overlapping patches.
  *
- * $Id: patch.h,v 1.27 2005/05/30 22:44:30 wcc Exp $
+ * $Id: patch.h,v 1.28 2005/07/23 21:57:36 wcc Exp $
  */
 /*
  * Copyright (C) 1997 Robey Pointer
@@ -41,12 +41,12 @@
  *
  *
  */
-patch("1117493166");            /* current unixtime */
+patch("1122155252");            /* current unixtime */
 /*
  *
  *
  */
-patch("nosharefix");
+patch("logprotofix");
 /*
  *
  *
Index: eggdrop1.7/src/tcl.c
diff -u eggdrop1.7/src/tcl.c:1.12 eggdrop1.7/src/tcl.c:1.13
--- eggdrop1.7/src/tcl.c:1.12	Thu Jan 20 19:43:40 2005
+++ eggdrop1.7/src/tcl.c	Sat Jul 23 16:57:36 2005
@@ -17,7 +17,7 @@
  * along with this program; if not, write to the Free Software
  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
  *
- * $Id: tcl.c,v 1.12 2005/01/21 01:43:40 wcc Exp $
+ * $Id: tcl.c,v 1.13 2005/07/23 21:57:36 wcc Exp $
  */
 
 #include <stdlib.h>             /* getenv()                             */
@@ -331,7 +331,7 @@
           if (l < max_logs)
             return "you can't DECREASE max-logs";
           max_logs = l;
-          logfile_init();
+          logfile_init(0);
         } else
           *(ii->var) = (int) l;
       }
----------------------- End of diff -----------------------



More information about the Changes mailing list