aboutsummaryrefslogtreecommitdiffstats
path: root/support/localeinfo.c
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2020-07-26 14:29:47 +0300
committerArnold D. Robbins <arnold@skeeve.com>2020-07-26 14:29:47 +0300
commit3bee4587c5d57155c41dda16d1a414b6acb5a477 (patch)
tree05571724e6766cfca7f667252b6cd21fa619a44d /support/localeinfo.c
parentd45cad0210ddba7658a1f894a82167f87d7abb3a (diff)
downloadegawk-3bee4587c5d57155c41dda16d1a414b6acb5a477.tar.gz
egawk-3bee4587c5d57155c41dda16d1a414b6acb5a477.tar.bz2
egawk-3bee4587c5d57155c41dda16d1a414b6acb5a477.zip
Sync support files from GNULIB.
Diffstat (limited to 'support/localeinfo.c')
-rw-r--r--support/localeinfo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/support/localeinfo.c b/support/localeinfo.c
index 694735e2..159ad073 100644
--- a/support/localeinfo.c
+++ b/support/localeinfo.c
@@ -1,6 +1,6 @@
/* locale information
- Copyright 2016-2019 Free Software Foundation, Inc.
+ Copyright 2016-2020 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -81,7 +81,7 @@ using_simple_locale (bool multibyte)
where the native order is the collating-sequence order but there
are multi-character collating elements. */
for (int i = 0; i < UCHAR_MAX; i++)
- if (strcoll (((char []) {i, 0}), ((char []) {i + 1, 0})) <= 0)
+ if (0 <= strcoll (((char []) {i, 0}), ((char []) {i + 1, 0})))
return false;
return true;