Loading recovery.cpp +6 −4 Original line number Diff line number Diff line Loading @@ -504,12 +504,14 @@ finish_recovery() { if (has_cache) { LOGI("Saving locale \"%s\"\n", locale); FILE* fp = fopen_path(LOCALE_FILE, "w"); if (fp != NULL) { fwrite(locale, 1, len, fp); fflush(fp); fsync(fileno(fp)); check_and_fclose(fp, LOCALE_FILE); } } } copy_logs(); Loading Loading
recovery.cpp +6 −4 Original line number Diff line number Diff line Loading @@ -504,12 +504,14 @@ finish_recovery() { if (has_cache) { LOGI("Saving locale \"%s\"\n", locale); FILE* fp = fopen_path(LOCALE_FILE, "w"); if (fp != NULL) { fwrite(locale, 1, len, fp); fflush(fp); fsync(fileno(fp)); check_and_fclose(fp, LOCALE_FILE); } } } copy_logs(); Loading