fix btowc corner case
authorRich Felker <dalias@aerifal.cx>
Tue, 16 Jun 2015 04:21:38 +0000 (04:21 +0000)
committerRich Felker <dalias@aerifal.cx>
Tue, 16 Jun 2015 04:21:38 +0000 (04:21 +0000)
commit38e2f727237230300fea6aff68802db04625fd23
tree9b4803220218d676302456ad93bb31dc521939dd
parentee59c296d56bf26f49f354d6eb32b4b6d4190188
fix btowc corner case

btowc is required to interpret its argument by conversion to unsigned
char, unless the argument is equal to EOF. since the conversion to
produces a non-character value anyway, we can just unconditionally
convert, for now.
src/multibyte/btowc.c