diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2017-01-19 06:08:12 +0200 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2017-01-19 06:08:12 +0200 |
commit | 35c461c3b2c9cc56e22a5360c36b5e6dc9fccd28 (patch) | |
tree | 6692db22a17c1929753555a1fc44d3a2706c4420 /support/localeinfo.c | |
parent | f7d8956c4fd8324667060933c2c30112e6c80507 (diff) | |
download | egawk-35c461c3b2c9cc56e22a5360c36b5e6dc9fccd28.tar.gz egawk-35c461c3b2c9cc56e22a5360c36b5e6dc9fccd28.tar.bz2 egawk-35c461c3b2c9cc56e22a5360c36b5e6dc9fccd28.zip |
Sync support with GNULIB, fix a dfa memory leak.
Diffstat (limited to 'support/localeinfo.c')
-rw-r--r-- | support/localeinfo.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/support/localeinfo.c b/support/localeinfo.c index ca96afc7..ece679e3 100644 --- a/support/localeinfo.c +++ b/support/localeinfo.c @@ -1,6 +1,6 @@ /* locale information - Copyright 2016 Free Software Foundation, Inc. + Copyright 2016-2017 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 @@ -90,10 +90,10 @@ verify (1 + 1 + sizeof lonesome_lower / sizeof *lonesome_lower /* Find the characters equal to C after case-folding, other than C itself, and store them into FOLDED. Return the number of characters - stored. */ + stored; this is zero if C is WEOF. */ int -case_folded_counterparts (wchar_t c, wchar_t folded[CASE_FOLDED_BUFSIZE]) +case_folded_counterparts (wint_t c, wchar_t folded[CASE_FOLDED_BUFSIZE]) { int i; int n = 0; |