gconv_open patch (2)
Bruno Haible
haible@ilog.fr
Wed Jul 12 10:46:00 GMT 2000
While debugging the last problem, I saw that
__steps[0].__modname
was correctly initialized but
__steps[1].__modname
was uninitialized. Since __modname is actually used in gconv_db.c, I
propose to initialize it:
2000-07-12 Bruno Haible <haible@clisp.cons.org>
* iconv/gconv_builtin.c (__gconv_get_builtin_trans): Initialize
__modname.
*** glibc-20000706/iconv/gconv_builtin.c.bak Mon Jul 3 16:39:24 2000
--- glibc-20000706/iconv/gconv_builtin.c Wed Jul 12 02:09:17 2000
***************
*** 77,82 ****
--- 77,83 ----
step->__end_fct = map[cnt].end;
step->__counter = INT_MAX;
step->__shlib_handle = NULL;
+ step->__modname = NULL;
step->__min_needed_from = map[cnt].min_needed_from;
step->__max_needed_from = map[cnt].max_needed_from;
More information about the Libc-alpha
mailing list