From e993e9cc1c6b0dbe4c3d12ab7fe45678e3e39e27 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sat, 15 Jul 2000 21:56:03 +0000 Subject: Update. 2000-07-15 Jakub Jelinek * gconv_open (__gconv_open): Initialize whole __gconv_trans_data structure. 2000-07-13 Jakub Jelinek * sysdeps/posix/sysconf.c: Undef __sysconf before weak_alias. * sysdeps/unix/bsd/getpt.c: Undef __getpt before weak_alias. --- iconv/gconv_open.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'iconv') diff --git a/iconv/gconv_open.c b/iconv/gconv_open.c index cf4397eca2..bbe732c88a 100644 --- a/iconv/gconv_open.c +++ b/iconv/gconv_open.c @@ -228,6 +228,8 @@ __gconv_open (const char *toset, const char *fromset, __gconv_t *handle, newp->__trans_fct = runp->trans_fct; newp->__trans_context_fct = runp->trans_context_fct; newp->__trans_end_fct = runp->trans_end_fct; + newp->__data = NULL; + newp->__next = NULL; lastp = NULL; for (endp = result->__data[cnt].__trans; -- cgit 1.4.1