From b36e061e8a332941af6d135334e64393c6910db0 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sat, 23 Nov 1996 02:32:19 +0000 Subject: [PATCH] . --- old/textutils/ChangeLog | 8 ++++++++ old/textutils/NEWS | 2 ++ 2 files changed, 10 insertions(+) diff --git a/old/textutils/ChangeLog b/old/textutils/ChangeLog index 9d80734dc9..e9bef95137 100644 --- a/old/textutils/ChangeLog +++ b/old/textutils/ChangeLog @@ -1,3 +1,11 @@ +Fri Nov 22 20:20:37 1996 Jim Meyering + + * src/csplit.c (process_regexp): Update CURRENT_LINE only if + the new value would be larger. This avoids the infinite loop + otherwise provoked by situations like this: + printf "\na\n" | csplit - '/a/-1' '{*}' + From Jens Schmidt. + Tue Nov 19 23:16:57 1996 Jim Meyering * configure.in (AM_SANITY_CHECK_CC): Remove it. Autoconf-2.11 diff --git a/old/textutils/NEWS b/old/textutils/NEWS index 48e8650be5..04db13c586 100644 --- a/old/textutils/NEWS +++ b/old/textutils/NEWS @@ -1,4 +1,6 @@ Changes in release 1.20 + Changes in test release 1.19r +* fix bug in csplit with regexp and negative offset that led to infinite loop Changes in test release 1.19q * fix bug in sort -c that sometimes resulted in a segfault Changes in test release 1.19p -- 2.47.2