From 229022b22096c2e73e596e0cc9d237cfcc73bbd3 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Thu, 27 Nov 2003 08:17:35 +0000 Subject: Include "c-strtod.h". (parse_options): Update xstrtod call to include new argument, c_strtod. --- src/tail.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/tail.c b/src/tail.c index 4b14225e8..4364ec1ed 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; -- cgit v1.2.3-54-g00ecf