[cvslog] (2005-12-01 21:51:18 UTC) Module eggdrop1.6: Change committed!

cvslog cvs at tsss.org
Thu Dec 1 15:51:18 CST 2005


CVSROOT    : /usr/local/cvsroot
Module     : eggdrop1.6
Commit time: 2005-12-01 21:51:18 UTC
Commited by: Will Buckner <wcc at techmonkeys.org>

Modified files:
     doc/UPDATES1.6 src/patch.h src/compat/snprintf.c

Log message:

* Fixed a type conversion problem in snprintf.c causing Eggdrop to not
  compile on OSF1.
* Found by: Joker - Patch by: Wcc

---------------------- diff included ----------------------
Index: eggdrop1.6/doc/UPDATES1.6
diff -u eggdrop1.6/doc/UPDATES1.6:1.623 eggdrop1.6/doc/UPDATES1.6:1.624
--- eggdrop1.6/doc/UPDATES1.6:1.623	Thu Nov 17 11:58:26 2005
+++ eggdrop1.6/doc/UPDATES1.6	Thu Dec  1 15:51:08 2005
@@ -1,4 +1,4 @@
-$Id: UPDATES1.6,v 1.623 2005/11/17 17:58:26 wcc Exp $
+$Id: UPDATES1.6,v 1.624 2005/12/01 21:51:08 wcc Exp $
 
 Eggdrop Changes (since v1.6.0)
     _____________________________________________________________________
@@ -12,6 +12,10 @@
 
 
   1.6.18:
+    * Fixed a type conversion problem in snprintf.c causing Eggdrop to not
+      compile on OSF1.
+    * Found by: Joker - Patch by: Wcc
+
     - Detect NetBSD Tcl in /usr/pkg/lib and /usr/pkg/include.
     * Found by: mish - Patch by: Wcc
 
Index: eggdrop1.6/src/compat/snprintf.c
diff -u eggdrop1.6/src/compat/snprintf.c:1.21 eggdrop1.6/src/compat/snprintf.c:1.22
--- eggdrop1.6/src/compat/snprintf.c:1.21	Mon Jan  3 14:01:45 2005
+++ eggdrop1.6/src/compat/snprintf.c	Thu Dec  1 15:51:08 2005
@@ -1,7 +1,7 @@
 /*
  * snprintf.c - a portable implementation of snprintf and vsnprintf
  *
- * $Id: snprintf.c,v 1.21 2005/01/03 20:01:45 paladin Exp $
+ * $Id: snprintf.c,v 1.22 2005/12/01 21:51:08 wcc Exp $
  */
 /*
  * Portions Copyright (C) 2000 - 2005 Eggheads Development Team
@@ -277,7 +277,7 @@
       case 'd':
       case 'i':
         if (cflags == DP_C_SHORT)
-          value = va_arg(args, short int);
+          value = va_arg(args, int);
 
         else if (cflags == DP_C_LONG)
           value = va_arg(args, long int);
@@ -290,7 +290,7 @@
       case 'o':
         flags |= DP_F_UNSIGNED;
         if (cflags == DP_C_SHORT)
-          value = va_arg(args, unsigned short int);
+          value = va_arg(args, unsigned int);
 
         else if (cflags == DP_C_LONG)
           value = va_arg(args, unsigned long int);
@@ -303,7 +303,7 @@
       case 'u':
         flags |= DP_F_UNSIGNED;
         if (cflags == DP_C_SHORT)
-          value = va_arg(args, unsigned short int);
+          value = va_arg(args, unsigned int);
 
         else if (cflags == DP_C_LONG)
           value = va_arg(args, unsigned long int);
@@ -318,7 +318,7 @@
       case 'x':
         flags |= DP_F_UNSIGNED;
         if (cflags == DP_C_SHORT)
-          value = va_arg(args, unsigned short int);
+          value = va_arg(args, unsigned int);
 
         else if (cflags == DP_C_LONG)
           value = va_arg(args, unsigned long int);
Index: eggdrop1.6/src/patch.h
diff -u eggdrop1.6/src/patch.h:1.1177 eggdrop1.6/src/patch.h:1.1178
--- eggdrop1.6/src/patch.h:1.1177	Mon Nov 28 11:23:40 2005
+++ eggdrop1.6/src/patch.h	Thu Dec  1 15:51:08 2005
@@ -10,7 +10,7 @@
  * statement, leave the rest of the file alone, this allows better
  * overlapping patches.
  *
- * $Id: patch.h,v 1.1177 2005/11/28 17:23:40 wcc Exp $
+ * $Id: patch.h,v 1.1178 2005/12/01 21:51:08 wcc Exp $
  */
 /*
  * Copyright (C) 1997 Robey Pointer
@@ -41,12 +41,12 @@
  *
  *
  */
-patch("1133198621");            /* current unixtime */
+patch("1133473892");            /* current unixtime */
 /*
  *
  *
  */
-patch("dcc-cleanup");
+patch("OSF1-snprintf");
 /*
  *
  *
----------------------- End of diff -----------------------



More information about the Changes mailing list