| 53 | static VOLATILE_LIST_HEAD(tempfile_list); |
| 54 | |
| 55 | static int remove_template_directory(struct tempfile *tempfile, |
| 56 | int in_signal_handler) |
| 57 | { |
| 58 | if (tempfile->directory) { |
| 59 | if (in_signal_handler) |
| 60 | return rmdir(tempfile->directory); |
| 61 | else |
| 62 | return rmdir_or_warn(tempfile->directory); |
| 63 | } |
| 64 | |
| 65 | return 0; |
| 66 | } |
| 67 | |
| 68 | static void remove_tempfiles(int in_signal_handler) |
| 69 | { |
no test coverage detected