[cvslog] (2003-05-11 23:53:34 UTC) Module eggdrop1.6: Change committed

cvslog cvs at tsss.org
Sun May 11 17:53:34 CST 2003


CVSROOT    : /usr/local/cvsroot
Module     : eggdrop1.6
Commit time: 2003-05-11 23:53:34 UTC
Commited by: Will Buckner <wcc at techmonkeys.org>

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

Log message:

* Fixed output of tcl_duration to not return extra spaces. Found by Wanderer.

---------------------- diff included ----------------------
Index: eggdrop1.6/doc/UPDATES1.6
diff -u eggdrop1.6/doc/UPDATES1.6:1.501 eggdrop1.6/doc/UPDATES1.6:1.502
--- eggdrop1.6/doc/UPDATES1.6:1.501	Tue May  6 23:45:10 2003
+++ eggdrop1.6/doc/UPDATES1.6	Sun May 11 18:53:24 2003
@@ -1,10 +1,11 @@
-$Id: UPDATES1.6,v 1.501 2003/05/07 04:45:10 wcc Exp $
+$Id: UPDATES1.6,v 1.502 2003/05/11 23:53:24 wcc Exp $
 
 Changes in Eggdrop: (since v1.6.0)
 ----------------------------------
 
 1.6.16
 Found by  Fixed by  What...
+Wanderer| Wcc       fixed output of tcl_duration to not return extra spaces
 paladinz  Wcc       don't compile inet_ntop compatability code unless USE_IPV6
                     is defined
 KuNgFo0   Wcc       typedef socklen_t to int if non-existant
Index: eggdrop1.6/src/patch.h
diff -u eggdrop1.6/src/patch.h:1.994 eggdrop1.6/src/patch.h:1.995
--- eggdrop1.6/src/patch.h:1.994	Wed May  7 18:05:08 2003
+++ eggdrop1.6/src/patch.h	Sun May 11 18:53:24 2003
@@ -10,7 +10,7 @@
  * statement, leave the rest of the file alone, this allows better
  * overlapping patches.
  *
- * $Id: patch.h,v 1.994 2003/05/07 23:05:08 wcc Exp $
+ * $Id: patch.h,v 1.995 2003/05/11 23:53:24 wcc Exp $
  */
 /*
  * Copyright (C) 1997 Robey Pointer
@@ -41,12 +41,12 @@
  *
  *
  */
-patch("1052348679");            /* current unixtime */
+patch("1052697174");            /* current unixtime */
 /*
  *
  *
  */
-patch("inet_ntop_compat3");
+patch("durationspaces");
 /*
  *
  *
Index: eggdrop1.6/src/tclmisc.c
diff -u eggdrop1.6/src/tclmisc.c:1.43 eggdrop1.6/src/tclmisc.c:1.44
--- eggdrop1.6/src/tclmisc.c:1.43	Wed Apr 16 20:55:57 2003
+++ eggdrop1.6/src/tclmisc.c	Sun May 11 18:53:24 2003
@@ -2,7 +2,7 @@
  * tclmisc.c -- handles:
  *   Tcl stubs for everything else
  *
- * $Id: tclmisc.c,v 1.43 2003/04/17 01:55:57 wcc Exp $
+ * $Id: tclmisc.c,v 1.44 2003/05/11 23:53:24 wcc Exp $
  */
 /*
  * Copyright (C) 1997 Robey Pointer
@@ -379,6 +379,8 @@
     tmp = (sec);
     sprintf(&s[strlen(s)], "%lu second%s", tmp, (tmp == 1) ? "" : "s");
   }
+  if (s[strlen(s) - 1] == ' ')
+    s[strlen(s) - 1] = 0;
   Tcl_AppendResult(irp, s, NULL);
   return TCL_OK;
 }
----------------------- End of diff -----------------------


More information about the Changes mailing list