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

cvs at eggheads.org cvs at eggheads.org
Sat Feb 20 12:34:02 CST 2010


CVSROOT    : /usr/local/cvsroot
Module     : eggdrop1.6
Commit time: 2010-02-20 18:34:02 UTC
Committer  : Rumen Stoyanov <pseudo at egg6.net>

Modified files:
     doc/Changes1.6 src/main.c src/patch.h

Log message:

Removed some CYGWIN_HACKS that aren't needed anymore.

---------------------- diff included ----------------------
Index: eggdrop1.6/doc/Changes1.6
diff -u eggdrop1.6/doc/Changes1.6:1.67 eggdrop1.6/doc/Changes1.6:1.68
--- eggdrop1.6/doc/Changes1.6:1.67	Thu Feb 18 07:11:20 2010
+++ eggdrop1.6/doc/Changes1.6	Sat Feb 20 12:33:51 2010
@@ -1,4 +1,4 @@
-$Id: Changes1.6,v 1.67 2010/02/18 13:11:20 pseudo Exp $
+$Id: Changes1.6,v 1.68 2010/02/20 18:33:51 pseudo Exp $
 
 Eggdrop Changes (since version 1.6.0)
 
@@ -6,6 +6,9 @@
 
 1.6.20 (CVS):
 
+  - Removed some CYGWIN_HACKS that aren't needed anymore.
+    Patch by: FireEgl
+
   - Fixed dns.mod SIGBUS crashes on 64-bit Sparc.
     Fixes Bugzilla Bug # 454 "Eggdrop crashes on sun sparc running debian etch"
     Found by: soraver / Patch by: pseudo
Index: eggdrop1.6/src/main.c
diff -u eggdrop1.6/src/main.c:1.130 eggdrop1.6/src/main.c:1.131
--- eggdrop1.6/src/main.c:1.130	Mon Jan 25 21:12:15 2010
+++ eggdrop1.6/src/main.c	Sat Feb 20 12:33:52 2010
@@ -5,7 +5,7 @@
  *   command line arguments
  *   context and assert debugging
  *
- * $Id: main.c,v 1.130 2010/01/26 03:12:15 tothwolf Exp $
+ * $Id: main.c,v 1.131 2010/02/20 18:33:52 pseudo Exp $
  */
 /*
  * Copyright (C) 1997 Robey Pointer
@@ -852,10 +852,8 @@
 
   /* Move into background? */
   if (backgrd) {
-#ifndef CYGWIN_HACKS
     bg_do_split();
   } else {                        /* !backgrd */
-#endif
     xx = getpid();
     if (xx != 0) {
       FILE *fp;
@@ -874,16 +872,13 @@
           fclose(fp);
       } else
         printf(EGG_NOWRITE, pid_file);
-#ifdef CYGWIN_HACKS
-      printf("Launched into the background  (pid: %d)\n\n", xx);
-#endif
     }
   }
 
   use_stderr = 0;               /* Stop writing to stderr now */
   if (backgrd) {
     /* Ok, try to disassociate from controlling terminal (finger cross) */
-#if defined(HAVE_SETPGID) && !defined(CYGWIN_HACKS)
+#ifdef HAVE_SETPGID
     setpgid(0, 0);
 #endif
     /* Tcl wants the stdin, stdout and stderr file handles kept open. */
Index: eggdrop1.6/src/patch.h
diff -u eggdrop1.6/src/patch.h:1.1237 eggdrop1.6/src/patch.h:1.1238
--- eggdrop1.6/src/patch.h:1.1237	Thu Feb 18 07:11:20 2010
+++ eggdrop1.6/src/patch.h	Sat Feb 20 12:33:52 2010
@@ -10,7 +10,7 @@
  * statement, leave the rest of the file alone, this allows better
  * overlapping patches.
  *
- * $Id: patch.h,v 1.1237 2010/02/18 13:11:20 pseudo Exp $
+ * $Id: patch.h,v 1.1238 2010/02/20 18:33:52 pseudo Exp $
  */
 /*
  * Copyright (C) 1997 Robey Pointer
@@ -41,12 +41,12 @@
  *
  *
  */
-patch("1266498659");            /* current unixtime */
+patch("1266690792");            /* current unixtime */
 /*
  *
  *
  */
-patch("sparcdnsfix");
+patch("lesscygwinhacks");
 /*
  *
  *
----------------------- End of diff -----------------------


More information about the Changes mailing list