Hi. The following patch is needed if compiling without MBS support.
Thanks,
Arnold
--- /usr/local/src/Gnu/grep/src/dfa.c 2010-09-15 08:25:31.000000000 +0200
+++ dfa.c 2010-09-15 08:26:49.000000000 +0200
@@ -3122,8 +3150,6 @@
return s1;
}
-#endif /* MBS_SUPPORT */
-
/* Initialize mblen_buf and inputwcs with data from the next line. */
static void
@@ -3171,6 +3197,8 @@
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