]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
.
authorJim Meyering <jim@meyering.net>
Thu, 4 Nov 1999 23:14:45 +0000 (23:14 +0000)
committerJim Meyering <jim@meyering.net>
Thu, 4 Nov 1999 23:14:45 +0000 (23:14 +0000)
old/textutils/ChangeLog

index 757208747e05de2ad39a10c622b74581dd38232a..3e4f78310bc92caf09bfd0ce6f7b3f0ad3c96605 100644 (file)
@@ -1,3 +1,24 @@
+1999-11-03  Paul Eggert  <eggert@twinsun.com>
+
+       * NEWS, doc/textutils.texi:
+       Do not consider newline to be part of a line when comparing lines
+       in `sort' and `comm'.  POSIX.2 requires that we consider newline,
+       but this is a bug in the spec and the bug will likely be fixed.
+       * src/comm.c (compare_files): Likewise.
+       * src/sort.c (begfield, limfield, findlines, keycompare, compare):
+       Likewise.
+       * tests/sort/Test.pm:  Update tests `use-nl' and `11d' to reflect
+       this change.
+
+       * lib/linebuffer.c (readline): Do not leave room for an extra
+       byte after the newline; it's no longer needed.
+       * src/sort.c: (sortalloc, mergealloc, fillbuf, checkfp, mergefps):
+       Likewise.
+
+       * lib/memcoll.c (memcoll): The two arguments cannot be
+       adjacent any more, so remove the alloca/copy workaround for
+       that case.
+
 1999-11-03  Jim Meyering  <meyering@ascend.com>
 
        Fix so that `tail -fn 2 file' works again.