]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
*** empty log message ***
authorJim Meyering <jim@meyering.net>
Fri, 21 Jan 2000 07:33:33 +0000 (07:33 +0000)
committerJim Meyering <jim@meyering.net>
Fri, 21 Jan 2000 07:33:33 +0000 (07:33 +0000)
old/textutils/ChangeLog

index 9a3492381dd543ee647f76c410f5f3e35432fd5d..a6a8be0d6f3921f60798a7200426ea21e7a30be6 100644 (file)
@@ -1,3 +1,25 @@
+1999-09-19  Bruno Haible  <haible@clisp.cons.org>
+
+       * src/tr.c (PFI): Return `long', not `int'.
+       (PFL): Rename from PFI now that it returns long.
+       (squeeze_filter): Declare as `long': i, nr, out_len.
+
+2000-01-17  Paul Eggert  <eggert@twinsun.com>
+
+       Tweak sort performance.
+
+       * src/sort.c (hard_LC_CTYPE): Remove.
+       (keylist): Renamed from keyhead.  Now a pointer, not a
+       mostly-unused struct.  All uses changed.
+       (findlines, keycompare, CMP_WITH_IGNORE, compare, checkfp, mergefps,
+       sort): Tune and use a more consistent style for reallocation.
+       (keycompare, main): Don't worry about LC_CTYPE;
+       it's buggy with multibyte chars anyway.
+       (compare): Invoke alloca (0) after each call to keycompare,
+       not just the ones that return nonzero.  This avoids a memory
+       leak on architectures without builtin alloca that occurs
+       sometimes when a file contains all duplicate lines.
+
 2000-01-17  Paul Eggert  <eggert@twinsun.com>
 
        * src/csplit.c (interrupt_handler, main):