aboutsummaryrefslogtreecommitdiff
path: root/src/util/test_common_logging_runtime_loglevels.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-11-05 14:42:34 +0000
committerChristian Grothoff <christian@grothoff.org>2011-11-05 14:42:34 +0000
commit603aadce3db928d81cd928593f4e6d9b63d5b51c (patch)
treef385fe725b203a906555d7c4a0ba4ab66390b7c1 /src/util/test_common_logging_runtime_loglevels.c
parent3088bfe41443d1394887dc85f974b4c3405b2395 (diff)
downloadgnunet-603aadce3db928d81cd928593f4e6d9b63d5b51c.tar.gz
gnunet-603aadce3db928d81cd928593f4e6d9b63d5b51c.zip
LRN: Mysterious patch. I don't know why calling executable with a dot
forces it to create a new console window (which immediately pops up and grabs the focus, then disappears) for itself, but that is the empirical fact. Removing the dot fixes this VERY annoying W32 bug.
Diffstat (limited to 'src/util/test_common_logging_runtime_loglevels.c')
-rw-r--r--src/util/test_common_logging_runtime_loglevels.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/util/test_common_logging_runtime_loglevels.c b/src/util/test_common_logging_runtime_loglevels.c
index b5363f2e2..5c069dc9f 100644
--- a/src/util/test_common_logging_runtime_loglevels.c
+++ b/src/util/test_common_logging_runtime_loglevels.c
@@ -315,7 +315,12 @@ runone ()
315 } 315 }
316 316
317 proc = 317 proc =
318 GNUNET_OS_start_process (NULL, pipe_stdout, "./test_common_logging_dummy", 318 GNUNET_OS_start_process (NULL, pipe_stdout,
319#if MINGW
320 "test_common_logging_dummy",
321#else
322 "./test_common_logging_dummy",
323#endif
319 "test_common_logging_dummy", NULL); 324 "test_common_logging_dummy", NULL);
320 putenv ("GNUNET_FORCE_LOG="); 325 putenv ("GNUNET_FORCE_LOG=");
321 putenv ("GNUNET_LOG="); 326 putenv ("GNUNET_LOG=");