summary refs log tree commit diff
path: root/iconv
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-07-15 21:56:03 +0000
committerUlrich Drepper <drepper@redhat.com>2000-07-15 21:56:03 +0000
commite993e9cc1c6b0dbe4c3d12ab7fe45678e3e39e27 (patch)
tree74eec6af203019205df8d7abc0794e9a90512f4f /iconv
parent9aae19cd9aaf10e7d99c56f9d7d820c5b792faeb (diff)
downloadglibc-e993e9cc1c6b0dbe4c3d12ab7fe45678e3e39e27.tar.gz
glibc-e993e9cc1c6b0dbe4c3d12ab7fe45678e3e39e27.tar.xz
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.c2
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;