gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r16037 - gnunet/contrib


From: gnunet
Subject: [GNUnet-SVN] r16037 - gnunet/contrib
Date: Sat, 16 Jul 2011 22:13:24 +0200

Author: grothoff
Date: 2011-07-16 22:13:24 +0200 (Sat, 16 Jul 2011)
New Revision: 16037

Modified:
   gnunet/contrib/timeout_watchdog.c
Log:
checkneg

Modified: gnunet/contrib/timeout_watchdog.c
===================================================================
--- gnunet/contrib/timeout_watchdog.c   2011-07-16 20:08:48 UTC (rev 16036)
+++ gnunet/contrib/timeout_watchdog.c   2011-07-16 20:13:24 UTC (rev 16037)
@@ -94,7 +94,8 @@
     {
       /*  int setpgrp(pid_t pid, pid_t pgid); is not working on this machine */
       //setpgrp (0, pid_t gpid);
-      setpgid (0, gpid);
+      if (-1 !- gpid)
+       setpgid (0, gpid);
       execvp (argv[2], &argv[2]);
       exit (1);
     }




reply via email to

[Prev in Thread] Current Thread [Next in Thread]