bug-grep
[Top][All Lists]
Advanced

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

[bug #32853] compile fails w/o multibyte support


From: anonymous
Subject: [bug #32853] compile fails w/o multibyte support
Date: Sat, 19 Mar 2011 18:30:52 +0000
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:2.0) Gecko/20100101 Firefox/4.0

URL:
  <http://savannah.gnu.org/bugs/?32853>

                 Summary: compile fails w/o multibyte support
                 Project: grep
            Submitted by: None
            Submitted on: Sat 19 Mar 2011 06:30:52 PM UTC
                Category: None
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:


Some MBS-related code is not enclosed in #ifdef MBS_SUPPORT.
Fixed by:

*** src/dfa.c.dist      Thu Sep 16 02:32:25 2010
--- src/dfa.c   Sat Mar 19 11:17:35 2011
***************
*** 3122,3129 ****
    return s1;
  }

- #endif /* MBS_SUPPORT */
-
  /* Initialize mblen_buf and inputwcs with data from the next line.  */

  static void
--- 3122,3127 ----
***************
*** 3171,3176 ****
--- 3169,3176 ----
    inputwcs[i] = 0; /* sentinel */
  }

+ #endif /* MBS_SUPPORT */
+
  /* Search through a buffer looking for a match to the given struct dfa.
     Find the first occurrence of a string matching the regexp in the
     buffer, and the shortest possible version thereof.  Return a pointer to







    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?32853>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]