aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2016-11-21 10:19:28 +0200
committerArnold D. Robbins <arnold@skeeve.com>2016-11-21 10:19:28 +0200
commit5cf16f15d342bd16093b9cbd233404f7f52ae4b5 (patch)
tree87e26d1efabac6cac83d6e031c7d36d2866ba801
parentc2448a50be949f5df2da4f7a1baf58358b297970 (diff)
downloadegawk-5cf16f15d342bd16093b9cbd233404f7f52ae4b5.tar.gz
egawk-5cf16f15d342bd16093b9cbd233404f7f52ae4b5.tar.bz2
egawk-5cf16f15d342bd16093b9cbd233404f7f52ae4b5.zip
Sync dfa.c with GNULIB.
-rw-r--r--ChangeLog4
-rw-r--r--dfa.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index de343887..d6566363 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2016-11-21 Arnold D. Robbins <arnold@skeeve.com>
+
+ * dfa.c: Sync with GNULIB.
+
2016-11-17 Arnold D. Robbins <arnold@skeeve.com>
General cleanup for zero termination of strings.
diff --git a/dfa.c b/dfa.c
index 62bb6435..02673781 100644
--- a/dfa.c
+++ b/dfa.c
@@ -841,8 +841,8 @@ using_simple_locale (bool multibyte)
&& '}' == 125 && '~' == 126)
};
- if (native_c_charset && !multibyte)
- return true;
+ if (!native_c_charset || multibyte)
+ return false;
else
{
/* Treat C and POSIX locales as being compatible. Also, treat