Merge branch 'ab/grep-pcre-invalid-utf8'
Update support for invalid UTF-8 in PCRE2. * ab/grep-pcre-invalid-utf8: grep/pcre2: better support invalid UTF-8 haystacks grep/pcre2 tests: don't rely on invalid UTF-8 data test
This commit is contained in:
4
grep.h
4
grep.h
@ -9,6 +9,10 @@ typedef int pcre2_code;
|
||||
typedef int pcre2_match_data;
|
||||
typedef int pcre2_compile_context;
|
||||
#endif
|
||||
#ifndef PCRE2_MATCH_INVALID_UTF
|
||||
/* PCRE2_MATCH_* dummy also with !USE_LIBPCRE2, for test-pcre2-config.c */
|
||||
#define PCRE2_MATCH_INVALID_UTF 0
|
||||
#endif
|
||||
#include "thread-utils.h"
|
||||
#include "userdiff.h"
|
||||
|
||||
|
Reference in New Issue
Block a user