Dan Albert 4e58609587 Fix mbsrtowcs(3)'s handling of len parameter.
The len parameter is a _maximum_ length. The previous code was treating
it as an exact length, causing the following typical call to fail:

    mbsrtowcs(out, &in, sizeof(out), state); // sizeof(out) > strlen(in)

Change-Id: I48e474fd54ea5f122bc168a4d74bfe08704f28cc
(cherry picked from commit 6b55ba54eff4657cffe053b71e1c9cce2944a8a9)
2014-07-29 14:20:31 -07:00
..
2014-07-11 09:28:53 -07:00
2014-07-24 11:17:55 -07:00
2014-07-22 20:43:55 -07:00
2014-07-22 11:24:17 -07:00
2014-07-29 10:48:34 -07:00
2014-06-13 10:55:19 -07:00
2014-07-29 10:48:34 -07:00
2014-07-24 15:14:06 -07:00