diff options
author | Ulrich Drepper <drepper@redhat.com> | 2000-07-15 21:56:03 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2000-07-15 21:56:03 +0000 |
commit | e993e9cc1c6b0dbe4c3d12ab7fe45678e3e39e27 (patch) | |
tree | 74eec6af203019205df8d7abc0794e9a90512f4f /iconv | |
parent | Update. (diff) | |
download | glibc-e993e9cc1c6b0dbe4c3d12ab7fe45678e3e39e27.tar.gz glibc-e993e9cc1c6b0dbe4c3d12ab7fe45678e3e39e27.tar.bz2 glibc-e993e9cc1c6b0dbe4c3d12ab7fe45678e3e39e27.zip |
Update.
2000-07-15 Jakub Jelinek <jakub@redhat.com>
* gconv_open (__gconv_open): Initialize whole __gconv_trans_data
structure.
2000-07-13 Jakub Jelinek <jakub@redhat.com>
* sysdeps/posix/sysconf.c: Undef __sysconf before weak_alias.
* sysdeps/unix/bsd/getpt.c: Undef __getpt before weak_alias.
Diffstat (limited to 'iconv')
-rw-r--r-- | iconv/gconv_open.c | 2 |
1 files changed, 2 insertions, 0 deletions
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; |