summaryrefslogtreecommitdiff
path: root/old/textutils
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2002-04-30 09:30:13 +0000
committerJim Meyering <jim@meyering.net>2002-04-30 09:30:13 +0000
commit13d897efcf090cb71cfd9d2205051c784f04731c (patch)
tree65533b2d4123900cb070cc348a8d4d51e6356469 /old/textutils
parent0c4c74218919c3d36a4ea58c5d06a1014879d644 (diff)
downloadcoreutils-13d897efcf090cb71cfd9d2205051c784f04731c.tar.xz
*** empty log message ***
Diffstat (limited to 'old/textutils')
-rw-r--r--old/textutils/ChangeLog42
1 files changed, 41 insertions, 1 deletions
diff --git a/old/textutils/ChangeLog b/old/textutils/ChangeLog
index 573ae794c..d865d1867 100644
--- a/old/textutils/ChangeLog
+++ b/old/textutils/ChangeLog
@@ -1,7 +1,47 @@
-2002-04-29 Jim Meyering <meyering@lucent.com>
+2002-04-30 Jim Meyering <meyering@lucent.com>
* Version 2.0.22.
+2002-04-29 Paul Eggert <eggert@twinsun.com>
+
+ Use ENABLE_NLS only for gettext-related stuff, not also for
+ setlocale-related stuff. From a patch suggested by Bruno
+ Haible.
+
+ Since setlocale is now almost universal, this patch also
+ removes some of the optimizations that clutter up the code and
+ which don't help all that much even on hosts that lack
+ setlocale.
+
+ * lib/hard-locale.c: Upgrade to version used in GNU Diffutils 2.8.1.
+ * m4/prereq.m4 (jm_PREREQ_HARD_LOCALE): Check for stdlib.h.
+ Do not check for alloca.h (no longer used) or stdbool.h (was never
+ used?). Add AM_C_PROTOTYPES since hard-locale.h uses it.
+
+ * src/sys2.h (HAVE_SETLOCALE): Define to 0 if not defined.
+ * src/comm.c (compare_files): Replace #ifdef ENABLE_NLS
+ with if (HAVE_SETLOCALE).
+ * src/join.c (keycmp): Likewise.
+ * src/sort.c (keycompare, compare): Likewise.
+
+ * src/comm.c (hard_LC_COLLATE): Define even if ! ENABLE_NLS.
+ * src/join.c (hard_LC_COLLATE): Likewise.
+ * src/sort.c (hard_LC_COLLATE): Likewise.
+
+ * src/comm.c (main): Always initialize hard_LC_COLLATE.
+ Put initialization next to other locale-related stuff.
+ * src/join.c (main): Likewise.
+ * src/sort.c (main): Likewise.
+
+ * src/sort.c: Include <langinfo.h> even if ! ENABLE_NLS.
+ (decimal_point, th_sep): Depend on HAVE_SETLOCALE, not ENABLE_NLS.
+ (main): Likewise.
+ (MONTHTAB_CONST): Remove; all uses removed.
+ (struct_month_cmp, inittables): Do not depend on ENABLE_NLS.
+ (main): hard_LC_TIME locale does not depend on ENABLE_NLS.
+
+2002-04-29 Jim Meyering <meyering@lucent.com>
+
* src/tail.c (parse_obsolescent_option): Do not limit the maximum
line/byte count (when specified via obsolete option syntax) to be
less than ULONG_MAX on systems where OFF_T_MAX is larger.