diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2020-07-26 14:35:39 +0300 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2020-07-26 14:35:39 +0300 |
commit | f64f8374a30150ac61281671e491cf256392baae (patch) | |
tree | 5b3ce167d83f8b61ebf464b2ca648063130ff35c /support/localeinfo.c | |
parent | 6cbefa3cfa7a494257478747b5c3b85eb6c0607e (diff) | |
parent | 05c0e575439cd42a712ad1d626886ec3ea74e9bb (diff) | |
download | egawk-f64f8374a30150ac61281671e491cf256392baae.tar.gz egawk-f64f8374a30150ac61281671e491cf256392baae.tar.bz2 egawk-f64f8374a30150ac61281671e491cf256392baae.zip |
Merge branch 'gawk-5.1-stable'
Diffstat (limited to 'support/localeinfo.c')
-rw-r--r-- | support/localeinfo.c | 4 |
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; |