Synchronet now requires the libarchive development package (e.g. libarchive-dev on Debian-based Linux distros, libarchive.org for more info) to build successfully.

Commits (2)
......@@ -773,7 +773,7 @@ BOOL sbbs_write_ini(
memset(&style, 0, sizeof(style));
style.key_prefix = "\t";
style.section_separator = "";
style.section_separator = "";
style.value_separator = " = ";
style.bit_separator = " | ";
......@@ -781,6 +781,7 @@ style.section_separator = "";
return(FALSE);
if(global==NULL) {
memset(&global_buf,0,sizeof(global_buf));
get_ini_globals(list, &global_buf);
global = &global_buf;
}
......
......@@ -462,6 +462,7 @@ BOOL iniSortSections(str_list_t* list, BOOL sort_keys)
new_list = strListInit();
if(new_list == NULL) {
strListFree(&section_list);
strListFree(&root_keys);
return FALSE;
}
strListAppendList(&new_list, root_keys);
......@@ -473,6 +474,7 @@ BOOL iniSortSections(str_list_t* list, BOOL sort_keys)
iniAppendSectionWithKeys(&new_list, section_list[i], keys, /* ini_style_t */NULL);
strListFree(&keys);
}
strListFree(&section_list);
strListFree(list);
*list = new_list;
return TRUE;
......