aboutsummaryrefslogtreecommitdiff
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.zip
glibc-34e3c127b761ec03d537fad9664bc992a85512d4.tar.gz
glibc-34e3c127b761ec03d537fad9664bc992a85512d4.tar.bz2
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 8e40664..344751f 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 b02acad..19ce7e7 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);