shada: Refactor file reading/writing to use os_open

This commit is contained in:
ZyX
2015-07-05 14:08:13 +03:00
parent d1ae27ceec
commit 98e8c1f37c
2 changed files with 388 additions and 165 deletions

View File

@@ -30,7 +30,7 @@
/// Try to free memory. Used when trying to recover from out of memory errors.
/// @see {xmalloc}
static void try_to_free_memory(void)
void try_to_free_memory(void)
{
static bool trying_to_free = false;
// avoid recursive calls