]> git.ipfire.org Git - thirdparty/coreutils.git/commit
* lib/xstrtol.c (bkm_scale): Don't assume that you can convert
authorJim Meyering <jim@meyering.net>
Mon, 29 Jun 1998 15:24:43 +0000 (15:24 +0000)
committerJim Meyering <jim@meyering.net>
Mon, 29 Jun 1998 15:24:43 +0000 (15:24 +0000)
commit476cb025168f48b04213ae79f47f5a09d15e9e77
treeca809bb88ed7057bf3a1fd0fac17133f798a4b8b
parent159788fcca064b1a72d64ddb39a36bca70c92aa7
* lib/xstrtol.c (bkm_scale): Don't assume that you can convert
unsigned long to double without losing information.
(bkm_scale_by_power): New function.

* lib/xstrtol.c (__xstrtol), src/dd.c (parse_integer):
Add support for SI-like suffixes like "GB" and "TD".
* src/dd.c (usage): Describe it.
lib/xstrtol.c