summaryrefslogtreecommitdiff
path: root/sample
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2017-12-14 16:55:14 +0100
committerJörg Frings-Fürst <debian@jff-webhosting.net>2017-12-14 16:55:14 +0100
commit7bd40e53626a0ec5621fc5b71cfaf5956b4e6ba9 (patch)
tree4c62db42cffb80511f26e1168a6f54aba5815422 /sample
parent4fdc47601d9e68343fa6818beda4c6a2012baccd (diff)
parent98ab313fe496ae7c792db29c80bf6b23347484ff (diff)
Update upstream source from tag 'upstream/6.7.0'
Update to upstream version '6.7.0' with Debian dir 14acc711c745d23b05fab9587ac8849fefa02c06
Diffstat (limited to 'sample')
-rw-r--r--sample/Makefile.am2
-rw-r--r--sample/posix.c2
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(&reg, (char* )pattern, REG_EXTENDED);
if (r) {