1999-08-16  Ulrich Drepper  <drepper@cygnus.com>

	* wcsmbs/wcsmbsload.c (__wcsmbs_clone_conv): Call
	update_conversion_ptrs.
	Reported by Shinya Hanataka <hanataka@abyss.rim.or.jp>.

	* wcsmbs/wcsnlen.c: Correct decrement of maxlen.
	Reported by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
This commit is contained in:
Ulrich Drepper 1999-08-16 07:05:34 +00:00
parent 0bd537d8e0
commit 34e3c127b7
2 changed files with 11 additions and 1 deletions

View File

@ -1,6 +1,13 @@
1999-08-16 Ulrich Drepper <drepper@cygnus.com>
* wcsmbs/wcsmbsload.c (__wcsmbs_clone_conv): Call
update_conversion_ptrs.
Reported by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
1999-08-15 Ulrich Drepper <drepper@cygnus.com>
* wcsmbs/wcsnlen.c: Correct decrement maxlen.
* wcsmbs/wcsnlen.c: Correct decrement of maxlen.
Reported by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
* wcsmbs/Makefile (tests): Add tst-wcsnlen.
* wcsmbs/tst-wcsnlen.c: New file.

View File

@ -239,6 +239,9 @@ void
internal_function
__wcsmbs_clone_conv (struct gconv_fcts *copy)
{
/* First make sure the function table is up-to-date. */
update_conversion_ptrs ();
/* Make sure the data structures remain the same until we are finished. */
__libc_lock_lock (lock);