summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2000-01-15 11:14:42 +0000
committerJim Meyering <jim@meyering.net>2000-01-15 11:14:42 +0000
commit46d6db5426272c69381145708edcefda8f9e9867 (patch)
tree61738bafef1348f2782aa9a449759e5fc7e4b85d
parent4841119c1afb6b375485821df4d7f592e1840d27 (diff)
downloadcoreutils-46d6db5426272c69381145708edcefda8f9e9867.tar.xz
*** empty log message ***
-rw-r--r--old/textutils/ChangeLog12
-rw-r--r--old/textutils/NEWS2
2 files changed, 11 insertions, 3 deletions
diff --git a/old/textutils/ChangeLog b/old/textutils/ChangeLog
index 26298914a..105271d04 100644
--- a/old/textutils/ChangeLog
+++ b/old/textutils/ChangeLog
@@ -1,6 +1,12 @@
-2000-01-14 Jim Meyering <meyering@lucent.com>
-
- * tests/unexpand/basic-1: New test exposes infloop bug.
+2000-01-15 Jim Meyering <meyering@lucent.com>
+
+ unexpand could infloop
+ * src/unexpand.c (TAB_STOP_SENTINEL): Define.
+ (unexpand): Use it instead of INT_MAX.
+ Declare column and pending to be `unsigned'.
+ Increment pending and column counters only if column is smaller
+ than TAB_STOP_SENTINEL.
+ * tests/unexpand/basic-1: New tests for the above-fixed bug.
Reported by John Kodis.
2000-01-12 Paul Eggert <eggert@twinsun.com>
diff --git a/old/textutils/NEWS b/old/textutils/NEWS
index 3778fdfc4..517daf3a6 100644
--- a/old/textutils/NEWS
+++ b/old/textutils/NEWS
@@ -1,4 +1,6 @@
Changes in release 2.1
+[2.0d]
+* unexpand no longer infloops on certain sequences of white space
[2.0c]
* include lib/nanosleep.h.
[2.0b]