Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | no need to declare "extern optarg" and "extern optind" | 2020-02-14 | 1 | -3/+1 | |
| | | | | | | when <unistd.h> is included; patch from Jan Stary <hans at stare dot cz>; OK millert | ||||
* | Enable tests for +/-LLONG_MAX and add tests for other boundary conditions. | 2017-03-16 | 1 | -6/+19 | |
| | | | | ok millert@ | ||||
* | Add tests for scaled overflow and underflow and the exact overflow and | 2017-03-15 | 1 | -3/+44 | |
| | | | | | underflow boundaries for 64bit platforms. Tests for exactly under the boundaries disabled pending fixes. ok millert@ djm@ (previous version). | ||||
* | Clean up errno handling in fmt_scaled test: | 2017-03-15 | 1 | -13/+9 | |
| | | | | | | | | | - always clear before calling function under test. - save immediately after function under test. - always use saved value for validation and reporting. - remove "fraction too big" testcase that never atually worked (but looked like it did because the previous test's errno was never cleared). - delete unecessary "extern int errno". | ||||
* | Add missing includes to avoid implicit function declarations. | 2017-02-25 | 1 | -1/+2 | |
| | |||||
* | Convert quad_t to long long | 2016-08-14 | 1 | -8/+8 | |
| | |||||
* | require scan_scaled to set errno to EINVAL rather than ERANGE if it | 2012-11-12 | 1 | -3/+4 | |
| | | | | | | encounters an invalid multiplier, like the man page says it should "looks sensible" deraadt@, ok ian@ | ||||
* | Repair comment ID & typo, no binary change | 2009-06-20 | 1 | -5/+5 | |
| | |||||
* | bullshit test; pointed out by david | 2005-10-21 | 1 | -2/+0 | |
| | |||||
* | Now that rounding is done properly for fractionless numbers, fix the | 2005-03-09 | 1 | -4/+6 | |
| | | | | regression cases and add a few too. | ||||
* | Some more real-life regression cases. | 2005-03-08 | 1 | -0/+3 | |
| | |||||
* | new regression found in the wild: 1099512676352 -> 2.0T; fixed a minute ago. | 2004-09-16 | 1 | -0/+1 | |
| | |||||
* | errno -> err in a structure. OK deraadt@ | 2004-07-16 | 1 | -8/+8 | |
| | |||||
* | Add a few test cases. | 2003-12-28 | 1 | -0/+8 | |
| | | | | ok ian@ | ||||
* | various cleanups; david says results are same | 2003-07-31 | 1 | -4/+4 | |
| | |||||
* | Regression for fmt_scaled() and scan_scaled(). | 2003-05-15 | 1 | -0/+276 | |