]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
*** empty log message ***
authorJim Meyering <jim@meyering.net>
Sun, 31 Jan 1999 16:55:51 +0000 (16:55 +0000)
committerJim Meyering <jim@meyering.net>
Sun, 31 Jan 1999 16:55:51 +0000 (16:55 +0000)
old/sh-utils/ChangeLog

index 5dd27f55bc1d47271be0f78e4b1b57cc4b47275d..d2246daeacd3d4f23e03da404b343beafd1ada21 100644 (file)
@@ -1,5 +1,13 @@
 1999-01-31  Jim Meyering  <meyering@ascend.com>
 
+       * src/uptime.c (print_uptime): Use the C numeric locale for sscanf
+       of /proc/uptime data, then restore.
+       * lib/getloadavg.c: Include locale.h.
+       [!HAVE_SETLOCALE]: Define-away setlocale.
+       (getloadavg): Ensure the sscanf of /proc/getloadavg data uses the
+       `C' numeric locale.  Restore afterwards.
+       Based on a suggestion from Thomas Quinot.
+
        * lib/strtod.c: Protoize.
 
 1999-01-30  Jim Meyering  <meyering@ascend.com>