diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2004-12-02 06:57:05 +0000 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2004-12-02 06:57:05 +0000 |
commit | a7c9d8dae80b5801f3553a89e16ad53a924cc5a1 (patch) | |
tree | 3302fb99e7d01889ac3751bdeac5326233b0db34 /ChangeLog | |
parent | c82d4cf0b566da76cec77272b24c8b95bc177ff2 (diff) | |
download | coreutils-a7c9d8dae80b5801f3553a89e16ad53a924cc5a1.tar.xz |
Assume setlocale, locale.h, and localeconv exist and work.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 18 |
1 files changed, 18 insertions, 0 deletions
@@ -2,6 +2,24 @@ * Version 5.3.0. + * src/comm.c (compare_files): Assume setlocale exists. + * src/join.c (keycmp): Likewise. + * src/seq.c (decimal_point): Treat like sort. Now char. + All uses changed. + (main): Assume localeconv exists. Use same code as sort. + * src/sort.c (C_DECIMAL_POINT): Remove. Use changed to '.'. + Assume setlocale exists. + (thousands_sep): Renamed from th_sep. + (IS_THOUSANDS_SEP): Remove. All uses replaced by comparisons. + (NONZERO): Parenthesize use of arg. + (numcompare): Avoid duplicate loads. Use ISDIGIT as boolean, for + consistency. Avoid unnecessary negation by reversing + fraccompare args. + (main): Rewrite localeconv call to match seq.c. + * src/system.h: Assume locale.h exists. + (HAVE_SETLOCALE): Remove. + * src/uniq.c (different): Assume setlocale exists. + * src/ls.c (sort_files): Minor cleanup. Remove an unnecessary 'volatile' on a local variable. Rewrite to avoid unnecessary double-assignment to 'func' in the usual case where strcoll does |