projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a24e239
)
observed on ppc64
author
Heikki Lindholm
<holin@iki.fi>
Thu, 29 Oct 2009 14:58:11 +0000
(14:58 +0000)
committer
Heikki Lindholm
<holin@iki.fi>
Thu, 29 Oct 2009 14:58:11 +0000
(14:58 +0000)
src/util/test_common_logging.c
patch
|
blob
|
history
diff --git
a/src/util/test_common_logging.c
b/src/util/test_common_logging.c
index 3d07661c239c93db482c55e49b624a75921dca68..8a9b73108fcbcc9ddad9b9d8a9409b891ad08fda 100644
(file)
--- a/
src/util/test_common_logging.c
+++ b/
src/util/test_common_logging.c
@@
-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;