This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

gconv_open patch (2)


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;

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]