patch: fix %c in awk's printf when printing a number near 0

2014-11-30 Thread Jeremy Devenport
It looks like this bug was almost fixed nearly 20 years ago. Unfortunately that fix only addressed the case where the floating point value was exactly zero and not the case where the integer conversion would coerce it to zero. I've tested locally that this resolves the issue that Jan Stary

Re: patch: fix %c in awk's printf when printing a number near 0

2014-11-30 Thread Todd C. Miller
Looks good, committed. I'll forward this upstream. - todd