| 639 | } |
| 640 | |
| 641 | static bool application_recovery_files_create(char marker_path[APPLICATION_PATH_CAP], |
| 642 | char quarantine_path[APPLICATION_PATH_CAP]) { |
| 643 | if (!application_unique_recovery_file(marker_path, "marker")) { |
| 644 | return false; |
| 645 | } |
| 646 | if (!application_unique_recovery_file(quarantine_path, "quarantine")) { |
| 647 | (void)cbm_unlink(marker_path); |
| 648 | marker_path[0] = '\0'; |
| 649 | return false; |
| 650 | } |
| 651 | return true; |
| 652 | } |
| 653 | |
| 654 | static void application_recovery_files_remove(const char *marker_path, |
| 655 | const char *quarantine_path) { |
no test coverage detected