gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [gnunet] branch master updated: unset XDG vars


From: gnunet
Subject: [GNUnet-SVN] [gnunet] branch master updated: unset XDG vars
Date: Tue, 26 Feb 2019 09:54:24 +0100

This is an automated email from the git hooks/post-receive script.

grothoff pushed a commit to branch master
in repository gnunet.

The following commit(s) were added to refs/heads/master by this push:
     new 2120037b3 unset XDG vars
2120037b3 is described below

commit 2120037b332c32106dab2dcda0f6ff56115173c7
Author: Christian Grothoff <address@hidden>
AuthorDate: Tue Feb 26 09:54:21 2019 +0100

    unset XDG vars
---
 src/rps/gnunet-rps-profiler.c         |  2 ++
 src/testbed/gnunet-testbed-profiler.c | 32 ++++++++++++++------------------
 2 files changed, 16 insertions(+), 18 deletions(-)

diff --git a/src/rps/gnunet-rps-profiler.c b/src/rps/gnunet-rps-profiler.c
index cdf555432..9aa786334 100644
--- a/src/rps/gnunet-rps-profiler.c
+++ b/src/rps/gnunet-rps-profiler.c
@@ -2976,6 +2976,8 @@ main (int argc, char *argv[])
     GNUNET_GETOPT_OPTION_END
   };
 
+  unsetenv ("XDG_DATA_HOME");
+  unsetenv ("XDG_CONFIG_HOME");
   //if (GNUNET_OK !=
   //    GNUNET_STRINGS_get_utf8_args (argc, argv,
   //                                  &argc, &argv))
diff --git a/src/testbed/gnunet-testbed-profiler.c 
b/src/testbed/gnunet-testbed-profiler.c
index 8b19d7431..d9401286c 100644
--- a/src/testbed/gnunet-testbed-profiler.c
+++ b/src/testbed/gnunet-testbed-profiler.c
@@ -11,7 +11,7 @@
      WITHOUT ANY WARRANTY; without even the implied warranty of
      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
      Affero General Public License for more details.
-    
+
      You should have received a copy of the GNU Affero General Public License
      along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
@@ -276,27 +276,23 @@ int
 main (int argc, char *const *argv)
 {
   struct GNUNET_GETOPT_CommandLineOption options[] = {
-
     GNUNET_GETOPT_option_uint ('p',
-                                   "num-peers",
-                                   "COUNT",
-                                   gettext_noop ("create COUNT number of 
peers"),
-                                   &num_peers),
-
+                               "num-peers",
+                               "COUNT",
+                               gettext_noop ("create COUNT number of peers"),
+                               &num_peers),
     GNUNET_GETOPT_option_uint ('e',
-                                   "num-errors",
-                                   "COUNT",
-                                   gettext_noop ("tolerate COUNT number of 
continious timeout failures"),
-                                   &num_cont_fails),
-
+                               "num-errors",
+                               "COUNT",
+                               gettext_noop ("tolerate COUNT number of 
continious timeout failures"),
+                               &num_cont_fails),
     GNUNET_GETOPT_option_flag ('n',
-                                  "non-interactive",
-                                  gettext_noop ("run profiler in 
non-interactive mode where upon "
-                                                "testbed setup the profiler 
does not wait for a "
-                                                "keystroke but continues to 
run until a termination "
-                                                "signal is received"),
+                               "non-interactive",
+                               gettext_noop ("run profiler in non-interactive 
mode where upon "
+                                             "testbed setup the profiler does 
not wait for a "
+                                             "keystroke but continues to run 
until a termination "
+                                             "signal is received"),
                                   &noninteractive),
-
 #if !ENABLE_SUPERMUC
     GNUNET_GETOPT_option_string ('H',
                                  "hosts",

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

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