diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2004-07-13 00:07:26 +0000 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2004-07-13 00:07:26 +0000 |
commit | e5d9694985fdc0a3b462ae9ae1f9e85474744210 (patch) | |
tree | 3a15f3d9c8f8f3a2dbba0ab48ff0d3fbe953629b /ChangeLog | |
parent | 92a74b0a8831f74e19dde24ce51a344bb0f75793 (diff) | |
download | coreutils-e5d9694985fdc0a3b462ae9ae1f9e85474744210.tar.xz |
Prefer c_strtod to setlocale when scanning floating point.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -1,3 +1,10 @@ +2004-07-12 Paul Eggert <eggert@cs.ucla.edu> + + * src/uptime.c: Include c-strtod.h. + (print_uptime): Use c_strtod instead of setlocale and sscanf. + Use long int rather than int to count days (for 64-bit hosts), + and check for arithmetic overflow when converting double to time_t. + 2004-07-11 Paul Eggert <eggert@cs.ucla.edu> * src/printf.c (vstrtold): Renamed from vstrtod. |