diff options
author | Jim Meyering <jim@meyering.net> | 1999-07-04 10:33:50 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1999-07-04 10:33:50 +0000 |
commit | 0aa86039dd5e591bdbbbe2eaad770c89bf9e25fa (patch) | |
tree | f7143d1959d902dafb3ac67b446b33aa56f68656 /old/textutils/ChangeLog | |
parent | bfd09e35ccd193f01437a73a7cf5b9365f48d729 (diff) | |
download | coreutils-0aa86039dd5e591bdbbbe2eaad770c89bf9e25fa.tar.xz |
*** empty log message ***
Diffstat (limited to 'old/textutils/ChangeLog')
-rw-r--r-- | old/textutils/ChangeLog | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/old/textutils/ChangeLog b/old/textutils/ChangeLog index 64c8852c3..16bd3ca15 100644 --- a/old/textutils/ChangeLog +++ b/old/textutils/ChangeLog @@ -11,10 +11,61 @@ * src/join.c (xfields): Only <blank>s separate fields, not <space>s. +1999-06-01 Paul Eggert <eggert@twinsun.com> + + * lib/linebuffer.c (readline): Leave room for an extra byte + after the newline; comm needs this for memcoll. + +1999-06-01 Paul Eggert <eggert@twinsun.com> + + Add LC_COLLATE support to `join'. + + * doc/textutils.texi: Describe join and LC_COLLATE. + + * src/join.c: Add support for LC_COLLATE locale. + Include hard-locale.h, linebuffer.h, memcoll.h. + (struct line): New member `buf', replacing `beg' and `lim'. + All uses changed. + (hard_LC_COLLATE): New var. + (main): Initialize it. + (get_line): Use readline to read the line, + instead of doing it by hand. + That way, we get a buffer that we can pass to memcoll. + (keycmp): Use memcoll to compare lines if hard_LC_COLLATE is nonzero. + 1999-05-27 Volker Borchert <bt@teknon.de> * tests/Makefile.am: Qualify .env-warn with $(srcdir)/ prefix. +1999-05-25 Paul Eggert <eggert@twinsun.com> + + Add LC_COLLATE support to `comm', so that `comm' is compatible + with `sort' in nontrivial locales. + + * doc/textutils.texi: Document locale-specific mode for comm. + + * lib/Makefile.am (libtu_a_SOURCES): Add hard-locale.c, memcoll.c. + (noinst_HEADERS): Add hard-locale.h, memcoll.h. + + * src/comm.c: Include hard-locale.h, memcoll.h. + (hard_LC_COLLATE): New variable. + (compare_files): Use memcoll to compare if hard_LC_COLLATE. + (main): Initialize hard_LC_COLLATE from locale. + + * src/sort.c: Include hard-locale.h, memcoll.h. + (hard_LC_COLLATE, hard_LC_CTYPE, hard_LC_TIME): New variables, + replacing `need_locale'. + (memcoll): Move to lib/memcoll.c. + (keycompare): No need to alloc (0), since our caller now does it. + (compare): alloca (0) before returning. + (my_setlocale): Remove; hard_locale now dows this. + (main): Invoke setlocale, bindtextdomain, and textdomain before + invoking anything that might print an error. + Use hard_locale to determine which locales are hard. + + * lib/hard-locale.c, lib/hard-locale.h, lib/memcoll.c, lib/memcoll.h: + New files. + 1999-05-25 Paul Eggert <eggert@shade.twinsun.com> * lib/linebuffer.c (readline): |