Update.
[platform/upstream/glibc.git] / ChangeLog
index 7da4825..5187fce 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,408 @@
+2000-12-27  Ulrich Drepper  <drepper@redhat.com>
+
+       * sysdeps/generic/bits/byteswap.h (__bswap_64): Handle constant
+       argument case separately.
+       * sysdeps/i386/bits/byteswap.h (__bswap_64): Likewise.
+
+2000-12-27  Andreas Jaeger  <aj@suse.de>
+
+       * include/sys/wait.h: Add some prototypes.
+       * Rules (dummy.c): Create also prototype to shut up GCC.
+
+2000-12-27  Andreas Jaeger  <aj@suse.de>
+
+       * sysdeps/mach/hurd/if_index.c (__protocol_available): Uncomment,
+       it's not needed at the moment.
+       * sysdeps/generic/if_index.c (__protocol_available): Likewise.
+       * sysdeps/unix/sysv/linux/if_index.c (__protocol_available): Likewise.
+
+2000-12-26  Andreas Jaeger  <aj@suse.de>
+
+       * libio/getc_u.c: Include stdio.h via system path to get internal
+       prototypes.
+       * libio/getwc_u.c: Likewise.
+
+       * stdlib/strfmon.c: Fix prototype of __printf_fp.
+
+       * stdio-common/vfprintf.c (process_arg): Move __printf_fphex and
+       __printf_fp prototypes to ...
+       * include/printf.h: ...here.
+
+       * include/stdio.h: Add some internal prototypes to shut up GCC.
+       * include/stdlib.h: Likewise.
+
+       * sysdeps/posix/sigpause.c (__sigpause): Use ISO C prototype
+       declaration.
+
+       * include/signal.h: Add prototypes for internal sigpause
+       interfaces.
+
+2000-12-26  Ulrich Drepper  <drepper@redhat.com>
+
+       * sysdeps/generic/bits/byteswap.h (__bswap_64): Make it usable for
+       64bit platforms.  Reported by Dave Gilbert <gilbertd@treblig.org>.
+
+       * string/Makefile (tests): Add tst-bswap.
+       * string/tst-bswap.c: New file.
+
+2000-12-11  Bruno Haible  <haible@clisp.cons.org>
+
+       * Makefile ($(inst_includedir)/gnu/stubs.h): Sort in the C locale.
+
+2000-12-26  Ulrich Drepper  <drepper@redhat.com>
+
+       * sunrpc/Makefile (rpcgen-cmd): Use single quotes in sed call.
+       Patch by Ed Connell <Ed.Connell@sas.com>.
+
+2000-12-24  Ulrich Drepper  <drepper@redhat.com>
+
+       * locale/iso-639.def: Correct one entry.  Add two missing entries.
+
+       * locale/iso-4217.def: Change entry for Eritrea.
+       Reported by Daniel Yacob <yacob@geez.org>.
+
+2000-12-23  Ben Collins  <bcollins@debian.org>
+
+       * manual/charset.texi (Extended Char Intro): Fix typo in ISO 6937
+       description.
+
+       * manual/stdio.texi (Dynamic Output): Document the return value of
+       asprintf.  Also make the asprintf/snprintf examples a little
+       better (check for some error returns).
+
+2000-12-22  Andreas Jaeger  <aj@suse.de>
+
+       * include/stdio.h: Add __ftrylockfile prototype.
+
+2000-12-21  H.J. Lu  <hjl@gnu.org>
+
+       * sysdeps/ia64/fpu/math_ldbl.h (ieee_long_double_shape_type):
+       Make sign_exponent element signed.
+
+       * sysdeps/ieee754/ldbl-96/math_ldbl.h (ieee_long_double_shape_type):
+       Fix a typo.
+
+       * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Remove dead branch.
+
+2000-12-21  Andreas Jaeger  <aj@suse.de>
+
+       * nis/nss_nisplus/nisplus-ethers.c (struct etherent): Removed.
+       * inet/ether_hton.c: Likewise
+       * inet/ether_ntoh.c: Likewise.
+
+       * nis/nss_nis/nis-ethers.c (_nss_nis_getntohost_r): Fix
+       declaration to match prototype.
+
+       * include/netinet/ether.h (struct etherent): Declare here so that
+       all implementations use the same struct.
+
+       * nis/nss_nis/nis-ethers.c: Include netinet/ether.h to get
+       prototypes.
+       (struct ether): Removed.
+       Use struct etherent instead of ether everywhere.
+
+       * include/rpc/auth.h (DECLARE_NSS_PROTOTYPES): New.
+
+       * include/rpc/auth_des.h (DECLARE_NSS_PROTOTYPES): New.
+
+       * sunrpc/publickey.c: Include auth_des.h for prototypes.
+
+2000-12-20  Ulrich Drepper  <drepper@redhat.com>
+
+       * math/test-misc.c: Add more tests for nextafter functions.
+
+       * sysdeps/i386/fpu/s_nextafterl.c: Handle change from denormal to
+       normal correctly.  Correct test for sign.
+       Based on a patch by HJ Lu.
+
+2000-12-19  Ulrich Drepper  <drepper@redhat.com>
+
+       * Makeconfig (preprocess-version): Add -traditional to gcc call.
+       Cleanup sed calls.
+
+2000-12-19  Andreas Jaeger  <aj@suse.de>
+
+       * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): New.
+
+       * nis/nis_intern.h: Add prototype for __do_niscall3.
+
+       * nis/nss_nis/nis-rpc.c (_nss_nis_setrpcent): Fix declaration to
+       match prototype.
+
+       * include/netdb.h (DECLARE_NSS_PROTOTYPES): Reformat.
+
+       * include/rpc/netdb.h (DECLARE_NSS_PROTOTYPES): New.
+
+       * include/aliases.h (DECLARE_NSS_PROTOTYPES): New.
+
+2000-12-18  Ulrich Drepper  <drepper@redhat.com>
+
+       * math/test-misc.c: Add more tests for nextafter.
+       * sysdeps/i386/fpu/s_nextafterl.c: Handle decrement for x<0 correctly.
+       * sysdeps/ieee754/ldbl-96/math_ldbl.h
+       (ieee_long_double_shape_type): Make sign_exponent element signed.
+
+       * manual/message.texi: Add Estonian to plural overview list.
+       Correct rule for Slavic languages.
+       Patch by Stanislav Brabec <utx@penguin.cz>.
+
+       * nis/nss_nis/nis-netgrp.c: Remove unnecessary initializations.
+
+2000-12-18  Andreas Jaeger  <aj@suse.de>
+
+       * test-skeleton.c: Use temp_name_list instead of name_list to
+       avoid collision with name_list from inet/netgroup.h.
+
+       * nss/nss_files/files-network.c (NEED_H_ERRNO): Define.
+
+       * include/grp.h (DECLARE_NSS_PROTOTYPES): New.
+       * include/pwd.h (DECLARE_NSS_PROTOTYPES): New.
+       * include/netdb.h (DECLARE_NSS_PROTOTYPES): New.
+       * include/shadow.h (DECLARE_NSS_PROTOTYPES): New.
+
+       * hesiod/nss_hesiod/hesiod-proto.c (_nss_hesiod_setprotoent): Fix
+       declaration to match prototype.
+       * hesiod/nss_hesiod/hesiod-pwd.c (_nss_hesiod_setpwent): Likewise.
+       * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_setgrent): Likewise.
+       * hesiod/nss_hesiod/hesiod-service.c (_nss_hesiod_setservent):
+       Likewise.
+       * nis/nss_nis/nis-grp.c (_nss_nis_setgrent): Likewise.
+       * nis/nss_nis/nis-pwd.c (_nss_nis_setpwent): Likewise.
+       * nis/nss_nis/nis-proto.c (_nss_nis_setprotoent): Likewise.
+       * nis/nss_nis/nis-service.c (_nss_nis_setservent): Likewise.
+       (_nss_nis_getservbyport_r): Likewise.
+       * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent): Likewise.
+       * nis/nss_nis/nis-spwd.c (_nss_nis_setspent): Likewise.
+       * nis/nss_nis/nis-network.c (_nss_nis_getnetent_r): Likewise.
+       (_nss_nis_setnetent): Likewise
+       * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
+       (_nss_nis_endnetgrent): Likewise.
+       * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_endnetgrent):
+       Likewise.
+       (_nss_nisplus_setnetgrent): Likewise.
+       * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Likewise.
+       * nis/nss_nisplus/nisplus-pwd.c (_nss_nisplus_setpwent): Likewise.
+       * nis/nss_nisplus/nisplus-grp.c (_nss_nisplus_setgrent): Likewise.
+       * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_setnetent):
+       Likewise.
+       * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_sethostent):
+       Likewise.
+       * nis/nss_nisplus/nisplus-service.c (_nss_nisplus_setservent):
+       Likewise.
+       * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_setprotoent):
+       Likewise.
+       * nis/nss_compat/compat-spwd.c (_nss_compat_setspent): Likewise.
+       * nis/nss_compat/compat-pwd.c (_nss_compat_setpwent): Likewise.
+       * nis/nss_compat/compat-grp.c (_nss_compat_setgrent): Likewise.
+       * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
+       * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Likewise.
+       (_nss_dns_getnetbyaddr_r): Likewise.
+
+2000-12-17  Andreas Jaeger  <aj@suse.de>
+
+       * sysdeps/generic/k_sinl.c (__kernel_sinl): Fix functions
+       parameter.
+
+       * sysdeps/unix/sysv/linux/shm_open.c (freeit): Make static and add
+       unused attribute to shut up gcc warnings.
+
+       * sysdeps/generic/k_sinl.c: Include math_private for prototypes.
+       * sysdeps/generic/k_tanl.c: Likewise.
+       * sysdeps/generic/k_cosl.c: Likewise.
+       * sysdeps/generic/e_j0l.c: Likewise.
+       * sysdeps/generic/e_j1l.c: Likewise.
+       * sysdeps/generic/e_jnl.c: Likewise.
+       * sysdeps/generic/e_lgammal_r.c: Likewise.
+
+       * elf/vismain.c: Move prototypes for functions in vismod*.c to
+       vismod.h.
+       * elf/vismod.h: New file.
+       * elf/Makefile (distribute): Add vismod.h.
+       * elf/vismod1.c: Include vismod.h.
+       * elf/vismod2.c: Likewise.
+       * elf/vismod3.c: Likewise.
+
+       * elf/constload3.c: Add prototype declarations to shut up gcc.
+       * elf/failobj.c: Likewise.
+       * elf/nodelmod3.c: Likewise.
+       * elf/filtmod1.c: Likewise.
+       * elf/filtmod2.c: Likewise.
+       * elf/reldepmod1.c: Likewise.
+       * elf/reldepmod2.c: Likewise.
+       * elf/reldepmod3.c: Likewise.
+       * elf/reldepmod4.c: Likewise.
+       * elf/unload2dep.c: Likewise.
+       * elf/unload2mod.c: Likewise.
+       * elf/ltglobmod1.c: Likewise.
+       * elf/pathoptobj.c: Likewise.
+       * elf/neededobj1.c: Likewise.
+       * elf/neededobj2.c: Likewise.
+       * elf/neededobj3.c: Likewise.
+       * elf/neededobj4.c: Likewise.
+       * elf/nextmod1.c: Likewise.
+       * elf/nextmod2.c: Likewise.
+
+       * locale/programs/ld-collate.c (collate_finish): Don't use labels
+       at end of compound statement.
+       * locale/programs/locale.c (show_info): Likewise.
+       * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
+
+2000-12-16  Jakub Jelinek  <jakub@redhat.com>
+
+       * catgets/gencat.c (read_input_file): Avoid calling obstack_free
+       with a pointer not returned by obstack_ functions.
+
+2000-12-16  Ulrich Drepper  <drepper@redhat.com>
+
+       * sysdeps/unix/sysv/aix/bits/stat.h (struct stat): Align with AIX
+       version.
+       (struct stat64): Likewise.
+       Reported by Michael Keezer <mkeezer@redhat.com>.
+
+       * timezone/asia: Update from tzdata2000h.
+       * timezone/australasia: Likewise.
+       * timezone/backward: Likewise.
+       * timezone/europe: Likewise.
+       * timezone/northamerica: Likewise.
+       * timezone/southamerica: Likewise.
+       * timezone/zone.tab: Likewise.
+
+2000-12-14  Jakub Jelinek  <jakub@redhat.com>
+
+       * io/ftw.c (ftw_dir): If process_entry returned non-zero result
+       and dir.stream is NULL, only free dir.content.
+       * io/ftwtest.c (cb, main): Add --early-exit option to test it.
+       * io/ftwtest-sh: Test with --early-exit.
+
+2000-12-13  Jakub Jelinek  <jakub@redhat.com>
+
+       * misc/efgcvt.c (FCVT_MAXDIG): Define.
+       (FCVT_BUFPTR): New variable.
+       (fcvt): If fcvt_r returns -1 on the static short buffer,
+       try to malloc a sufficiently large one and retry.
+       (free_mem): New function.
+       * misc/qefgcvt.c (FCVT_MAXDIG): Define.
+       * misc/tst-efgcvt.c (fcvt_tests): Add new test.
+
+2000-12-15  Ulrich Drepper  <drepper@redhat.com>
+
+       * misc/dirname.c (dirname): Fix search for second to last slash.
+
+2000-12-13  Andreas Jaeger  <aj@suse.de>
+
+       * misc/tst-dirname.c (main): Fix typo in test to really use
+       the examples from Unix98.
+       Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
+
+2000-12-09  H.J. Lu  <hjl@gnu.org>
+
+       * sysdeps/ia64/fpu/s_fabs.S: New file.
+       * sysdeps/ia64/fpu/s_fabsf.S: New file.
+       * sysdeps/ia64/fpu/s_fabsl.S: New file.
+
+2000-12-15  Andreas Jaeger  <aj@suse.de>
+
+       * stdio-common/scanf9.c (main): Reformat and change to avoid
+       warnings.
+
+       * stdio-common/tstdiomisc.c: Make local functions static.
+       * stdio-common/tst-printf.c: Likewise.
+
+       * elf/constload2.c: Add prototype declarations to shut up gcc.
+       * elf/dep1.c: Likewise.
+       * elf/dep2.c: Likewise.
+       * elf/dep3.c: Likewise.
+       * elf/dep4.c: Likewise.
+       * elf/ltglobmod2.c: Likewise.
+
+       * libio/fmemopen.c: Make local functions static.
+
+       * elf/Makefile (distribute): Added testobj.h.
+
+       * elf/testobj.h: New file.
+
+       * elf/testobj1.c: Include testobj.h and move prototype
+       declarations to testobj.h.
+       * elf/testobj2.c: Likewise.
+       * elf/testobj3.c: Likewise.
+       * elf/testobj4.c: Likewise.
+       * elf/testobj5.c: Likewise.
+       * elf/testobj6.c: Likewise.
+       * elf/testobj1_1.c: Likewise.
+       * elf/preloadtest.c: Likewise.
+
+2000-12-15  Ben Collins  <bcollins@debian.org>
+
+       * misc/sys/cdefs.h: Fix thinko in checks for flexarr macros.
+       Patch by Akim Demaille <akim@epita.fr> in Debian bug report.
+
+2000-12-14  H.J. Lu  <hjl@gnu.org>
+
+       * sysdeps/ieee754/flt-32/s_sincosf.c (__sincosf): The exponent
+       field in a float is 8 bits, not 11 bits.
+
+2000-12-13  Jakub Jelinek  <jakub@redhat.com>
+
+       * math/test-misc.c (main): Adjust m for IEEE quad long double.
+
+2000-12-13  Andreas Jaeger  <aj@suse.de>
+
+       * manual/message.texi (Using gettextized software): Fix typo.
+
+       * manual/charset.texi (Converting a Character): Fix mbstouwcs
+       program to compile.
+       Patch by Martin Buchholz <martin@xemacs.org>.
+
+       * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Fix typo.
+       Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
+
+2000-12-11  Andreas Jaeger  <aj@suse.de>
+
+       * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Declare
+       kernel_sigset_t and use it.
+       Patch by Hiroyuki Machida <machida@sm.sony.co.jp>.
+
+2000-12-10  Richard Henderson  <rth@redhat.com>
+
+       * sysdeps/alpha/alphaev67/fpu/Implies: New file.
+       * sysdeps/alpha/alphaev6/fpu/e_sqrtf.S: New file.
+       * sysdeps/alpha/alphaev6/fpu/e_sqrt.S: New file.
+
+2000-12-10  Jakub Jelinek  <jakub@redhat.com>
+
+       * sysdeps/alpha/htonl.S: Fix a typo.
+
+2000-12-10  Jakub Jelinek  <jakub@redhat.com>
+
+       * sysdeps/alpha/alphaev6/stxcpy.S: Exchange t8 with t10.
+
+2000-12-10  Andreas Jaeger  <aj@suse.de>
+
+       * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fixed
+       cast as suggested by Jakub Jelinek <jakub@redhat.com> and Ulrich
+       Drepper <drepper@redhat.com>.
+
+2000-12-09  Andreas Jaeger  <aj@suse.de>
+
+       * sysdeps/unix/sysv/linux/mips/sigaction.c: New file.
+
+       * sysdeps/unix/sysv/linux/mips/sys/acct.h: Removed, we can use the
+       generic version.
+       Patches by Hiroyuki Machida <machida@sm.sony.co.jp>.
+
+       * locale/programs/ld-collate.c (handle_ellipsis): Fix format
+       string.
+
+       * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fix
+       format string.
+
+       * nscd/hstcache.c (addhstbyname): Add cast to avoid warning.
+       * nscd/connections.c (handle_request): Likewise.
+       * nscd/pwdcache.c (addpwbyname): Likewise.
+       * nscd/grpcache.c (addgrbyname): Likewise.
+
+       * nscd/nscd_conf.c (nscd_parse_file): Remove extra argument.
+
 2000-12-09  Ulrich Drepper  <drepper@redhat.com>
 
        * string/stratcliff.c: Add tests for stpncpy, memcpy, and mempcpy.
        * sysdeps/mach/hurd/ioctl.c: Include <stdint.h>.
        (__ioctl): Use uintptr_t instead of unsigned long int.
 
-2000-12-06  Jim Wilson  <wilson@redhat.com>
+2000-12-06  Jim Wilson <wilson@redhat.com>
 
        * stdlib/l64a.c (l64a): Truncate M to 32-bit value.
 
 
        * sysdeps/unix/sysv/linux/sys/param.h: Revert last patch.
 
-2000-12-05  Martin Schwidefsky  <schwidefsky@de.ibm.com>
+2000-12-05  Martin Schwidefsky <schwidefsky@de.ibm.com>
 
        * sysdeps/unix/sysv/linux/s390/mmap64.S: Use mmap if mmap2 isn't
        available.
        * time/strftime.c: Add const where necessary to avoid warnings.
        * time/strptime.c (strptime_internal): Add casts to avoid warnings.
 
-2000-11-22  Paul Eggert  <eggert@twinsun.com>
+2000-11-22  Paul Eggert         <eggert@twinsun.com>
 
        * time/strftime.c (my_strftime): Do not invoke mbrlen with a
        size of (size_t) -1; it's not portable.
        * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: Moved to...
        * sysdeps/ia64/machine-gmon.h: ...here.
 
-2000-11-28  Masahide Washizawa  <washi@jp.ibm.com>
+2000-11-28  Masahide Washizawa <washi@jp.ibm.com>
 
        * iconvdata/Makefile (modules): Add IBM922, IBM1124, and IBM1129.
        (distribute): Add ibm922.c, ibm1124.c, ibm1129.c, ibm922.h, ibm1124.h,
        * csu/gmon-start.c (__gmon_start__): Avoid over-clever trick `if
        (called++) return;'
 
-2000-11-21  Alan Modra  <alan@linuxcare.com.au>
+2000-11-21  Alan Modra <alan@linuxcare.com.au>
 
        * sysdeps/generic/bsd-_setjmp.c (setjmp): Rename to _setjmp.
 
 
        * sysdeps/s390/bits/string.h (strncat): Add missing quotation marks.
 
-2000-11-21  Martin Schwidefsky  <schwidefsky@de.ibm.com>
+2000-11-21  Martin Schwidefsky <schwidefsky@de.ibm.com>
 
        * sysdeps/s390/bits/string.h: Make strncat always add a \0.
 
        output of program.
 
        * intl/tst-gettext2.c: Set C locale if setting other locale
-       failed.  Use gettext() not _().
+       failed.  Use gettext() not _().
 
        * locale/setlocale.c: Increment _nl_msg_cat_cntr whenever we
        successfully loaded a new locale.
        * inet/getnameinfo.c: Wake-up sin6_scope_id support in
        getnameinfo(): check for whether sin6_socpe_id exist was wrong.
 
-2000-11-09  Martin Schwidefsky  <mschwide@nc.boeblingen.de.ibm.com>
+2000-11-09  Martin Schwidefsky <mschwide@nc.boeblingen.de.ibm.com>
 
        * sysdeps/unix/sysv/linux/s390/mmap.S: Use mmap2 if it is present.
        * sysdeps/unix/sysv/linux/s390/mmap64.S: New file.