commit | c2bd0b680667c7ec4956552f75d9ff7d040ac941 | [log] [tgz] |
---|---|---|
author | Denys Vlasenko <vda.linux@googlemail.com> | Tue Mar 23 13:50:02 2021 +0100 |
committer | Denys Vlasenko <vda.linux@googlemail.com> | Tue Mar 23 13:50:02 2021 +0100 |
tree | 8d117fedfebe03f6f97071ebc522d4ac03f08c47 | |
parent | 14ed4ec8a416a60a214bf40f9185aa227ac44598 [diff] [blame] |
timeout,top,watch,ping: parse NN.N fractional duration in locales with other separators Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
diff --git a/miscutils/dc.c b/miscutils/dc.c index e94dc39..42baa67 100644 --- a/miscutils/dc.c +++ b/miscutils/dc.c
@@ -229,6 +229,7 @@ const struct op *o; next: +//TODO: needs setlocale(LC_NUMERIC, "C")? number = strtod(argument, &end); if (end != argument) { argument = end;