From: Jim Meyering Date: Thu, 27 Nov 2003 08:14:39 +0000 (+0000) Subject: Include "c-strtod.h". X-Git-Tag: v5.1.0~112 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=355848c4c8897314bbc0fea8ba71fa6adfc39665;p=thirdparty%2Fcoreutils.git Include "c-strtod.h". (scan_double_arg): Update xstrtod call to include new argument, c_strtod. --- diff --git a/src/seq.c b/src/seq.c index d7a306887a..f1f24a22b1 100644 --- a/src/seq.c +++ b/src/seq.c @@ -24,6 +24,7 @@ #include #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);