Ulrich Drepper f9a906e786 * stdlib/bits/stdlib.h (mbstowcs): Divide __bos (__dst) by
sizeof (wchar_t) rather than multiplying __len by sizeof (wchar_t).
	Pass __bos (__dst) / sizeof (wchar_t) to the *_chk routine.
	* wcsmbs/bits/wchar2.h (mbsrtowcs, mbsnrtowcs): Likewise.
	* debug/mbsnrtowcs_chk.c (__mbsnrtowcs_chk): Don't multiply
	len by sizeof (wchar_t).
	* debug/mbsrtowcs_chk.c (__mbsrtowcs_chk): Likewise.
	* debug/mbstowcs_chk.c (__mbstowcs_chk): Likewise.
	Fix type of SRC argument.  Pass &SRC rather than SRC to
	__mbsrtowcs.
	* debug/wcstombs_chk.c (__wcstombs_chk): Pass &SRC rather than SRC
	to __wcsrtombs.
	* debug/tst-chk1.c: Include assert.h.
	(do_test): Change enough array from VLA into a fixed size array.
	Assert that MB_CUR_MAX is <= sizeof (enough).  Use FAIL () macro
	instead of print error details.  Add several new tests.
	Kill some unused variable warnings.
2005-08-22 15:13:39 +00:00
..
2007-07-12 18:26:36 +00:00
2007-07-12 18:26:36 +00:00
2007-07-12 18:26:36 +00:00
2007-07-12 18:26:36 +00:00
2007-07-12 18:26:36 +00:00
2004-05-03 21:40:12 +00:00
2007-07-12 18:26:36 +00:00
2004-09-20 20:56:19 +00:00
2002-08-26 22:40:48 +00:00
2003-06-11 23:22:36 +00:00
2003-06-11 23:22:36 +00:00
2003-06-11 23:22:36 +00:00
2007-07-12 18:26:36 +00:00
2007-07-12 18:26:36 +00:00
2007-07-12 18:26:36 +00:00
2004-02-07 15:57:44 +00:00
2004-03-10 09:29:17 +00:00
2007-07-12 18:26:36 +00:00
2004-03-10 06:46:51 +00:00
2003-06-11 23:22:36 +00:00
2007-07-12 18:26:36 +00:00
2007-07-12 18:26:36 +00:00
2007-07-12 18:26:36 +00:00
2007-07-12 18:26:36 +00:00
2004-03-14 21:12:06 +00:00
2004-03-14 21:12:06 +00:00
2007-07-12 18:26:36 +00:00
2007-07-12 18:26:36 +00:00
2004-02-23 23:30:12 +00:00
2003-09-17 08:47:44 +00:00
2005-01-27 18:49:47 +00:00
2003-07-31 19:26:38 +00:00
2005-01-04 07:48:13 +00:00
2005-01-04 07:48:13 +00:00
2003-09-17 18:23:49 +00:00
2007-07-12 18:26:36 +00:00
2005-02-10 09:40:23 +00:00
2007-07-12 18:26:36 +00:00
2004-07-25 03:31:54 +00:00
2002-12-17 06:52:45 +00:00
2004-05-03 21:40:12 +00:00