musl/src/multibyte
Rich Felker e89cfe51d2 fix aliasing violations in mbtowc and mbrtowc
these functions were setting wc to point to wchar_t aliasing itself as
a "cheap" way to support null wc arguments. doing so was anything but
cheap, since even without the aliasing violation, it would limit the
compiler's ability to optimize.

making wc point to a dummy object is equally easy and does not suffer
from the above problems.
2014-07-01 18:27:19 -04:00
..
2011-02-12 00:22:29 -05:00
2013-04-04 14:53:53 -04:00
2013-04-04 14:55:42 -04:00
2011-02-12 00:22:29 -05:00