]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - ChangeLog
Update.
[thirdparty/glibc.git] / ChangeLog
index de8a9e0fc373014d6f2349b2bb545fc01bcdfa24..3ec8d64aa8ef1792d7a1c9d95659191fa02e4e2c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,464 @@
+1999-07-11  Ulrich Drepper  <drepper@cygnus.com>
+
+       * Versions.def (libnss_hesiod): Add GLIBC_2.2.
+       * hesiod/Versions (libnss_hesiod) [GLIBC_2.2]: Add
+       _nss_hesiod_initgroups.
+
+1999-07-11  Roland McGrath  <roland@baalperazim.frob.com>
+
+       * sysdeps/mach/hurd/brk.c (static_data_start): New variable.
+       (_hurd_set_brk, init_brk): Use that instead of &__data_start.
+       Initialize it from &__data_start if defined, or else &_end.
+
+1999-07-11  Roland McGrath  <roland@baalperazim.frob.com>
+
+       * sysdeps/mach/hurd/mmap.c (__mmap): Short-circuit to vm_allocate
+       for MAP_ANON, prot==PROT_READ|PROT_WRITE.
+
+1999-07-09  Ulrich Drepper  <drepper@cygnus.com>
+
+       * stdio-common/vfprintf.c (buffered_vfprintf): Add locking.
+
+1999-07-09  H.J. Lu  <hjl@gnu.org>
+
+       * Versions.def (GLIBC_2.1.2): Added.
+
+       * nss/getXXent_r.c: Make the new ABI GLIBC_2.1.2 and keep the
+       old one as GLIBC_2.0.
+       * nss/getXXbyYY_r.c: Likewise.
+
+       * grp/Versions (getgrent_r, getgrgid_r, getgrnam_r): Added to
+       GLIBC_2.1.2.
+       * inet/Versions (getaliasbyname_r, getaliasent_r,
+       gethostbyaddr_r, gethostbyname2_r, gethostbyname_r,
+       gethostent_r, getnetbyaddr_r, getnetbyname_r, getnetent_r,
+       getnetgrent_r, getprotobyname_r, getprotobynumber_r,
+       getprotoent_r, getrpcbyname_r, getrpcbynumber_r, getrpcent_r,
+       getservbyname_r): Likewise.
+       * pwd/Versions (getpwent_r, getpwuid_r): Likewise.
+       * shadow/Versions (getspent_r, getspnam_r): Likewise.
+
+1999-07-09  Ulrich Drepper  <drepper@cygnus.com>
+
+       * sysdeps/i386/bits/string.h (__memcpy_c): Help some stupid old
+       compilers.
+       (__memset_cc): Likewise.
+
+       * sysdeps/generic/libc-start.c: For SUID binaries check whether
+       the standard file descriptors are open.
+       Reported by Chris Evans <chris@ferret.lmh.ox.ac.uk>.
+
+       * sysdeps/unix/sysv/linux/syscalls.list: Remove mmap64 alias for mmap.
+       * sysdeps/unix/sysv/linux/mmap64.c: Test whether mapped area is in
+       range of mmap.  If not fail.
+       Patches by Daniel Jacobowitz <dan@debian.org>.
+
+       * elf/rtld.c: Split _dl_start in two pieces to prevent GOT usage
+       before the relocation happened.
+       Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
+
+       * Versions.def (libnsl): Add GLIBC_2.2.
+       * nis/Versions (libnsl) [GLIBC_2.2]: Add xdr_ypall.
+
+1999-07-08  Cristian Gafton  <gafton@redhat.com>
+
+       * nis/yp_xdr.c (xdr_ypall): New function.
+
+1999-07-09  Andreas Schwab  <schwab@suse.de>
+
+       * elf/Makefile (headers): Remove bits/dlfcn.h and dlfcn.h.
+
+       * dlfcn/Makefile (headers): Add bits/dlfcn.h.
+
+1999-07-09  Ulrich Drepper  <drepper@cygnus.com>
+
+       * hesiod/Versions [GLIBC_2.2]: Add _nss_hesiod_initgroups.
+       * hesiod/hesiod-grp.c: Add initgroups support.
+       Patch by Nalin Dahyabhai <nsdahya1@pobox.com>.
+
+1999-07-08  Andreas Schwab  <schwab@suse.de>
+
+       * libio/iofopncook.c (fopencookie): Set _fileno to -2.
+
+       * libio/libioP.h (_IO_file_is_open): Only check for -1, not all
+       negative numbers.
+
+       * libio/fileops.c (_IO_new_file_close_it): Set _fileno to -1, not
+       EOF.
+       * libio/oldfileops.c (_IO_old_file_close_it): Likewise.
+
+1999-07-08  Andreas Schwab  <schwab@suse.de>
+
+       * stdio-common/vfprintf.c (buffered_vfprintf): Initialize _mode.
+
+1999-07-08  Andreas Schwab  <schwab@suse.de>
+
+       * libio/fileno.c: Return -1 instead of EOF and set errno if the
+       stream is not a real file stream.
+
+1999-07-08  Andreas Schwab  <schwab@suse.de>
+
+       * manual/charset.texi: Fix typos.
+
+1999-07-07  Ulrich Drepper  <drepper@cygnus.com>
+
+       * sysdeps/gnu/Makefile (libdl-routines): Add eval.
+
+1999-07-06  Zack Weinberg  <zack@rabi.columbia.edu>
+
+       * dlfcn: New directory.  Move the following files from elf:
+       dladdr.c, dlclose.c, dlerror.c, dlfcn.h, dlopen.c,
+       dlopenold.c, dlsym.c, dlvsym.c.
+       * dlfcn/Makefile: New file.
+       * dlfcn/Versions: New file.
+       * dlfcn/dlsym.c: All ELF-specific code split out to new
+       function _dl_sym.
+       * dlfcn/dlvsym.c: All ELF-specific code split out to new
+       function _dl_vsym.
+       * elf/dl-sym.c: New file.  _dl_sym and _dl_vsym are
+       implemented here.
+
+       * dlfcn/dladdr.c: Remove all references to ELF data structures
+       or headers.
+       * dlfcn/dlclose.c: Likewise.
+       * dlfcn/dlerror.c: Likewise.
+       * dlfcn/dlopen.c: Likewise.
+       * dlfcn/dlopenold.c: Likewise.
+
+       * Makeconfig (dlfcn): New variable - set to `dlfcn' if elf is
+       yes, empty otherwise.
+       (libdl): Set to dlfcn/libdl.so or libdl.a if elf is yes,
+       depending on build-shared.
+       (subdirs): Add $(dlfcn).
+       (rpath-dirs): Add dlfcn.
+       * elf/Makefile: Remove all references to libdl or its
+       components, except the ones relating to the test cases.
+       (routines): Add dl-sym.
+       * elf/Versions (libc): Add _dl_sym and _dl_vsym for GLIBC_2.2.
+       (libdl): Delete.
+
+       * elf/dl-close.c (_dl_close): Change argument to void *.
+       * elf/dl-open.c (_dl_open): Change return type to void *.
+       * elf/eval.c: Removed.
+       * elf/ldsodefs.h: Move prototypes of _dl_catch_error,
+       _dlerror_run, _dl_open, _dl_close, _dl_addr, and
+       _dl_mcount_wrapper_check to include/dlfcn.h.  Delete
+       _CALL_DL_FCT macro.
+       * include/dlfcn.h: Also prototype _dl_sym and _dl_vsym here.
+       Include real header from dlfcn directory.
+       * include/ldsodefs.h: Removed.
+
+       * grp/initgroups.c: Use DL_CALL_FCT not _CALL_DL_FCT.
+       * nss/getXXbyYY_r.c: Likewise.
+       * nss/getXXent_r.c: Likewise.
+       * iconv/gconv.c: Likewise.  Don't include ldsodefs.h.
+       * iconv/gconv_db.c: Likewise.  Don't include ldsodefs.h.
+       * iconv/skeleton.c: Don't include ldsodefs.h.
+       * nss/nsswitch.h: Don't include ldsodefs.h.  Include dlfcn.h.
+
+1999-07-07  Ulrich Drepper  <drepper@cygnus.com>
+
+       * sysdeps/generic/setenv.c: Describe problem.
+
+       * malloc/malloc.c (request2size): Also set errno if failing.
+
+       * malloc/malloc.c (request2size): Take care of overflow in
+       addition.
+
+       * sysdeps/posix/getcwd.c: Correct last patch.  Handle getcwd
+       (NULL, != 0) correctly.
+
+       * elf/dl-load.c: Use a few more __builtin_expect.
+
+       * sysdeps/posix/getcwd.c: When resizing buffer make sure new size
+       is large enough.
+
+1999-07-07  Andreas Schwab  <schwab@suse.de>
+
+       * sysdeps/unix/sysv/linux/getpt.c: Check that /dev/pts is mounted.
+       (_PATH_DEVPTS, DEVPTS_SUPER_MAGIC): New definitions.
+       (_PATH_DEVPTMX): Use _PATH_DEV.
+
+1999-07-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
+
+       * malloc/tst-malloc.c: New file.  Tests some basic functionality.
+       * malloc/Makefile (tests): Add tst-malloc.
+
+1999-07-06  Ulrich Drepper  <drepper@cygnus.com>
+
+       * libio/oldtmpfile.c: Adjust call of __gen_tempname to match new
+       convention.
+
+       * sysdeps/unix/sysv/linux/alpha/ioperm.c: Update for some more
+       motherboards.
+       Patch by Jay Estabrook.
+
+       * sysdeps/unix/sysv/linux/configure.in: Don't test for libc4 in
+       ldd for SPARC.
+       * sysdeps/unix/sysv/linux/sparc/ldd-rewrite.sed: New file.
+       Patch by Cristian Gafton.
+
+1999-07-02  Cristian Gafton  <gafton@redhat.com>
+
+       * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): "return 0"
+       instead of "return NULL" to make C++ happy.
+
+1999-07-04  Mark Kettenis  <kettenis@gnu.org>
+
+       * libio/iofdopen.c (_IO_new_fdopen): Set EINVAL if MODE is not
+       allowed by the file access mode of the open file.
+
+1999-07-06  Ulrich Drepper  <drepper@cygnus.com>
+
+       * sysdeps/generic/setfpucw.c: Include math.h to get all needed
+       macros defined.
+
+1999-07-03  Jakub Jelinek   <jj@ultra.linux.cz>
+
+       * sysdeps/sparc/sparc64/submul_1.S: Fix carry handling. Optimize.
+       * sysdeps/sparc/sparc64/lshift.S: Make a leaf subroutine. Optimize.
+       * sysdeps/sparc/sparc64/rshift.S: Likewise.
+       * sysdeps/sparc/sparc64/mul_1.S: Optimize.
+
+1999-07-04  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
+
+       * malloc/malloc.c (request2size): Check for overflow and return
+       NULL whenever it is encountered.
+
+1999-07-04  Zack Weinberg  <zack@rabi.columbia.edu>
+
+       * sysdeps/posix/tempname.c (__gen_tempname):   Add
+       ability to create directories.  Replace OPENIT and LARGEFILE
+       args with a single flags parameter.
+       * sysdeps/generic/tempname.c: Likewise.
+       * include/stdio.h: Adjust prototype of __gen_tempname to
+       match.  Define symbolic constants for second argument.
+
+       * misc/mkdtemp.c: New file, provides new function mkdtemp().
+       * stdlib/stdlib.h: Prototype it.
+       * misc/Versions: Export it.
+       * misc/Makefile (routines): Add mktemp.
+       * manual/filesys.texi: Document it.
+
+       * misc/mktemp.c: Adjust call of __gen_tempname to match new
+       convention.
+       * misc/mkstemp.c: Likewise.
+       * stdio-common/tempnam.c: Likewise.
+       * stdio-common/tmpfile.c: Likewise.
+       * stdio-common/tmpfile64.c: Likewise.
+       * stdio-common/tmpnam.c: Likewise.
+       * stdio-common/tmpnam_r.c: Likewise.
+
+1999-07-05  Jakub Jelinek   <jj@ultra.linux.cz>
+
+       * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Support
+       R_SPARC_OLO10 relocations.
+       * elf/elf.h (R_SPARC_OLO10): Fix comment.
+
+1999-07-02  Tim Waugh  <tim@cyberelk.demon.co.uk>
+
+       * posix/wordexp-test.c: Revert bogus 'unset IFS' change.  It
+       doesn't belong in the tests, but in the wordexp implementation.
+
+       * posix/wordexp.c (exec_comm): Unset IFS so that subshells don't
+       split fields.
+
+1999-07-01  Cristian Gafton  <gafton@redhat.com>
+
+       * time/strptime.c (strptime): Initialize the tm struct first to avoid
+       returning bogus results on incomplete data.
+       (strptime_internal): day_of_the_week() requres bith tm_mon and
+       tm_mday to be initializaed.
+       Computer them first if they are not given.
+       (strptime_internal): (have_mon, have_mday): New variables.
+
+1999-07-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
+
+       * inet/rcmd.c (__icheckhost): Fix typo in last patch.
+
+1999-07-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
+
+       * wcsmbs/wcschr.c (wcschr): Fix last patch: Add missing semicolon.
+       * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
+
+1999-07-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
+
+       * posix/wordexp.c (parse_tilde): Handle failing call to
+       get.*_r functions correctly for non-existing entry.
+       * sysdeps/posix/cuserid.c (cuserid): Likewise.
+       * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Likewise.
+
+1999-06-30  Ulrich Drepper  <drepper@cygnus.com>
+
+       * sysdeps/unix/sysv/linux/gethostid.c: Handle failing call to
+       getxxbyYY_r functions correctly for non-existing entry.
+       * sunrpc/getrpcport.c: Likewise.
+       * sunrpc/clnt_simp.c: Likewise.
+       * inet/rexec.c: Likewise.
+       * sunrpc/clnt_gen.c: Likewise.
+       * inet/rcmd.c: Likewise.
+       * sysdeps/generic/glob.c: Likewise.
+
+1999-06-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
+
+       * pwd/Makefile (tests): Add rules for tst-getpw.
+
+       * pwd/tst-getpw.c: New program to test getpw.
+
+1999-06-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
+
+       * inet/rcmd.c (__icheckhost): Test for gethostbyname_r result
+       correctly.
+
+1999-06-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
+
+       * manual/arith.texi (System V Number Conversion): Fix the
+       description which confused pointer and value to pointer.
+       Reported by Andries.Brouwer@cwi.nl.
+
+1999-06-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
+
+       * pwd/getpw.c (__getpw): Check for NULL result pointer.
+
+1999-06-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
+
+       * manual/users.texi (Lookup User): Document POSIX return
+       semantics for getpwuid_r and getgrgid_r.
+
+       * manual/socket.texi (Host Names): Document that the result
+       pointer is null in case of error or host not found and fix a
+       typo.  Give a small example.
+
+1999-06-30  Ulrich Drepper  <drepper@cygnus.com>
+
+       * pwd/getpw.c: Add warning since no buffer size is given and
+       therefore no overrun tests are possible.
+
+1999-06-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
+
+       * pwd/pwd.h: Add getpw prototype declaration.
+
+1999-06-30  Ulrich Drepper  <drepper@cygnus.com>
+
+       * wcsmbs/wcsrchr.c: Fix handling of L'\0' parameter.
+       * wcsmbs/wcschr.c: Likewise.
+
+1999-06-28  Ulrich Drepper  <drepper@cygnus.com>
+
+       * sysdeps/libm-ieee754/e_gamma_r.c: Initialize *signgamp for NaN
+       returns.
+       * sysdeps/libm-ieee754/e_gammaf_r.c: Likewise.
+       * sysdeps/libm-ieee754/e_gammal_r.c: Likewise.
+       Reported by John Reiser <jreiser@BitWagon.com> [PR libc/1185].
+
+       * elf/dl-dst.h: Fix typo.
+       * elf/dl-open.c: Likewise.
+
+1999-06-26  Zack Weinberg  <zack@rabi.columbia.edu>
+
+       * elf/dl-libc.c: New file, provides three functions:
+       __libc_dlopen, __libc_dlclose, __libc_dlsym.
+       * include/dlfcn.h: Prototype them.  Prototype _dl_addr.
+       * elf/Makefile (routines): Add dl-libc.c.
+       * elf/dl-profstub.c (_dl_mcount_wrapper): Change type of
+       argument to void *.
+       * elf/ldsodefs.h: Change proto and use of _dl_mcount_wrapper to match.
+
+       * iconv/gconv.c: Include dlfcn.h.
+       * iconv/gconv_db.c: Likewise.
+       * malloc/mtrace.c: Likewise.  Don't include ldsodefs.h.
+
+       * iconv/gconv_int.h (struct __gconv_loaded_object): Change
+       `handle' to a void *.
+       (__gconv_find_func): Delete prototype.
+
+       * iconv/gconv_dl.c: Don't include ldsodefs.h.  Remove
+       dlerror_run and related functions and structs.  Use
+       __libc_dlopen, __libc_dlsym, __libc_dlclose.
+       * nss/nsswitch.c: Likewise.
+
+1999-06-28  Ulrich Drepper  <drepper@cygnus.com>
+
+       * sysdeps/unix/sysv/linux/gethostid.c: Test for gethostbyname_r
+       function correctly.
+
+       * sunrpc/getrpcport.c: Test for gethostbyname_r function
+       correctly.
+
+       * sunrpc/clnt_simp.c: Test for gethostbyname_r function correctly.
+
+       * sunrpc/clnt_gen.c: Test for gethostbyname_r and getprotobyname_r
+       functions correctly.
+
+       * inet/rexec.c (rexec): Test for gethostbyname_r result correctly.
+
+       * inet/rcmd.c: Test for gethostbyname_r result correctly.  Optimize
+       file reading a bit.
+
+       * sysdeps/generic/glob.c: Test for getpwnam_r result correctly.
+
+1999-06-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
+
+       * manual/string.texi (Copying and Concatenation): Mention that
+       strndup is a GNU extension.
+
+1999-06-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
+
+       * pwd/getpw.c (__getpw): Fix check for error return.
+
+1999-06-25  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
+
+       * elf/dl-deps.c (_dl_map_object_deps): When looking for the next
+       occurence of the aux object start with the current list entry, not
+       the new one.  Adjust tail pointer in the unique list.  Explain how
+       the meaning of the variables changes [PR libc/1168].
+
+1999-06-27  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
+
+       * sysdeps/m68k/fpu/Dist: New file.
+
+1999-06-26  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
+
+       * sysdeps/m68k/fpu/bits/mathinline.h: Move all libm internal
+       definitions...
+       * sysdeps/m68k/fpu/mathimpl.h: ... here.  New file.
+       * sysdeps/m68k/fpu/e_acos.c: Include "mathimpl.h".
+       * sysdeps/m68k/fpu/e_atan2.c: Likewise.
+       * sysdeps/m68k/fpu/e_fmod.c: Likewise.
+       * sysdeps/m68k/fpu/e_pow.c: Likewise.
+       * sysdeps/m68k/fpu/e_scalb.c: Likewise.
+       * sysdeps/m68k/fpu/s_ccos.c: Likewise.
+       * sysdeps/m68k/fpu/s_ccosh.c: Likewise.
+       * sysdeps/m68k/fpu/s_cexp.c: Likewise.
+       * sysdeps/m68k/fpu/s_csin.c: Likewise.
+       * sysdeps/m68k/fpu/s_csinh.c: Likewise.
+       * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
+       * sysdeps/m68k/fpu/s_llrint.c: Likewise.
+       * sysdeps/m68k/fpu/s_llrintf.c: Likewise.
+       * sysdeps/m68k/fpu/s_llrintl.c: Likewise.
+       * sysdeps/m68k/fpu/s_modf.c: Likewise.
+
+1999-06-25  Roland McGrath  <roland@baalperazim.frob.com>
+
+       * hurd.h, hurd/hurd/fd.h, hurd/hurd/port.h, hurd/hurd/signal.h,
+       hurd/hurd/threadvar.h, hurd/hurd/userlink.h: Instead of
+       _EXTERN_INLINE, use a macro specific to each file,
+       _HURD_FD_H_EXTERN_INLINE and the like.
+       * hurd/Makefile (inline-headers): New variable.
+       (routines): Remove hurdinline.  Add $(inlines).
+       (inlines): New variable.
+       ($(inlines:%=$(objpfx)%.c)): New static pattern rule to generate them.
+       (generated): Append those here.
+       * hurd/hurdinline.c: File removed.
+
+       * sysdeps/generic/glob64.c: Include <stddef.h> for NULL.
+
+       * mach/Versions (libc: GLIBC_2.0): Add __mig_strncpy.
+
+1999-06-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
+
+       * nscd/connections.c (nscd_run): Use correct type for optlen variable.
+
 1999-06-25  Ulrich Drepper  <drepper@cygnus.com>
 
        * string/bits/string2.h (strnlen): Remove extra prototype.