From: Jim Meyering Date: Thu, 27 Nov 2003 08:17:35 +0000 (+0000) Subject: Include "c-strtod.h". X-Git-Tag: v5.1.0~110 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=229022b22096c2e73e596e0cc9d237cfcc73bbd3;p=thirdparty%2Fcoreutils.git Include "c-strtod.h". (parse_options): Update xstrtod call to include new argument, c_strtod. --- diff --git a/src/tail.c b/src/tail.c index 4b14225e88..4364ec1edb 100644 --- a/src/tail.c +++ b/src/tail.c @@ -33,6 +33,7 @@ #include "system.h" #include "argmatch.h" +#include "c-strtod.h" #include "error.h" #include "inttostr.h" #include "posixver.h" @@ -1610,7 +1611,7 @@ parse_options (int argc, char **argv, case 's': { double s; - if (xstrtod (optarg, NULL, &s) || ! (0 <= s)) + if (xstrtod (optarg, NULL, &s, c_strtod) || ! (0 <= s)) error (EXIT_FAILURE, 0, _("%s: invalid number of seconds"), optarg); *sleep_interval = s;