From: Jim Meyering Date: Sat, 15 Jan 2000 11:14:42 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: FILEUTILS-4_0p~203 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=46d6db5426272c69381145708edcefda8f9e9867;p=platform%2Fupstream%2Fcoreutils.git *** empty log message *** --- diff --git a/old/textutils/ChangeLog b/old/textutils/ChangeLog index 2629891..105271d 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 3778fdf..517daf3 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]