mirror of
https://github.com/coreutils/coreutils.git
synced 2024-11-24 02:17:22 +08:00
3fe8bc09be
These commands now accept floating-point numbers in the current locale, as well as in the C locale. Compatibility problem reported by Robert Elz. * NEWS: Document this. * bootstrap.conf (gnulib_modules): Add cl-strtod, cl-strtold. Remove c-strtold. * doc/coreutils.texi (Floating point, tail invocation) (printf invocation, timeout invocation, sleep invocation) (seq invocation): Document this. * gl/lib/cl-strtod.c, gl/lib/cl-strtod.h, gl/lib/cl-strtold.c: * gl/modules/cl-strtod, gl/modules/cl-strtold: New files. * src/printf.c, src/seq.c, src/sleep.c, src/tail.c, src/timeout.c: Include cl-strtod.h instead of c-strtod. * src/printf.c (vstrtold): * src/seq.c (scan_arg, print_numbers): * src/sleep.c (main): * src/tail.c (parse_options): * src/timeout.c (parse_duration): Use cl_strtold instead of c_strtold. |
||
---|---|---|
.. | ||
buffer-lcm | ||
cl-strtod | ||
cl-strtold | ||
fadvise | ||
fadvise-tests | ||
fd-reopen | ||
heap | ||
link-tests.diff | ||
mbsalign | ||
mbsalign-tests | ||
randint | ||
randperm | ||
randread | ||
randread-tests | ||
rename-tests.diff | ||
root-dev-ino | ||
smack | ||
strnumcmp | ||
tempname.diff | ||
xdectoint | ||
xfts |