[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r32462 - in gnunet-gtk/src: fs main setup
From: |
gnunet |
Subject: |
[GNUnet-SVN] r32462 - in gnunet-gtk/src: fs main setup |
Date: |
Mon, 24 Feb 2014 09:47:16 +0100 |
Author: grothoff
Date: 2014-02-24 09:47:16 +0100 (Mon, 24 Feb 2014)
New Revision: 32462
Modified:
gnunet-gtk/src/fs/gnunet-fs-gtk_event-handler.c
gnunet-gtk/src/main/gnunet-gtk.c
gnunet-gtk/src/setup/gnunet-setup.c
Log:
-fix segv: add NULL for stderr, needed due to recent API change
Modified: gnunet-gtk/src/fs/gnunet-fs-gtk_event-handler.c
===================================================================
--- gnunet-gtk/src/fs/gnunet-fs-gtk_event-handler.c 2014-02-23 21:26:11 UTC
(rev 32461)
+++ gnunet-gtk/src/fs/gnunet-fs-gtk_event-handler.c 2014-02-24 08:47:16 UTC
(rev 32462)
@@ -2133,7 +2133,7 @@
int desc_is_a_dup;
struct GNUNET_GTK_MainWindowContext *mctx = GNUNET_FS_GTK_get_main_context
();
- if (sr == NULL)
+ if (NULL == sr)
{
GNUNET_break (0);
return;
Modified: gnunet-gtk/src/main/gnunet-gtk.c
===================================================================
--- gnunet-gtk/src/main/gnunet-gtk.c 2014-02-23 21:26:11 UTC (rev 32461)
+++ gnunet-gtk/src/main/gnunet-gtk.c 2014-02-24 08:47:16 UTC (rev 32462)
@@ -190,7 +190,7 @@
setenv (p->env_var, window_id, 1);
p->proc = GNUNET_OS_start_process (GNUNET_NO,
GNUNET_OS_INHERIT_STD_ALL,
- NULL, NULL,
+ NULL, NULL, NULL,
p->binary,
p->binary,
NULL);
Modified: gnunet-gtk/src/setup/gnunet-setup.c
===================================================================
--- gnunet-gtk/src/setup/gnunet-setup.c 2014-02-23 21:26:11 UTC (rev 32461)
+++ gnunet-gtk/src/setup/gnunet-setup.c 2014-02-24 08:47:16 UTC (rev 32462)
@@ -410,7 +410,7 @@
}
namestore =
GNUNET_OS_start_process (GNUNET_YES, GNUNET_OS_INHERIT_STD_ALL,
- NULL, NULL,
+ NULL, NULL, NULL,
"gnunet-service-namestore",
"gnunet-service-namestore", NULL);
}
@@ -443,7 +443,7 @@
binary = GNUNET_OS_get_libexec_binary_path ("gnunet-service-resolver");
resolver =
GNUNET_OS_start_process (GNUNET_YES, GNUNET_OS_INHERIT_STD_ALL,
- NULL,NULL,
+ NULL,NULL, NULL,
binary,
"gnunet-service-resolver", NULL);
GNUNET_free (binary);
@@ -467,7 +467,7 @@
binary = GNUNET_OS_get_libexec_binary_path ("gnunet-service-identity");
identity =
GNUNET_OS_start_process (GNUNET_YES, GNUNET_OS_INHERIT_STD_ALL,
- NULL, NULL,
+ NULL, NULL, NULL,
binary,
"gnunet-service-identity", NULL);
GNUNET_free (binary);
@@ -491,7 +491,7 @@
binary = GNUNET_OS_get_libexec_binary_path ("gnunet-service-namestore");
namestore =
GNUNET_OS_start_process (GNUNET_YES, GNUNET_OS_INHERIT_STD_ALL,
- NULL, NULL,
+ NULL, NULL, NULL,
binary,
"gnunet-service-namestore", NULL);
GNUNET_free (binary);
@@ -513,7 +513,7 @@
proc = GNUNET_OS_start_process (GNUNET_NO,
GNUNET_OS_INHERIT_STD_ALL,
- NULL, NULL,
+ NULL, NULL, NULL,
"gksu",
"-u", username,
"-m", _("Enter YOUR password to run
gnunet-setup as user 'gnunet' (assuming 'sudo' allows it)"),
@@ -540,7 +540,7 @@
proc = GNUNET_OS_start_process (GNUNET_NO,
GNUNET_OS_INHERIT_STD_ALL,
- NULL, NULL,
+ NULL, NULL, NULL,
"gnunet-peerinfo-gtk",
"-c", option_cfg_name,
NULL);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r32462 - in gnunet-gtk/src: fs main setup,
gnunet <=