about summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-08-16 07:05:34 +0000
committerUlrich Drepper <drepper@redhat.com>1999-08-16 07:05:34 +0000
commit34e3c127b761ec03d537fad9664bc992a85512d4 (patch)
treebfa5744736eeef92c0e6bdbc5e509f141fd334fc
parent0bd537d8e02108727d5a646a4c8de647b077ffa9 (diff)
downloadglibc-34e3c127b761ec03d537fad9664bc992a85512d4.tar.gz
glibc-34e3c127b761ec03d537fad9664bc992a85512d4.tar.xz
glibc-34e3c127b761ec03d537fad9664bc992a85512d4.zip
Update.
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>.
-rw-r--r--ChangeLog9
-rw-r--r--wcsmbs/wcsmbsload.c3
2 files changed, 11 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 8e40664776..344751f463 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
diff --git a/wcsmbs/wcsmbsload.c b/wcsmbs/wcsmbsload.c
index b02acad68d..19ce7e7093 100644
--- a/wcsmbs/wcsmbsload.c
+++ b/wcsmbs/wcsmbsload.c
@@ -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);