fix localeconv field value for unavailable values
authorRich Felker <dalias@aerifal.cx>
Thu, 24 Sep 2015 06:40:05 +0000 (06:40 +0000)
committerRich Felker <dalias@aerifal.cx>
Thu, 24 Sep 2015 06:40:05 +0000 (06:40 +0000)
commitb4d94ba40dda0fa0c3f499beed51b55ad31d5305
tree8bd872b947e9966d88abac7c2a2ea5ed1284ff3f
parentbd275378d35b3535bc8b8321780b00e486c36d96
fix localeconv field value for unavailable values

per ISO C, CHAR_MAX, not -1, is the value used to indicate that a char
field in struct lconv is unavailable.

patch by Julien Ramseier.
src/locale/localeconv.c