- Fixed a busy loop in the egf-speedup patch (bug #140781).

This commit is contained in:
Tim Waugh 2004-12-03 13:16:22 +00:00
parent 41ed4935a4
commit 5b2463aa13
2 changed files with 5 additions and 2 deletions

View File

@ -327,7 +327,7 @@
+ if (len == (size_t) -1 || len == (size_t) -2 || len == 0)
+ {
+ memset (&mbs, '\0', sizeof (mbstate_t));
+ continue;
+ len = 1;
+ }
+ if (len == 1 && *end == eol)
+ break;

View File

@ -1,7 +1,7 @@
Summary: The GNU versions of grep pattern matching utilities.
Name: grep
Version: 2.5.1
Release: 40
Release: 41
License: GPL
Group: Applications/Text
Source: ftp://ftp.gnu.org/pub/gnu/grep/grep-%{version}.tar.bz2
@ -85,6 +85,9 @@ fi
%{_mandir}/*/*
%changelog
* Fri Dec 3 2004 Tim Waugh <twaugh@redhat.com> 2.5.1-41
- Fixed a busy loop in the egf-speedup patch (bug #140781).
* Thu Nov 18 2004 Tim Waugh <twaugh@redhat.com> 2.5.1-40
- Fixed a bug in the fgrep patch, exposed by the dfa-optional patch
(bug #138558).