fedora-cvs-commits@redhat.com
[Top] [All Lists]

rpms/grep/devel grep-2.5.1-egf-speedup.patch, 1.13, 1.14 grep.spec, 1.50

Subject: rpms/grep/devel grep-2.5.1-egf-speedup.patch, 1.13, 1.14 grep.spec, 1.50, 1.51
From:
Date: Mon, 27 Jun 2005 07:16:59 -0400
Author: twaugh

Update of /cvs/dist/rpms/grep/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv20971

Modified Files:
        grep-2.5.1-egf-speedup.patch grep.spec 
Log Message:
* Mon Jun 27 2005 Tim Waugh <twaugh@xxxxxxxxxx>
- Fix 'grep -Fw' for encodings other than UTF-8 (bug #161700).


grep-2.5.1-egf-speedup.patch:
 search.c |  655 ++++++++++++++++++++++++++++++++++++++++++++++++++-------------
 1 files changed, 525 insertions(+), 130 deletions(-)

Index: grep-2.5.1-egf-speedup.patch
===================================================================
RCS file: /cvs/dist/rpms/grep/devel/grep-2.5.1-egf-speedup.patch,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- grep-2.5.1-egf-speedup.patch        7 Jan 2005 15:03:52 -0000       1.13
+++ grep-2.5.1-egf-speedup.patch        27 Jun 2005 11:16:55 -0000      1.14
@@ -659,7 +659,7 @@
 +              }
 +            else
 +#endif /* MBS_SUPPORT */
-+              if (beg + len >= buf + size && !WCHAR ((unsigned char) 
beg[len]))
++              if (beg + len >= buf + size || !WCHAR ((unsigned char) 
beg[len]))
 +                word_match = 1;
 +            if (word_match)
 +              {


Index: grep.spec
===================================================================
RCS file: /cvs/dist/rpms/grep/devel/grep.spec,v
retrieving revision 1.50
retrieving revision 1.51
diff -u -r1.50 -r1.51
--- grep.spec   13 Apr 2005 09:17:50 -0000      1.50
+++ grep.spec   27 Jun 2005 11:16:55 -0000      1.51
@@ -92,6 +92,9 @@
 %{_mandir}/*/*
 
 %changelog
+* Mon Jun 27 2005 Tim Waugh <twaugh@xxxxxxxxxx>
+- Fix 'grep -Fw' for encodings other than UTF-8 (bug #161700).
+
 * Wed Apr 13 2005 Tim Waugh <twaugh@xxxxxxxxxx>
 - Build requires recent pcre-devel (bug #154626).
 

--
fedora-cvs-commits mailing list
fedora-cvs-commits@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-cvs-commits

<Prev in Thread] Current Thread [Next in Thread>
  • rpms/grep/devel grep-2.5.1-egf-speedup.patch, 1.13, 1.14 grep.spec, 1.50, 1.51, fedora-cvs-commits <=