On Saturday 24 December 2005 03:31 am, David Kuehling wrote:
> >>>>> "Christian" == Christian Grothoff <[EMAIL PROTECTED]> writes:
> >
> > However, probably more important improvements for 0.7.0b are in the
> > area of resource consumption. Not only should 0.7.0b use significantly
> > less processor time, but also the memory use should stabilize at a
> > much lower level.
>
> These are great news :).  I just compiled and installed
> libextractor&gnunet, but now GNUnet doesn't detach from the terminal any
> more.  

Well, that's because I introduced a bug in the last day and nobody 
noticed ;-).  Of course, you could just do nohup gnunetd &, or alternatively 
apply the attached patch.


Christian
Index: gnunetd.c
===================================================================
--- gnunetd.c	(revision 2414)
+++ gnunetd.c	(revision 2415)
@@ -106,7 +106,7 @@
 	    "gnunet-update");
 
   /* init 2: become deamon, initialize core subsystems */
-  if (NO == debug_flag)
+  if (NO == debug_flag())
     detachFromTerminal(filedes);
 
   LOG(LOG_MESSAGE,
@@ -118,7 +118,7 @@
   loadApplicationModules(); /* still single-threaded! */
 
   /* initialize signal handler (CTRL-C / SIGTERM) */
-  if (NO == debug_flag)
+  if (NO == debug_flag())
     detachFromTerminalComplete(filedes);
   writePIDFile();
 
@@ -167,7 +167,7 @@
     return 0; /* parse error, --help, etc. */
 
 #ifdef MINGW
-  if (win_service) {
+  if (win_service()) {
     SERVICE_TABLE_ENTRY DispatchTable[] =
       {{"GNUnet", ServiceMain}, {NULL, NULL}};
     GNStartServiceCtrlDispatcher(DispatchTable);
_______________________________________________
Help-gnunet mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-gnunet

Reply via email to