| 921 | } |
| 922 | |
| 923 | static bool application_recovery_files_create(char marker_path[APPLICATION_PATH_CAP], |
| 924 | char quarantine_path[APPLICATION_PATH_CAP]) { |
| 925 | if (!application_unique_recovery_file(marker_path, "marker")) { |
| 926 | return false; |
| 927 | } |
| 928 | if (!application_unique_recovery_file(quarantine_path, "quarantine")) { |
| 929 | (void)cbm_unlink(marker_path); |
| 930 | marker_path[0] = '\0'; |
| 931 | return false; |
| 932 | } |
| 933 | return true; |
| 934 | } |
| 935 | |
| 936 | static void application_recovery_files_remove(const char *marker_path, |
| 937 | const char *quarantine_path) { |
no test coverage detected