[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
dfa.c fix for when not using MBS
From: |
Aharon Robbins |
Subject: |
dfa.c fix for when not using MBS |
Date: |
Wed, 15 Sep 2010 08:28:33 +0200 |
User-agent: |
Heirloom mailx 12.4 7/29/08 |
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
- dfa.c fix for when not using MBS,
Aharon Robbins <=