Note that this close & reopen idiom intentionally ignores syslog logging. */
| 206 | |
| 207 | /* Note that this close & reopen idiom intentionally ignores syslog logging. */ |
| 208 | void logfile_close(void) |
| 209 | { |
| 210 | if (logfile_fp) { |
| 211 | logfile_was_closed = 1; |
| 212 | fclose(logfile_fp); |
| 213 | logfile_fp = NULL; |
| 214 | } |
| 215 | } |
| 216 | |
| 217 | void logfile_reopen(void) |
| 218 | { |
no outgoing calls
no test coverage detected