diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2017-12-28 16:46:11 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2017-12-28 16:46:11 +0100 |
commit | 5587db012cd0e8f69f811e8959a861112904136a (patch) | |
tree | 19472bb8b64980a43e99340ba899cd442a824445 /sample | |
parent | fa131e9ad996d099bb48a3b1302e4a3b3c0f03bd (diff) | |
parent | 4bf99bd2fb7b6bde65a11dfce43ed399ecb10ccd (diff) |
Merge branch 'release/6.7.0-1'6.7.0-1
Diffstat (limited to 'sample')
-rw-r--r-- | sample/Makefile.am | 2 | ||||
-rw-r--r-- | sample/posix.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sample/Makefile.am b/sample/Makefile.am index 6799ecd..7403384 100644 --- a/sample/Makefile.am +++ b/sample/Makefile.am @@ -4,7 +4,7 @@ lib_onig = ../src/libonig.la LDADD = $(lib_onig) AM_LDFLAGS = -L$(prefix)/lib -AM_CPPFLAGS = -I../src -I$(includedir) +AM_CPPFLAGS = -I$(top_srcdir)/src -I$(includedir) TESTS = encode listcap names posix simple sql syntax user_property bug_fix diff --git a/sample/posix.c b/sample/posix.c index f4cbe37..65bcf51 100644 --- a/sample/posix.c +++ b/sample/posix.c @@ -40,7 +40,7 @@ extern int main(int argc, char* argv[]) reg_set_encoding(REG_POSIX_ENCODING_ASCII); - /* default syntax (ONIG_SYNTAX_RUBY) */ + /* default syntax (ONIG_SYNTAX_ONIGURUMA) */ pattern = (UChar* )"^a+b{2,7}[c-f]?$|uuu"; r = regcomp(®, (char* )pattern, REG_EXTENDED); if (r) { |