On Wed, Dec 6, 2023 at 3:45 PM Matthew House <mattlloydhouse@xxxxxxxxx> wrote: > The theoretical answer is that you can just replace (errno == ERANGE) with > (errno != 0), or just (errno), if you still don't care about distinguishing > a base error. (And move the errno check up front, of course.)