diff options
| author | Jim Meyering <jim@meyering.net> | 2003-11-27 08:17:35 +0000 |
|---|---|---|
| committer | Jim Meyering <jim@meyering.net> | 2003-11-27 08:17:35 +0000 |
| commit | 229022b22096c2e73e596e0cc9d237cfcc73bbd3 (patch) | |
| tree | 776c71b06b9773705b6c9f703b4f704e414778d4 | |
| parent | 6b18b46eaefc05cc15e0cc13de57bd030f867d94 (diff) | |
| download | coreutils-229022b22096c2e73e596e0cc9d237cfcc73bbd3.tar.gz coreutils-229022b22096c2e73e596e0cc9d237cfcc73bbd3.zip | |
Include "c-strtod.h".
(parse_options): Update xstrtod call to include new argument, c_strtod.
| -rw-r--r-- | src/tail.c | 3 |
1 files changed, 2 insertions, 1 deletions
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; |
