On Tue, Mar 14, 2023 at 09:23:48PM -0700, Nathan Bossart wrote:
> +                     sleep = strtod(opt, &opt_end);
> +                     if (sleep < 0 || *opt_end || errno == ERANGE)
> 
> Should we set errno to 0 before calling strtod()?

Yep.  You are right.
--
Michael

Attachment: signature.asc
Description: PGP signature

Reply via email to