From a7c9d8dae80b5801f3553a89e16ad53a924cc5a1 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Thu, 2 Dec 2004 06:57:05 +0000 Subject: Assume setlocale, locale.h, and localeconv exist and work. --- ChangeLog | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index b019c337b..a06232a02 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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 -- cgit v1.2.3-70-g09d2