[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-anastasis] branch master updated: os fix
From: |
gnunet |
Subject: |
[taler-anastasis] branch master updated: os fix |
Date: |
Wed, 18 Nov 2020 22:12:47 +0100 |
This is an automated email from the git hooks/post-receive script.
ds-meister pushed a commit to branch master
in repository anastasis.
The following commit(s) were added to refs/heads/master by this push:
new 631d9af os fix
631d9af is described below
commit 631d9af325c06a4c142b1c2597871d2b11b12ca8
Author: Dominik Meister <dominik.meister@hotmail.ch>
AuthorDate: Wed Nov 18 22:12:33 2020 +0100
os fix
---
src/backend/anastasis-httpd.c | 4 ++++
src/stasis/anastasis-dbinit.c | 2 ++
2 files changed, 6 insertions(+)
diff --git a/src/backend/anastasis-httpd.c b/src/backend/anastasis-httpd.c
index 37ee6f8..c866bb7 100644
--- a/src/backend/anastasis-httpd.c
+++ b/src/backend/anastasis-httpd.c
@@ -767,12 +767,16 @@ main (int argc,
of the way. Then throw that one away, and force
the ANASTASIS defaults to be used! */
(void) TALER_project_data_default ();
+ fprintf (stderr, "Here with PID %d\n", (int) getpid ());
GNUNET_OS_init (ANASTASIS_project_data_default ());
+ fprintf (stderr, "Here with PID %d, project is %s\n", (int) getpid (),
+ GNUNET_OS_project_data_get ()->project_dirname);
if (GNUNET_OK !=
GNUNET_PROGRAM_run (argc, argv,
"anastasis-httpd",
"Anastasis HTTP interface",
options, &run, NULL))
+
if (GNUNET_SYSERR == res)
return 3;
if (GNUNET_NO == res)
diff --git a/src/stasis/anastasis-dbinit.c b/src/stasis/anastasis-dbinit.c
index 7a89faa..265874e 100644
--- a/src/stasis/anastasis-dbinit.c
+++ b/src/stasis/anastasis-dbinit.c
@@ -23,6 +23,7 @@
#include <taler/taler_util.h>
#include <gnunet/gnunet_util_lib.h>
#include "anastasis_database_lib.h"
+#include "anastasis_util_lib.h"
/**
@@ -95,6 +96,7 @@ main (int argc,
not do this, the linker may "optimize" libtalerutil
away and skip #TALER_OS_init(), which we do need */
(void) TALER_project_data_default ();
+ GNUNET_OS_init (ANASTASIS_project_data_default ());
GNUNET_assert (GNUNET_OK ==
GNUNET_log_setup ("anastasis-dbinit",
"INFO",
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-anastasis] branch master updated: os fix,
gnunet <=