NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: bin/39258: fgrep -w is broken



The following reply was made to PR bin/39258; it has been noted by GNATS.

From: Matthias Drochner <M.Drochner%fz-juelich.de@localhost>
To: "Perry E. Metzger" <perry%piermont.com@localhost>
Cc: gnats-bugs%NetBSD.org@localhost, gnats-admin%NetBSD.org@localhost,
        netbsd-bugs%NetBSD.org@localhost
Subject: Re: bin/39258: fgrep -w is broken 
Date: Fri, 01 Aug 2008 16:29:08 +0200

 This is a multipart MIME message.
 
 --==_Exmh_2584225403520
 Content-Type: text/plain; charset=us-ascii
 
 
 perry%piermont.com@localhost said:
 > the fix is probably pretty small
 
 Indeed. (See Gnu PR #1834, case 3.)
 
 best regards
 Matthias
 
 
 
 
 
 -------------------------------------------------------------------
 -------------------------------------------------------------------
 Forschungszentrum Juelich GmbH
 52425 Juelich
 
 Sitz der Gesellschaft: Juelich
 Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498
 Vorsitzende des Aufsichtsrats: MinDir'in Baerbel Brumme-Bothe
 Geschaeftsfuehrung: Prof. Dr. Achim Bachem (Vorsitzender),
 Dr. Ulrich Krafft (stellv. Vorsitzender), Prof. Dr. Harald Bolt,
 Dr. Sebastian M. Schmidt
 -------------------------------------------------------------------
 -------------------------------------------------------------------
 
 --==_Exmh_2584225403520
 Content-Type: text/plain ; name="grep.txt"; charset=us-ascii
 Content-Description: grep.txt
 Content-Disposition: attachment; filename="grep.txt"
 
 #
 # old_revision [eceb464587f59fe70fb1d2c9814535a51dc23742]
 #
 # patch "gnu/dist/grep/src/search.c"
 #  from [047c0488ed847d672b4b013a6542eac3aa32cc7b]
 #    to [72bb67bd77c709409d4926a694ef120ade6a23e4]
 #
 ============================================================
 --- gnu/dist/grep/src/search.c 047c0488ed847d672b4b013a6542eac3aa32cc7b
 +++ gnu/dist/grep/src/search.c 72bb67bd77c709409d4926a694ef120ade6a23e4
 @@ -557,13 +557,7 @@ Fexecute (char const *buf, size_t size, 
              {
                offset = kwsexec (kwset, beg, --len, &kwsmatch);
                if (offset == (size_t) -1)
 -                {
 -#ifdef MBS_SUPPORT
 -                  if (MB_CUR_MAX > 1)
 -                    free (mb_properties);
 -#endif /* MBS_SUPPORT */
 -                  return offset;
 -                }
 +                break;
                try = beg + offset;
                len = kwsmatch.size[0];
              }
 
 --==_Exmh_2584225403520--
 


Home | Main Index | Thread Index | Old Index