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-05-14 18:18:55 -07:00
2014-04-07 16:41:53 -07:00
2014-04-07 16:41:53 -07:00
2014-04-07 16:41:53 -07:00
2014-07-14 13:29:34 -07:00
2014-06-06 16:49:39 -07:00
2014-05-29 10:51:22 -07:00
2014-06-23 17:49:45 -07:00
2014-07-15 16:49:30 -07:00
2014-05-14 10:02:03 -07:00
2014-06-20 09:06:57 -07:00
2014-07-01 17:20:06 -07:00
2013-08-08 17:52:06 -07:00
2014-06-20 09:06:57 -07:00
2014-06-02 10:32:55 -07:00
2014-02-24 20:22:11 +00:00
2014-06-04 16:29:37 -07:00
2014-07-14 13:29:34 -07:00
2014-07-14 13:29:34 -07:00
2014-05-14 10:02:03 -07:00
2014-06-03 17:22:07 -07:00
2013-10-22 12:03:19 -07:00
2014-06-16 13:10:20 -07:00
2014-05-14 10:02:03 -07:00
2014-05-14 10:02:03 -07:00
2014-06-20 09:06:57 -07:00
2013-11-18 19:48:11 -08:00
2014-05-14 10:02:03 -07:00
2014-07-16 16:59:31 -07:00
2014-07-29 10:48:34 -07:00
2012-12-10 11:20:57 -08:00
2014-04-30 14:30:15 +01:00
2014-01-02 12:05:50 -08:00
2013-10-09 17:35:36 -07:00
2013-10-09 17:35:36 -07:00
2013-10-17 11:36:55 -07:00
2013-10-17 11:36:55 -07:00
2013-10-17 11:36:55 -07:00
2013-10-17 11:36:55 -07:00
2013-10-17 11:36:55 -07:00
2014-04-16 16:09:41 -07:00
2014-07-29 10:48:34 -07:00
2014-02-12 19:04:27 -08:00
2014-07-28 09:33:00 -07:00
2014-07-07 09:46:11 -07:00
2014-05-13 10:14:22 -07:00
2014-06-13 16:04:41 -07:00