Dan Albert 6b55ba54ef 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
2014-07-21 11:45:48 -07:00
..
2014-07-11 09:28:53 -07:00
2014-06-24 19:03:31 -07:00
2014-06-09 17:42:14 -07:00
2014-06-13 10:55:19 -07:00
2014-07-07 15:42:06 -07:00