|
Revision tags: 3.11, 3.10.1, 3.10, 3.9, 3.8.1, 3.8, 3.7, 3.6, 3.5, 3.4, 3.3 |
|
| #
25f59475 |
| 04-Oct-2017 |
Bruce A. Mah <[email protected]> |
Fix a problem formatting very large numbers. (#642)
Avoid walking off the end of an array when trying to format a number larger than 1000T.
Motivated by #641, as reported by @shingchuang, but sli
Fix a problem formatting very large numbers. (#642)
Avoid walking off the end of an array when trying to format a number larger than 1000T.
Motivated by #641, as reported by @shingchuang, but slightly
reimplemented.
show more ...
|
|
Revision tags: 3.2, 3.2rc1 |
|
| #
c8531ca3 |
| 02-May-2017 |
Bruce A. Mah <[email protected]> |
Fix possible integer overflow in tera prefix conversions.
Follow-on commit for #402, possible fix for #561.
|
| #
e9e2d6d1 |
| 14-Apr-2017 |
Bruce A. Mah <[email protected]> |
Add support for tera- prefix [Tt] in input and output. Also add some more unit tests for this and prune unused code from unit test program.
Fixes #402.
|
| #
a8ee9c65 |
| 22-Mar-2017 |
f1rebird <[email protected]> |
Fix header includes and build failures on musl (#518)
* Include stdint.h in files where its types are used
Signed-off-by: Moritz Kick <[email protected]>
* Fix type of len para
Fix header includes and build failures on musl (#518)
* Include stdint.h in files where its types are used
Signed-off-by: Moritz Kick <[email protected]>
* Fix type of len parameter passed to getsockopt
getsockopt expects socklen_t instead of int as its fifth argument
Signed-off-by: Moritz Kick <[email protected]>
* Remove unnecassary includes of netinet/tcp.h
also cleanup the second include of stdint.h in main.c
This commit fixes #331 and is a replacement for #344.
Signed-off-by: Moritz Kick <[email protected]>
show more ...
|
|
Revision tags: 3.1.7, 3.1.6, 3.1.5, 3.1.4, 3.0.12, 3.1.3, 3.1.2, 3.1.1, 3.1, 3.1b3, 3.1b2, 3.1b1 |
|
| #
c95ee19c |
| 12-Feb-2015 |
Havard Eidnes <[email protected]> |
Fix a toupper() usage too to avoid negative signed chars.
|
|
Revision tags: 3.0.11, 3.0.10, 3.0.9, 3.0.8, 3.0.7 |
|
| #
f5062770 |
| 25-Aug-2014 |
Bruce A. Mah <[email protected]> |
When parsing the -b (bandwidth) argument, use 10-based suffices.
We support using k, m, and g as suffices on input values. In most cases these are 2-based suffixes (i.e. K == 1024) because they are
When parsing the -b (bandwidth) argument, use 10-based suffices.
We support using k, m, and g as suffices on input values. In most cases these are 2-based suffixes (i.e. K == 1024) because they are sizes of objects. In the case of rates, we need to use 10-based suffices (i.e. K == 1000).
We do this by implementing (using copy-and-paste) a unit_atof_rate() subroutine that parses strings similarly to unit_atof but using 10-based suffices instead.
Fixes #173.
show more ...
|
|
Revision tags: 3.0.6, 3.0.5, 3.0.4 |
|
| #
426221a3 |
| 19-May-2014 |
Bruce A. Mah <[email protected]> |
Check HAVE_STDINT_H before trying to include <stdint.h>.
Partial fix for compilation on some Solaris versions. Fixes #175.
Submitted by: @marksolaris
|
|
Revision tags: 3.0.3, 3.0.2, 3.0.1, 3.0-BETA5 |
|
| #
2efc602f |
| 29-Jan-2013 |
Jef Poskanzer <[email protected]> |
The units handling was interpreting capital K/M/G as 1024/1048576/1073741824 and lowercase k/m/g as 1000/1000000/1000000000. This was deemed to be too confusing. Now both capital and lowercase give
The units handling was interpreting capital K/M/G as 1024/1048576/1073741824 and lowercase k/m/g as 1000/1000000/1000000000. This was deemed to be too confusing. Now both capital and lowercase give the powers-of-two version.
show more ...
|
|
Revision tags: 3.0-BETA4, 3.0-BETA3, 3.0-BETA2, 3.0-BETA1 |
|
| #
8d41fbd7 |
| 03-Nov-2009 |
Brian Tierney <[email protected]> |
more bug fixes, still needs work
|
| #
a951c980 |
| 02-Nov-2009 |
Brian Tierney <[email protected]> |
lots of code restructuring
|
| #
e434aab6 |
| 19-Oct-2009 |
Brian Tierney <[email protected]> |
code cleanup: used 'indent' to enforce consistant style
|
|
Revision tags: 3.0-ALPHA1, iperf3 |
|
| #
bc495fb9 |
| 24-Feb-2009 |
Jon Dugan <[email protected]> |
fix UNIT_LEN tweak format in unit_snprintf
|
| #
e9287700 |
| 24-Feb-2009 |
Jon Dugan <[email protected]> |
add unit conversion and formatting from old code. remove hungarian gobbledeygook
|
| #
d18ce8e9 |
| 24-Feb-2009 |
Jon Dugan <[email protected]> |
bring over old unit converting functions
|