*** empty log message ***
authorJim Meyering <jim@meyering.net>
Sat, 15 Jan 2000 11:14:42 +0000 (11:14 +0000)
committerJim Meyering <jim@meyering.net>
Sat, 15 Jan 2000 11:14:42 +0000 (11:14 +0000)
old/textutils/ChangeLog
old/textutils/NEWS

index 2629891..105271d 100644 (file)
@@ -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>
index 3778fdf..517daf3 100644 (file)
@@ -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]