diff --git a/grep-2.6-sigsegv.patch b/grep-2.6-sigsegv.patch new file mode 100644 index 0000000..59ab50d --- /dev/null +++ b/grep-2.6-sigsegv.patch @@ -0,0 +1,20 @@ +--- a/src/dfa.c 2010-03-22 17:22:51.000000000 +0100 ++++ b/src/dfa.c 2010-03-23 16:55:43.974271709 +0100 +@@ -243,7 +243,7 @@ + For MB_CUR_MAX > 1, one or both of the two cases may not be set, + so the resulting charset may only be used as an optimization. */ + static void +-setbit_case_fold (unsigned int b, charclass c) ++setbit_case_fold (wint_t b, charclass c) + { + if (case_fold) + { +@@ -691,7 +691,7 @@ + continue; + } + +- setbit_case_fold (c, ccl); ++ setbit_case_fold (wc, ccl); + #ifdef MBS_SUPPORT + /* Build normal characters. */ + if (MB_CUR_MAX > 1)