summaryrefslogtreecommitdiff
path: root/coreutils/sleep.c
diff options
context:
space:
mode:
authorDenys Vlasenko2021-03-23 13:50:02 +0100
committerDenys Vlasenko2021-03-23 13:50:02 +0100
commitc2bd0b680667c7ec4956552f75d9ff7d040ac941 (patch)
tree8d117fedfebe03f6f97071ebc522d4ac03f08c47 /coreutils/sleep.c
parent14ed4ec8a416a60a214bf40f9185aa227ac44598 (diff)
downloadbusybox-c2bd0b680667c7ec4956552f75d9ff7d040ac941.zip
busybox-c2bd0b680667c7ec4956552f75d9ff7d040ac941.tar.gz
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.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/coreutils/sleep.c b/coreutils/sleep.c
index 7bfaab9..2658e84 100644
--- a/coreutils/sleep.c
+++ b/coreutils/sleep.c
@@ -74,10 +74,6 @@ int sleep_main(int argc UNUSED_PARAM, char **argv)
sleep(INT_MAX);
#if ENABLE_FEATURE_FANCY_SLEEP
-# if ENABLE_FLOAT_DURATION
- /* undo busybox.c setlocale */
- setlocale(LC_NUMERIC, "C");
-# endif
duration = 0;
do {
duration += parse_duration_str(*argv);