| 92 | } |
| 93 | |
| 94 | static void clear_progress_signal(void) |
| 95 | { |
| 96 | struct itimerval v = {{0,},}; |
| 97 | |
| 98 | if (progress_testing) |
| 99 | return; |
| 100 | |
| 101 | setitimer(ITIMER_REAL, &v, NULL); |
| 102 | signal(SIGALRM, SIG_IGN); |
| 103 | progress_update = 0; |
| 104 | } |
| 105 | |
| 106 | static int is_foreground_fd(int fd) |
| 107 | { |
no test coverage detected