diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2021-03-23 13:50:02 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2021-03-23 13:50:02 +0100 |
commit | c2bd0b680667c7ec4956552f75d9ff7d040ac941 (patch) | |
tree | 8d117fedfebe03f6f97071ebc522d4ac03f08c47 /coreutils/sleep.c | |
parent | 14ed4ec8a416a60a214bf40f9185aa227ac44598 (diff) | |
download | busybox-w32-c2bd0b680667c7ec4956552f75d9ff7d040ac941.tar.gz busybox-w32-c2bd0b680667c7ec4956552f75d9ff7d040ac941.tar.bz2 busybox-w32-c2bd0b680667c7ec4956552f75d9ff7d040ac941.zip |
timeout,top,watch,ping: parse NN.N fractional duration in locales with other separators
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'coreutils/sleep.c')
-rw-r--r-- | coreutils/sleep.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/coreutils/sleep.c b/coreutils/sleep.c index 7bfaab920..2658e84df 100644 --- a/coreutils/sleep.c +++ b/coreutils/sleep.c | |||
@@ -74,10 +74,6 @@ int sleep_main(int argc UNUSED_PARAM, char **argv) | |||
74 | sleep(INT_MAX); | 74 | sleep(INT_MAX); |
75 | 75 | ||
76 | #if ENABLE_FEATURE_FANCY_SLEEP | 76 | #if ENABLE_FEATURE_FANCY_SLEEP |
77 | # if ENABLE_FLOAT_DURATION | ||
78 | /* undo busybox.c setlocale */ | ||
79 | setlocale(LC_NUMERIC, "C"); | ||
80 | # endif | ||
81 | duration = 0; | 77 | duration = 0; |
82 | do { | 78 | do { |
83 | duration += parse_duration_str(*argv); | 79 | duration += parse_duration_str(*argv); |