- Futher fixing for bug #161700.

This commit is contained in:
Tim Waugh 2005-06-28 21:01:56 +00:00
parent 569eba9bda
commit b566e450f6
2 changed files with 5 additions and 2 deletions

View File

@ -639,7 +639,7 @@
- else - else
- goto success; - goto success;
- } - }
+ if (!WCHAR ((unsigned char) beg[-1])) + if (WCHAR ((unsigned char) beg[-1]))
+ goto next_char; + goto next_char;
+ } + }
+#ifdef MBS_SUPPORT +#ifdef MBS_SUPPORT

View File

@ -1,7 +1,7 @@
Summary: The GNU versions of grep pattern matching utilities. Summary: The GNU versions of grep pattern matching utilities.
Name: grep Name: grep
Version: 2.5.1 Version: 2.5.1
Release: 49 Release: 50
License: GPL License: GPL
Group: Applications/Text Group: Applications/Text
Source: ftp://ftp.gnu.org/pub/gnu/grep/grep-%{version}a.tar.bz2 Source: ftp://ftp.gnu.org/pub/gnu/grep/grep-%{version}a.tar.bz2
@ -92,6 +92,9 @@ fi
%{_mandir}/*/* %{_mandir}/*/*
%changelog %changelog
* Tue Jun 28 2005 Tim Waugh <twaugh@redhat.com> 2.5.1-50
- Futher fixing for bug #161700.
* Mon Jun 27 2005 Tim Waugh <twaugh@redhat.com> 2.5.1-49 * Mon Jun 27 2005 Tim Waugh <twaugh@redhat.com> 2.5.1-49
- Fix 'grep -Fw' for encodings other than UTF-8 (bug #161700). - Fix 'grep -Fw' for encodings other than UTF-8 (bug #161700).