- Prevent 'grep -Fw ""' from busy-looping (bug #169524).
This commit is contained in:
parent
18496216e4
commit
e4c786c812
@ -598,7 +598,7 @@
|
||||
- if (offset == (size_t) -1)
|
||||
- {
|
||||
+ {
|
||||
+ while (1)
|
||||
+ while (len)
|
||||
+ {
|
||||
+ int word_match = 0;
|
||||
+ if (beg > buf)
|
||||
|
@ -1,7 +1,7 @@
|
||||
Summary: The GNU versions of grep pattern matching utilities.
|
||||
Name: grep
|
||||
Version: 2.5.1
|
||||
Release: 50
|
||||
Release: 51
|
||||
License: GPL
|
||||
Group: Applications/Text
|
||||
Source: ftp://ftp.gnu.org/pub/gnu/grep/grep-%{version}a.tar.bz2
|
||||
@ -92,6 +92,9 @@ fi
|
||||
%{_mandir}/*/*
|
||||
|
||||
%changelog
|
||||
* Thu Sep 29 2005 Tim Waugh <twaugh@redhat.com> 2.5.1-51
|
||||
- Prevent 'grep -Fw ""' from busy-looping (bug #169524).
|
||||
|
||||
* Tue Jun 28 2005 Tim Waugh <twaugh@redhat.com> 2.5.1-50
|
||||
- Further fixing for bug #161700.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user