diff --git a/grep-2.5.1-egf-speedup.patch b/grep-2.5.1-egf-speedup.patch index a90836d..3680f91 100644 --- a/grep-2.5.1-egf-speedup.patch +++ b/grep-2.5.1-egf-speedup.patch @@ -639,7 +639,7 @@ - else - goto success; - } -+ if (!WCHAR ((unsigned char) beg[-1])) ++ if (WCHAR ((unsigned char) beg[-1])) + goto next_char; + } +#ifdef MBS_SUPPORT diff --git a/grep.spec b/grep.spec index 02896dd..4ab670d 100644 --- a/grep.spec +++ b/grep.spec @@ -1,7 +1,7 @@ Summary: The GNU versions of grep pattern matching utilities. Name: grep Version: 2.5.1 -Release: 49 +Release: 50 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 +* Tue Jun 28 2005 Tim Waugh 2.5.1-50 +- Futher fixing for bug #161700. + * Mon Jun 27 2005 Tim Waugh 2.5.1-49 - Fix 'grep -Fw' for encodings other than UTF-8 (bug #161700).