From 46d6db5426272c69381145708edcefda8f9e9867 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sat, 15 Jan 2000 11:14:42 +0000 Subject: [PATCH] *** empty log message *** --- old/textutils/ChangeLog | 12 +++++++++--- old/textutils/NEWS | 2 ++ 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/old/textutils/ChangeLog b/old/textutils/ChangeLog index 26298914a6..105271d04a 100644 --- a/old/textutils/ChangeLog +++ b/old/textutils/ChangeLog @@ -1,6 +1,12 @@ -2000-01-14 Jim Meyering - - * tests/unexpand/basic-1: New test exposes infloop bug. +2000-01-15 Jim Meyering + + 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 diff --git a/old/textutils/NEWS b/old/textutils/NEWS index 3778fdfc45..517daf3a6d 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] -- 2.47.3