Update.
authorUlrich Drepper <drepper@redhat.com>
Sat, 15 Jul 2000 21:56:03 +0000 (21:56 +0000)
committerUlrich Drepper <drepper@redhat.com>
Sat, 15 Jul 2000 21:56:03 +0000 (21:56 +0000)
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.

ChangeLog
iconv/gconv_open.c
sysdeps/posix/sysconf.c
sysdeps/unix/bsd/getpt.c

index ff6d385..ef9715c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+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.
+
 2000-07-12  H.J. Lu  <hjl@gnu.org>
 
        * sysdeps/unix/sysv/linux/ia64/Versions (libc): Add __clone2 to
index cf4397e..bbe732c 100644 (file)
@@ -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;
index 0f6006c..b8fd368 100644 (file)
@@ -1091,4 +1091,5 @@ __sysconf (name)
     }
 }
 
+#undef __sysconf
 weak_alias (__sysconf, sysconf)
index d807097..42615ba 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1998, 1999 Free Software Foundation, Inc.
+/* Copyright (C) 1998, 1999, 2000 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Zack Weinberg <zack@rabi.phys.columbia.edu>, 1998.
 
@@ -74,4 +74,6 @@ __getpt (void)
   __set_errno (ENOENT);
   return -1;
 }
+
+#undef __getpt
 weak_alias (__getpt, getpt)