ack florian
[oweals/gnunet.git] / src / util / os_installation.c
index a3f0e63f96687b4d39eed6de2c2e82f9339253b3..ea3ae3e799f31ee2c4642528c18ae8a5c3d01105 100644 (file)
@@ -58,8 +58,11 @@ static const struct GNUNET_OS_ProjectData default_pd = {
   .project_dirname = "gnunet",
   .binary_name = "gnunet-arm",
   .env_varname = "GNUNET_PREFIX",
+  .base_config_varname = "GNUNET_BASE_CONFIG",
   .bug_email = "gnunet-developers@gnu.org",
   .homepage = "http://www.gnu.org/s/gnunet/",
+  .config_file = "gnunet.conf",
+  .user_config_file = "~/.config/gnunet.conf",
 };
 
 /**
@@ -101,7 +104,6 @@ GNUNET_OS_init (const struct GNUNET_OS_ProjectData *pd)
 }
 
 
-
 #if LINUX
 /**
  * Try to determine path by reading /proc/PID/exe
@@ -287,7 +289,7 @@ get_path_from_module_filename ()
     GNUNET_assert (0);
 
   upath = GNUNET_malloc (u8_string_length + 1);
-  memcpy (upath, u8_string, u8_string_length);
+  GNUNET_memcpy (upath, u8_string, u8_string_length);
   upath[u8_string_length] = '\0';
 
   free (u8_string);