summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1999-05-21 20:24:39 +0000
committerJim Meyering <jim@meyering.net>1999-05-21 20:24:39 +0000
commitc734236a6fa6d272f2fff19fdaf9d41482d6f76e (patch)
tree89c643322770c948875dbcab7d6bdd36a8efb3f0
parentd6261d35c9e19ef77c0dd47ddc5308fe442e2bde (diff)
downloadcoreutils-c734236a6fa6d272f2fff19fdaf9d41482d6f76e.tar.xz
*** empty log message ***
-rw-r--r--old/textutils/ChangeLog15
1 files changed, 15 insertions, 0 deletions
diff --git a/old/textutils/ChangeLog b/old/textutils/ChangeLog
index 57b88a7c3..478f7467d 100644
--- a/old/textutils/ChangeLog
+++ b/old/textutils/ChangeLog
@@ -1,3 +1,18 @@
+1999-05-20 Paul Eggert <eggert@twinsun.com>
+
+ * src/sort.c: Treat the trailing newline as part of the line,
+ as required by POSIX.2.
+
+ (struct line, findlines, compare, checkfp, mergefps, sort):
+ A line now includes its trailing newline.
+ (findlines): Do not replace newline with NUL.
+ (memcoll, keycompare): Work even if the data to be compared are
+ adjacent strings; this is possible now that lines contain the
+ trailing newline.
+ (fillbuf): Always have an unused byte at the end of the buffer,
+ since memcoll and keycompare want to modify a byte after the last line.
+ (sortalloc, mergealloc): Increase by 1, for trailing byte.
+
1999-05-20 Jim Meyering <meyering@ascend.com>
* tests/sort/Test.pm: Add test case from Paul Eggert.