[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r4679 - GNUnet/src/util/os
From: |
gnunet |
Subject: |
[GNUnet-SVN] r4679 - GNUnet/src/util/os |
Date: |
Thu, 22 Mar 2007 13:45:10 -0600 (MDT) |
Author: durner
Date: 2007-03-22 13:45:10 -0600 (Thu, 22 Mar 2007)
New Revision: 4679
Modified:
GNUnet/src/util/os/daemon.c
Log:
MinGW fix
Modified: GNUnet/src/util/os/daemon.c
===================================================================
--- GNUnet/src/util/os/daemon.c 2007-03-22 19:01:27 UTC (rev 4678)
+++ GNUnet/src/util/os/daemon.c 2007-03-22 19:45:10 UTC (rev 4679)
@@ -99,7 +99,10 @@
i = execvp("gnunetd",
(char**) args);
#else
- pid = i = spawnvp(_P_NOWAIT, path, (const char *const *) args);
+ if (path != NULL)
+ pid = i = spawnv(_P_NOWAIT, path, (const char *const *) args);
+ else
+ pid = i = spawnvp(_P_NOWAIT, "gnunetd", (const char *const *) args);
#endif
FREENONNULL(path);
if (i == -1)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r4679 - GNUnet/src/util/os,
gnunet <=