On 31/12/2024 15:47, Andrew C Aitchison via Exim-dev wrote:
Now log_write(0, LOG_MAIN|LOG_PANIC_DIE, ...) - note the _DIE - does not return, but am I right in thinking that log_write(LOG_PANIC ...) *does* return so cppcheck is correct and we do attempt to close a filehandle that we failed to open ?
Yes. -- Cheers, Jeremy -- ## subscription configuration (requires account): ## https://lists.exim.org/mailman3/postorius/lists/exim-dev.lists.exim.org/ ## unsubscribe (doesn't require an account): ## [email protected] ## Exim details at http://www.exim.org/ ## Please use the Wiki with this list - http://wiki.exim.org/
