aboutsummaryrefslogtreecommitdiff
path: root/wcsmbs/wcsmbsload.c
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 /wcsmbs/wcsmbsload.c
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>.
Diffstat (limited to 'wcsmbs/wcsmbsload.c')
-rw-r--r--wcsmbs/wcsmbsload.c3
1 files changed, 3 insertions, 0 deletions
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);