270
275
/* TODO: This is a hack until we can properly support std::string in sys_var*/
271
276
char **data_home_ptr= getDatadirPtr();
273
277
fs::path full_data_home_path(fs::system_complete(fs::path(getDataHome())));
274
278
std::string full_data_home(full_data_home_path.file_string());
275
280
memcpy(*data_home_ptr, full_data_home.c_str(), full_data_home.size());
276
281
getDataHomeCatalog()= "./";