[bugs] [illumos gate - Bug #1239] (New) sleep should not be locale sensitive
illumos bugs
bugs at lists.illumos.org
Thu Jul 21 22:52:13 PDT 2011
Issue #1239 has been reported by Rich Lowe.
----------------------------------------
Bug #1239: sleep should not be locale sensitive
https://www.illumos.org/issues/1239
Author: Rich Lowe
Status: New
Priority: Normal
Assignee:
Category: cmd - userland programs
Target version:
Difficulty: Medium
Tags:
the ksh93-ized sleep tries to support fractions of a second, unfortunately it is locale sensitive (and probably incorrectly locale sensitive, too).
@@
/bin/sleep 1.5 # sleeps for 1.5 seconds
LC_NUMERIC=de_DE.UTF-8 /bin/sleep 1.5 # sleeps for 1.5 seconds
LC_ALL=de_DE.UTF-8 /bin/sleep 1.5 # sleeps for 15 seconds
LC_ALL=de_DE.UTF-8 /bin/sleep 1,5 # sleeps for 1.5 seconds
@@
It should probably not be locale sensitive. If it is going to be locale sensitive, it should probably be nice about LC_NUMERIC, rather than whatever it is doing instead.
--
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://www.illumos.org/my/account
More information about the bugs
mailing list