From 34e3c127b761ec03d537fad9664bc992a85512d4 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Mon, 16 Aug 1999 07:05:34 +0000 Subject: Update. 1999-08-16 Ulrich Drepper * wcsmbs/wcsmbsload.c (__wcsmbs_clone_conv): Call update_conversion_ptrs. Reported by Shinya Hanataka . * wcsmbs/wcsnlen.c: Correct decrement of maxlen. Reported by Shinya Hanataka . --- wcsmbs/wcsmbsload.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'wcsmbs/wcsmbsload.c') 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); -- cgit v1.2.3