CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2020/06/07 21:22:23
Modified files:
usr.bin/awk : run.c
Log message:
The errcheck() function treats an errno of ERANGE or EDOM as something
to report, so make sure errno is set to zero before invoking a
function to check so that a previous such errno value won't result
in a false positive. This could happen simply due to input line fields
that looked enough like floating-point input to trigger ERANGE.
Problem noted by Jordan Geoghegan (jordan (at) geoghegan.ca), with
clue from Ze' Loff (zeloff (at) zeloff.org)
ok millert@