observed on ppc64
authorHeikki Lindholm <holin@iki.fi>
Thu, 29 Oct 2009 14:58:11 +0000 (14:58 +0000)
committerHeikki Lindholm <holin@iki.fi>
Thu, 29 Oct 2009 14:58:11 +0000 (14:58 +0000)
src/util/test_common_logging.c

index 3d07661c239c93db482c55e49b624a75921dca68..8a9b73108fcbcc9ddad9b9d8a9409b891ad08fda 100644 (file)
@@ -42,6 +42,9 @@ main (int argc, char *argv[])
   unsigned int failureCount = 0;
   unsigned int logs = 0;
 
+  /* FIXME: this causes a double free, because common_logging sets
+   * GNUNET_stderr = stderr before main() gets executed and then tries
+   * to fclose(GNUNET_stderr) in GNUNET_log_setup */
   fclose (stderr);
 #ifndef MINGW
   stderr = NULL;