]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
Include "c-strtod.h".
authorJim Meyering <jim@meyering.net>
Thu, 27 Nov 2003 08:14:39 +0000 (08:14 +0000)
committerJim Meyering <jim@meyering.net>
Thu, 27 Nov 2003 08:14:39 +0000 (08:14 +0000)
(scan_double_arg): Update xstrtod call to include new argument, c_strtod.

src/seq.c

index d7a306887abd8cfe6afb5a26e61e71da89076ac6..f1f24a22b124995b5c27532a44fb31bfd17b08b8 100644 (file)
--- a/src/seq.c
+++ b/src/seq.c
@@ -24,6 +24,7 @@
 #include <sys/types.h>
 
 #include "system.h"
+#include "c-strtod.h"
 #include "error.h"
 #include "xstrtol.h"
 #include "xstrtod.h"
@@ -113,7 +114,7 @@ scan_double_arg (const char *arg)
 {
   double ret_val;
 
-  if (xstrtod (arg, NULL, &ret_val))
+  if (xstrtod (arg, NULL, &ret_val, c_strtod))
     {
       error (0, 0, _("invalid floating point argument: %s"), arg);
       usage (EXIT_FAILURE);