diff options
author | das <das@FreeBSD.org> | 2003-04-05 22:03:43 +0000 |
---|---|---|
committer | das <das@FreeBSD.org> | 2003-04-05 22:03:43 +0000 |
commit | c0e486bd07885ad47b68f40cdb8d55c8811ed08a (patch) | |
tree | 826bf02ef4bdb923996387c17705464f14a5d35d /contrib/gdtoa | |
parent | c0badd1444fc63c006a6fdf38d80d02fa22aa919 (diff) | |
download | FreeBSD-src-c0e486bd07885ad47b68f40cdb8d55c8811ed08a.zip FreeBSD-src-c0e486bd07885ad47b68f40cdb8d55c8811ed08a.tar.gz |
Correct some buffer sizes.
- __vfprintf()'s 'buf' has never been used for floating point, so
don't define it in terms of (incorrect) constants describing
floating point numbers. The actual size needed depends on
sizeof(uintmax_t) and locale details, so I slightly overestimated.
- We don't need a 308-character buffer to store the string "308".
With long doubles and %a we need more than three characters, though.
Diffstat (limited to 'contrib/gdtoa')
0 files changed, 0 insertions, 0 deletions