Update.
[platform/upstream/glibc.git] / ChangeLog
index 889305a..f0b82ef 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,8 +1,406 @@
+1999-12-08  Ulrich Drepper  <drepper@cygnus.com>
+
+       * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't fail if host has
+       only IPv6 address.  Reported by Artur Frysiak <wiget@pld.org.pl>.
+
+1999-12-07  Jakub Jelinek  <jakub@redhat.com>
+
+       * string/bits/string2.h (__memset_gc, __mempcpy_small, __strcpy_small,
+       __stpcpy_small): Cast switch expressions to int to shut up compiler
+       warnings.
+
+1999-12-07  Scott Bambrough <scottb@netwinder.org>
+
+       * sysdeps/arm/dl-machine.h (elf_machine_rel): Fixup R_ARM_PC24
+       relocs if possible.
+
+1999-12-06  Andreas Schwab  <schwab@suse.de>
+
+       * sysdeps/unix/sysv/linux/setrlimit.c: First find out wether the
+       ugetrlimit syscall exists.
+
+       * sysdeps/unix/sysv/linux/getrlimit.c: Only put versions on
+       exported symbols.
+       * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
+
+1999-12-07  Ulrich Drepper  <drepper@cygnus.com>
+
+       * iconvdata/ansi_x3.110.c (from_ansi_x3_110): Don't increment
+       pointers if character is illegal.
+       Reported by Bruno Haible <haible@ilog.fr>.
+
+       * iconv/gconv_db.c (gen_steps): Set __counter initialy to 1.
+       (increment_counter): New function.  Broken out of find_derivation.
+       (find_derivation): No need for a lock.  Increment counter only when
+       the derivation was already available.
+       * iconv/gconv_dl.c: Add debugging functions.
+       (known_compare): We have to use strcmp.
+       Reported by Bruno Haible <haible@ilog.fr>.
+
+1999-12-06  Ulrich Drepper  <drepper@cygnus.com>
+
+       * iconvdata/sami-ws2.c (CHARSET_NAME): Fix typo.
+       * iconvdata/iso_2033.c (CHARSET_NAME): Fix typo.
+       * iconvdata/ecma-cyrillic.c (CHARSET_NAME): Fix typo.
+       * iconvdata/gconv-modules: Correct ISO646-PT2 alias.  Add
+       SHIFT_JIS alias.
+       Reported by Bruno Haible <haible@ilog.fr>.
+
+       * locale/programs/xstrdup.c: It's _LIBC, not __LIBC.
+
+1999-12-03  Andreas Jaeger  <aj@suse.de>
+
+       * nss/getXXbyYY.c: Include <resolv.h>
+       (FUNCTION_NAME): Use res_ninit instead of res_init.
+
+       * nss/getXXbyYY_r.c [NEED__RES]: Include <resolv.h> for _res
+       declaration and prototypes.
+       Remove extra _res declaration.
+       (INTERNAL): Use thread aware res_ninit function.
+
+       * inet/gethstbyad_r.c: Include <resolv.h>.
+
+       * resolv/res_data.c: Update from Bind 8.2.2-P5.  Moved res_init to
+       res_libc.c.  Disabled unneeded functions.
+
+       * resolv/res_libc.c: New file.
+
+       * Versions.def: Add version GLIBC_2.2 for libpthread.
+       Add versions GLIBC_2.1 and GLIBC_2.2 for libresolv.
+
+       * include/resolv.h: Add internal interfaces.
+
+       * resolv/Makefile (routines): Add new files.
+       (libresolv-routines): Likewise.
+       (distribute): Likewise.
+
+       * resolv/gethnamaddr.c: Use thread safe resolver functions.
+       * resolv/nss_dns/dns-host.c: Likewise.
+       * resolv/nss_dns/dns-network.c: Likewise.
+
+       * resolv/arpa/nameser.h: Update from Bind 8.2.2-P5.
+       * resolv/nsap_addr.c: Likewise.
+       * resolv/res_comp.c: Likewise.
+       * resolv/res_debug.c: Likewise.
+       * resolv/res_init.c: Likewise.
+       * resolv/res_mkquery.c: Likewise.
+       * resolv/res_query.c: Likewise.
+       * resolv/res_send.c: Likewise.
+       * resolv/resolv.h: Likewise.
+
+       * resolv/Versions: Add __res_state and __res_ninit with version
+       GLIBC_2.2 to libc.
+       Add new interfaces with version GLIBC_2.2 to libresolv.
+
+       * resolv/Banner: Update.
+
+       * include/arpa/nameser_compat.h: New file.
+
+       * resolv/ns_name.c: New file from Bind 8.2.2-P5.
+       * resolv/ns_netint.c: Likewise.
+       * resolv/ns_parse.c: Likewise.
+       * resolv/ns_print.c: Likewise.
+       * resolv/ns_samedomain.c: Likewise.
+       * resolv/ns_ttl.c: Likewise.
+       * resolv/arpa/nameser_compat.h: Likewise.
+       * resolv/res_debug.h: Likewise.
+
+       Some patches are based on work done by Adam D. Bradley
+       <artdodge@cs.bu.edu>.
+
+1999-11-30  Andreas Jaeger  <aj@suse.de>
+
+       Add ldconfig:
+       * elf/Makefile (extra-objs): Added ldconfig-modules.
+       (ldconfig-modules): New.
+       Added vpath for xstrdup and xmalloc.
+       Check for use-ldconfig instead of has-ldconfig.
+       ($(objpfx)ldconfig): New rule with dependencies.
+       (distribute): Add new files.
+
+       * sysdeps/unix/sysv/linux/sparc/readelflib.c: New file,
+       developed together with Jakub Jelinek <jakub@redhat.com>.
+       * sysdeps/generic/readelflib.c: Likewise.
+
+       * elf/cache.c: New file.
+       * elf/ldconfig.c: New file.
+       * elf/ldconfig.h: New file.
+       * elf/readlib.c: New file.
+
+       * Makefile (install): Remove flag -d in ldconfig call.
+
+       * configure.in: Rename has_ldconfig to use_ldconfig, set it to no
+       by default.
+
+       * config.make.in (has-ldconfig): Renamed to use-ldconfig, changed
+       comment.
+
+       * sysdeps/unix/sysv/linux/configure.in: Remove check for ldconfig,
+       set always use_ldconfig instead.
+
+1999-12-03  Ulrich Drepper  <drepper@cygnus.com>
+
+       * sysdeps/generic/bits/stropts.h: Update with LiS types and
+       values.  Patch by David Grothe <dave@gcom.com>.
+
+       * sysdeps/unix/sysv/linux/bits/types.h (__t_scalar_t, __t_uscalar_t):
+       Make long types.
+       * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
+       * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
+       * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
+
+1999-12-02  Akira Yoshiyama  <yosshy@debian.or.jp>
+
+       * locale/lc-time.c (_nl_get_era_entry): Separate eras
+       initialization as _nl_init_era_entry().
+       * locale/lc-time.c (_nl_get_era_nf_entry): New function.
+       * locale/lc-time.c (_nl_get_era_year_offset): New function.
+       * locale/lc-time.c (_nl_get_era_year_start): New function.
+       * locale/localeinfo.h: Declare new functions.
+       Define ERA_NAME_FORMAT_MEMBERS, ERA_M_NAME, ERA_M_FORMAT, ERA_W_NAME,
+       and ERA_W_FORMAT.
+
+1999-12-02  Ulrich Drepper  <drepper@cygnus.com>
+
+       * posix/regex.c (SYNTAX): Make more portable.
+       Patch by Aharon Robbins <arnold@skeeve.com>.
+
+1999-11-18  Roland McGrath  <roland@baalperazim.frob.com>
+
+       * hurd/hurdsig.c (_hurdsig_init): If __hurd_threadvar_stack_mask is
+       nonzero, use cthread_fork to create the signal thread.
+       * hurd/msgportdemux.c (_hurd_msgport_receive): Initialize
+       _hurd_msgport_thread here (to self).
+       * sysdeps/mach/hurd/fork.c (__fork): When __hurd_sigthread_stack_end
+       is zero, instead compute child signal thread's starting SP from parent
+       signal thread's current SP and the threadvar_stack variables.
+       * hurd/Versions (GLIBC_2.1.3): Add cthread_fork, cthread_detach.
+       These are now referenced weakly by _hurdsig_init.
+
+       * hurd/report-wait.c (_S_msg_report_wait): Fix typo:
+       &_hurd_itimer_thread not &_hurd_msgport_thread.
+
+1999-10-01  Roland McGrath  <roland@baalperazim.frob.com>
+
+       * hurd/hurdfchdir.c (_hurd_change_directory_port_from_fd): Rewrite
+       without HURD_DPORT_USE to clean up warnings.
+       * hurd/dtable.c (get_dtable_port): Likewise.
+
+       * hurd/hurdioctl.c (rectty_dtable): Renamed to install_ctty.
+       (install_ctty): Do the changing of the cttyid port cell here, inside
+       the critical section while we holding the dtable lock.
+       (_hurd_setcttyid, tiocsctty, tiocnotty): Use that instead of changing
+       the port cell and calling rectty_dtable.
+       (_hurd_locked_install_cttyid): New function, split out of install_ctty.
+       (install_ctty): Use it inside a critical section, with the lock held.
+       * sysdeps/mach/hurd/setsid.c (__setsid): Use
+       _hurd_locked_install_cttyid to effect the cttyid and dtable changes
+       after proc_setsid, having held the dtable lock throughout.
+       * hurd/dtable.c (ctty_new_pgrp): With the dtable lock held, check the
+       cttyid port for null and bail out early if so.  The dtable lock
+       serializes us after any cttyid change and its associated dtable update.
+
+1999-11-14  Roland McGrath  <roland@baalperazim.frob.com>
+
+       * sysdeps/mach/hurd/nfs/nfs.h: New file, empty but for comments.
+       Its presence lets librpcsvc compile ok.  This from Mark Kettenis.
+       We don't install this file for users.
+       * sysdeps/mach/hurd/Dist: Add it.
+       * sysdeps/mach/hurd/Makefile [$(subdir) = sunrpc] (sysdep_headers):
+       Append nfs/nfs.h here.
+
+1999-12-01  Andreas Jaeger  <aj@suse.de>
+
+       * sysdeps/generic/if_index.c (__protocol_available): Add missing
+       int for parameter.
+
+       * stdio/stdio.h: Fix typo.
+       Patches by Marcus G. Daniels <mgd@santafe.edu>.
+
+1999-12-01  Andreas Jaeger  <aj@suse.de>
+
+       * scripts/test-installation.pl (installation_problem): Filter out
+       libpthread_db.
+
+1999-12-01  Andreas Schwab  <schwab@suse.de>
+
+       * sysdeps/unix/sysv/linux/alpha/bits/types.h: Fix signedness of
+       __rlim_t and __rlim64_t.
+       * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
+       * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
+
+1999-12-01  Andreas Schwab  <schwab@suse.de>
+
+       * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
+       oldgetrlimit64 and oldsetrlimit64 for subdir = resource.
+       * sysdeps/unix/sysv/linux/Versions: Add getrlimit, setrlimit,
+       getrlimit64 and setrlimit64 to version GLIBC_2.1.3.
+       * sysdeps/unix/sysv/linux/setrlimit.c: Correct handling of old and
+       new kernel version.  Add symbol versions.
+       * sysdeps/unix/sysv/linux/syscalls.list: Add oldsetrlimit and
+       oldgetrlimit.
+       * sysdeps/unix/sysv/linux/alpha/syscalls.list: Likewise.
+       * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
+       * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add s_getrlimit
+       and s_ugetrlimit.
+       * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
+       * sysdeps/unix/sysv/linux/getrlimit.c: New file.
+       * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
+       * sysdeps/unix/sysv/linux/oldgetrlimit64.c: New file.
+       * sysdeps/unix/sysv/linux/oldsetrlimit64.c: New file.
+       * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
+       * sysdeps/unix/sysv/linux/alpha/oldgetrlimit64.c: New file.
+       * sysdeps/unix/sysv/linux/alpha/oldsetrlimit64.c: New file.
+       * sysdeps/unix/sysv/linux/sparc/sparc64/oldgetrlimit64.c: New
+       file.
+       * sysdeps/unix/sysv/linux/sparc/sparc64/oldsetrlimit64.c: New
+       file.
+
+1999-12-01  Ulrich Drepper  <drepper@cygnus.com>
+
+       * sysdeps/generic/usleep.c: Fix typo.
+
+       * sysdeps/generic/sys/ptrace.h: Remove K&R compatibility.
+
+       * sysdeps/unix/Makefile (param.h.dep): Filter out sys/param.h
+       itself.
+
+       * sysdeps/unix/sysv/bits/utsname.h: Test for _SYS_UTSNAME_H, not
+       _UTSNAME_H.
+
+       * malloc/set-freeres.c: Really use already_called variable.
+
+       * libio/iosetbuffer.c: Use _IO_WSETBUF instead of constructing
+       function call directly.
+       * libio/iosetvbuf.c: Likewise.
+
+1999-11-29  Ulrich Drepper  <drepper@cygnus.com>
+
+       * configure.in: Add AIX 4.3 support.
+
+       * iconvdata/gconv-modules: Correct alias for ISO-8859-10.  This
+       standard was issued in 1992.
+       Reported by Bruno Haible <haible@ilog.fr>.
+
+1999-11-29  Thorsten Kukuk  <kukuk@suse.de>
+
+       * sysdeps/unix/sysv/linux/sparc/bits/signum.h: Add define for
+       SIGCLD als SIGCHLD.
+
+1999-11-29  Andreas Jaeger  <aj@suse.de>
+
+       * manual/time.texi (Basic CPU Time): Better describe wrap around.
+       Patch by Andries Brouwer <Andries.Brouwer@cwi.nl>.
+
+1999-11-29  Ulrich Drepper  <drepper@cygnus.com>
+
+       * iconvdata/gconv-modules: Fix typos in LATIN8/L8 aliases.
+       Patch by Bruno Haible <haible@ilog.fr>.
+
+1999-11-29  Thorsten Kukuk  <kukuk@suse.de>
+
+       * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Remove K&R compatibility.
+
+1999-11-29  Andreas Schwab  <schwab@suse.de>
+
+       * sysdeps/m68k/bits/byteswap.h (__bswap_32): Rename local variable
+       __v to __bswap_32_v.
+       (__bswap_64): Rename local variables __v and __r to __bswap_64_v
+       and __bswap_64_r to avoid clash with __bswap_32 macro.
+
+1999-11-28  Ulrich Drepper  <drepper@cygnus.com>
+
+       * iconvdata/t.61.c (CHARSET_NAME): Correct name to what is used in
+       gconv-modules.
+
+1999-11-26  Ulrich Drepper  <drepper@cygnus.com>
+
+       * locale/programs/ld-ctype.c (allocate_arrays): Complete last
+       patch.  Use wch instead of idx to compute index.
+       Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
+
+       * inet/rcmd.c (ruserok): Use iruserok2 not iruserok.
+
+       * locale/iso-3166.def: Update from latest official list.
+
+1999-11-26  Thorsten Kukuk  <kukuk@suse.de>
+
+       * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Include
+       asm/ptrace.h, since this will not be done with 2.3.xx automatically
+       * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
+
+1999-11-26  Andreas Jaeger  <aj@suse.de>
+
+       * libio/libioP.h: Remove duplicate declaration of _IO_wsetb.
+
+1999-11-26  Andreas Jaeger  <aj@suse.de>
+
+       * inet/rcmd.c: Include stdlib for declaration of free.
+       Declare iruserok.
+
+1999-11-25  Ulrich Drepper  <drepper@cygnus.com>
+
+       * iconv/gconv.c (__gconv): Always initialize
+       cd->__data[last_step].__outbuf and cd->__data[last_step].__outbufend.
+
+       * iconvdata/iso-2022-kr.c (EMIT_SHIFT_TO_INIT): Update number of
+       written bytes.
+       * iconvdata/iso-2022-jp.c: Likewise.
+
+1999-11-25  H.J. Lu  <hjl@gnu.org>
+
+       * stdlib/exit.c (exit): Run funtions only if
+       __exit_funcs->idx > 0.
+
+1999-11-25  Ulrich Drepper  <drepper@cygnus.com>
+
+       * manual/charset.texi (iconv Examples): Add iconv call to flush
+       state.  Reported by Andrew Clausen <clausen@alphalink.com.au>.
+
+1999-11-25  Andreas Jaeger  <aj@suse.de>
+
+       * manual/install.texi (Running make install): Better describe
+       update from libc5.
+       Patch by Michael Deutschmann <michael@talamasca.wkpowerlink.com>.
+
+1999-11-25  Andreas Jaeger  <aj@suse.de>
+
+       * include/sys/mman.h: Remove K&R compatibility.
+
+1999-11-15  Andreas Jaeger  <aj@suse.de>
+
+       * misc/sys/mman.h: Use __REDIRECT for mmap, correct prototype to
+       use __off64_t.
+
+1999-11-25  Ulrich Drepper  <drepper@cygnus.com>
+
+       * iconv/iconv_prog.c (process_block): For stateful charsets write
+       out byte sequence to get to initial state at the end of the file.
+
+1999-11-25  Andreas Schwab  <schwab@suse.de>
+
+       * Makeconfig: Include sys-dirs and sys-sorted earlier.
+       ($(common-objpfx)soversions.mk): Wait until subdirs is complete.
+       ($(common-objpfx)sysd-sorted): Emit marker when this file is
+       complete.
+
+1999-11-24  Ulrich Drepper  <drepper@cygnus.com>
+
+       * manual/setjmp.texi: Many changes to correct bad English introduced
+       mainly by me.
+       * manual/time.texi: Likewise.
+       Patches by Neil Booth <neil@rosenet.ne.jp>.
+
+       * include/string.h: Remove K&R compatibility.
+
 1999-11-23  Ulrich Drepper  <drepper@cygnus.com>
 
+       * sysdeps/unix/sysv/linux/bits/signum.h (SIGSYS): New definition.
+
+       * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_IEEE802_TR): Added.
+
        * string/stratcliff.c: Add one more strchr test for something
-       which was reported to not work
-       (which proofed to be wrong).
+       which was reported to not work (which proofed to be wrong).
 
        * iconv/skeleton.c: It's __is_last, not is_last.