Re: [exim/exim] [Bug]: Mishandled errno in exim_fchown(journal_fd) (Issue #3209)

jgh via Exim-dev <[email protected]> Mon, 23 Mar 2026 10:38:09 +0000
Newsgroups gmane.mail.exim.devel
Message-ID <exim/exim/issues/3209/comment/[email protected]>
The implementation of exim_fchown() does an errno-check-and log, so we already have clarity on failures for that syscall.
I don't see that any error within log_write() is reasonably part of this specific issue - please raise a separate one if you find one.

I agree that the unlink will modify errno; that needs fixing. I'm less clear that it's really worth distinguishing between fchmod and fcntl fails here.

---
View it on Exim Forgejo ( https://code.exim.org/exim/exim/issues/3209#issuecomment-239286 ) or reply to this email directly.