Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

RE: Re: [PATCH] Fix a bunch of Coverity-reported defects



On Thu, 26 Oct 2023 07:25:27 -0700, Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
> Many others were about not checking error status of system calls when
> in practice there's no sensible recovery mode, e.g., what would we do
> instead if setting the close-on-exec flag on an fd does not work?

Fail hard; at the very least, it should be warn(3)'d about.
        --zeurkous.

-- 
Friggin' Machines!




Messages sorted by: Reverse Date, Date, Thread, Author