aboutsummaryrefslogtreecommitdiffstats
path: root/dfa.c
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 /dfa.c
parentc2448a50be949f5df2da4f7a1baf58358b297970 (diff)
downloadegawk-5cf16f15d342bd16093b9cbd233404f7f52ae4b5.tar.gz
egawk-5cf16f15d342bd16093b9cbd233404f7f52ae4b5.tar.bz2
egawk-5cf16f15d342bd16093b9cbd233404f7f52ae4b5.zip
Sync dfa.c with GNULIB.
Diffstat (limited to 'dfa.c')
-rw-r--r--dfa.c4
1 files changed, 2 insertions, 2 deletions
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