[cvslog] (2004-12-02 23:28:27 UTC) Module eggdrop1.7: Change committed!

cvslog cvs at tsss.org
Thu Dec 2 17:28:27 CST 2004


CVSROOT    : /usr/local/cvsroot
Module     : eggdrop1.7
Commit time: 2004-12-02 23:28:27 UTC
Commited by: Will Buckner <wcc at techmonkeys.org>

Modified files:
     src/patch.h src/mod/notes.mod/notes.c

Log message:

* This fixes bug 421.

---------------------- diff included ----------------------
Index: eggdrop1.7/src/mod/notes.mod/notes.c
diff -u eggdrop1.7/src/mod/notes.mod/notes.c:1.3 eggdrop1.7/src/mod/notes.mod/notes.c:1.4
--- eggdrop1.7/src/mod/notes.mod/notes.c:1.3	Thu Aug 26 19:49:24 2004
+++ eggdrop1.7/src/mod/notes.mod/notes.c	Thu Dec  2 17:28:17 2004
@@ -5,7 +5,7 @@
  *   note cmds
  *   note ignores
  *
- * $Id: notes.c,v 1.3 2004/08/27 00:49:24 wcc Exp $
+ * $Id: notes.c,v 1.4 2004/12/02 23:28:17 wcc Exp $
  */
 /*
  * Copyright (C) 1997 Robey Pointer
@@ -403,8 +403,7 @@
   read = 0;
   erased = 0;
   notes_parse(nl, (argv[2][0] == 0) ? "-" : argv[2]);
-  while (!feof(f)) {
-    fgets(s, 600, f);
+  while (!feof(f) && fgets(s, 600, f)) {
     if (s[strlen(s) - 1] == '\n')
       s[strlen(s) - 1] = 0;
     if (!feof(f)) {
@@ -491,8 +490,7 @@
     return;
   }
   notes_parse(rd, srd);
-  while (!feof(f)) {
-    fgets(s, 600, f);
+  while (!feof(f) && fgets(s, 600, f)) {
     i = strlen(s);
     if (i > 0 && s[i - 1] == '\n')
       s[i - 1] = 0;
@@ -690,8 +688,7 @@
   count = 0;
   read = 0;
   notes_parse(nl, (argv[2][0] == 0) ? "-" : argv[2]);
-  while (!feof(f)) {
-    fgets(s, 600, f);
+  while (!feof(f) && fgets(s, 600, f)) {
     if (s[strlen(s) - 1] == '\n')
       s[strlen(s) - 1] = 0;
     if (!feof(f)) {
Index: eggdrop1.7/src/patch.h
diff -u eggdrop1.7/src/patch.h:1.22 eggdrop1.7/src/patch.h:1.23
--- eggdrop1.7/src/patch.h:1.22	Thu Dec  2 16:15:52 2004
+++ eggdrop1.7/src/patch.h	Thu Dec  2 17:28:17 2004
@@ -10,7 +10,7 @@
  * statement, leave the rest of the file alone, this allows better
  * overlapping patches.
  *
- * $Id: patch.h,v 1.22 2004/12/02 22:15:52 wcc Exp $
+ * $Id: patch.h,v 1.23 2004/12/02 23:28:17 wcc Exp $
  */
 /*
  * Copyright (C) 1997 Robey Pointer
@@ -41,12 +41,12 @@
  *
  *
  */
-patch("1102025628");            /* current unixtime */
+patch("1102029746");            /* current unixtime */
 /*
  *
  *
  */
-patch("movewoobie");
+patch("notesfix");
 /*
  *
  *
----------------------- End of diff -----------------------



More information about the Changes mailing list