]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - ChangeLog
Fix a few error cases in *name4_r lookup handling.
[thirdparty/glibc.git] / ChangeLog
index c82beaf87a084cd8d3ff24f051eeb002ee6a581e..7ae5b9f2745042b7a51d91726c9ce3dc6a46e342 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,303 @@
+2009-12-10  Ulrich Drepper  <drepper@redhat.com>
+
+       [BZ #11000]
+       * nis/nss_nis/nis-hosts.c (_nss_nis_gethostbyname4_r): Always set
+       *herrnop before returning.
+       * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r):
+       Likewise.
+       * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r): Handle
+       TRYAGAIN errors separately.
+       * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix error handling of
+       *name4_r after functions.
+
+2009-12-09  Ulrich Drepper  <drepper@redhat.com>
+
+       [BZ #11046]
+       * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Fix kernel
+       version check.
+
+2009-11-05  Bruno Haible  <bruno@clisp.org>
+
+       [BZ #11056]
+       * posix/unistd.h (execve, fexecve, execv, execvp, execvpe): Mark the
+       argv argument as non-NULL.
+       (execle, execl, execlp): Mark the first ARG argument as non-NULL.
+
+-2009-12-08  Ulrich Drepper  <drepper@redhat.com>
+
+       * sysdeps/unix/sysv/linux/bits/socket.h: Define mmsghdr and declare
+       recvmmsg.
+       * sysdeps/unix/sysv/linux/syscalls.list: Add entry for recvmmsg.
+       * sysdeps/unix/sysv/linux/Versions: Add recvmmsg for GLIBC_2.12.
+
+2009-12-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
+
+       * sysdeps/s390/s390-64/dl-trampoline.S: Add CFI for the call saved
+       registers.
+       * sysdeps/s390/s390-32/dl-trampoline.S: Likewise.
+       * sysdeps/s390/s390-32/s390-mcount.S: Add CFI.
+       * sysdeps/s390/s390-64/s390x-mcount.S: Add CFI.
+
+2009-11-30  Ulrich Drepper  <drepper@redhat.com>
+
+       * sysdeps/unix/sysv/linux/bits/sched.h: Define SCHED_IDLE and
+       SCHED_RESET_ON_FORK.
+
+2009-11-26  Ulrich Drepper  <drepper@redhat.com>
+
+       * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Avoid code
+       only used on truly ancient kernel if configuration requires a more
+       recent kernel.
+
+2009-11-24  Ulrich Drepper  <drepper@redhat.com>
+
+       [BZ #3662]
+       * stdlib/random_r.c: Fix comments for __initstate_r and __setstate_r.
+       Patch by Christopher Neufeld <glibcbugs0000@cneufeld.ca>.
+
+       * sysdeps/unix/grantpt.c (pts_name): Take additional parameter,
+       pass it on to __ptsname_internal.
+       (grantpt): Pass stat64 pointer to pts_name.  Remove stat call here.
+       * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): New function.
+       All the code from __ptsname_r but take additional parameter.  Use that
+       instead of pointer to local stat64 variable.
+       (__ptsname_r): Call __ptsname_internal with pointer to local stat64
+       variable.
+       * include/stdlib.h: Declare __ptsname_internal.
+
+       * sysdeps/unix/grantpt.c (grantpt): Use CLOSE_ALL_FDS is available
+       before the exec.
+       * sysdeps/unix/sysv/linux/grantpt.c: New file.
+       * login/programs/pt_chown.c (main): Don't print message on errors
+       when doing real work.
+
+       * sysdeps/unix/grantpt.c (grantpt): Only get tty group information
+       once.
+
+       * csu/elf-init.c (__libc_csu_irel): New function.  Code to perform
+       irel relocations split out from...
+       (__libc_csu_init): ...here.
+       * csu/libc-start.c [!SHARED]: Call __libc_csu_irel early.
+
+2009-11-23  Andreas Schwab  <schwab@redhat.com>
+
+       * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Use struct timespec
+       for timestamps also if __USE_XOPEN2K8.
+       * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
+       * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
+       * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
+       * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
+
+2009-11-22  Ulrich Drepper  <drepper@redhat.com>
+
+       * nscd/connections.c (restart): Try harder to re-exec.
+
+       * sunrpc/create_xid.c (_create_xid): Reinitialize state after fork.
+
+       * sysdeps/unix/sysv/linux/ntp_gettimex.c:  New file.
+       * sysdeps/unix/sysv/linux/Makefile: Add rules to build ntp_gettimex.
+       * sysdeps/unix/sysv/linux/Versions: Export ntp_gettimex for GLIBC_2.12.
+       * sysdeps/unix/sysv/linux/sys/timex.h (ntptimeval): Add tai member and
+       some placeholders.  Redirect ntp_gettime to ntp_gettimex.
+       * sysdeps/unix/sysv/linux/ntp_gettime.c: Adjust for header change.
+
+       * sysdeps/unix/sysv/linux/sys/timex.h (MOD_TAI, MOD_MICRO, MOD_NANO):
+       Define.
+       (STA_RONLY): Add STA_NANO, STA_MODE, and STA_CLK.
+
+2009-11-18  H.J. Lu  <hongjiu.lu@intel.com>
+
+       [BZ #10162]
+       * sysdeps/ia64/memchr.S: Don't use a simple loop on data shorter
+       than software pipeline.  Properly recover from shorter read.
+
+2009-11-19  Ulrich Drepper  <drepper@redhat.com>
+
+       [BZ #10958]
+       * libio/libio.h (_IO_getwc_unlocked): Check for _wide_data being
+       initialized before using it.
+       (_IO_putwc_unlocked): Likewise.
+
+       [BZ #10918]
+       * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_ISSET_S): Use __const
+       in cast to not throw away const-ness of parameters.
+       (__CPU_EQUAL_S): Likewise.
+       (__CPU_OP_S): Likewise.
+
+       * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Introduce new symbol
+       F_OWNER_PGRP and mark F_OWNER_GID obsolete.  The kernel people made
+       this gratuitous change and we have to keep compatibility.
+       * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
+       * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
+       * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
+       * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
+       * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
+       * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
+
+2009-11-17  Ulrich Drepper  <drepper@redhat.com>
+
+       * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Change misleading names
+       of parameters of sync_file_range.
+       * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
+       * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
+       * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
+       * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
+       * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
+       * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
+
+2009-11-16  Jakub Jelinek  <jakub@redhat.com>
+
+       * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
+       Implement using sync_file_range2 syscall if __NR_sync_file_range2
+       is defined.
+       * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c: New
+       file.
+
+2009-11-17  Paolo Bonzini  <bonzini@gnu.org>
+
+       * posix/bug-regex30.c: New file.
+       * posix/Makefile: Add rules to build and run bug-regex30.
+       * posix/regcomp.c (re_compile_fastmap_iter): Add all multibyte
+       character lead bytes when there is a range in a COMPLEX_BRACKET.
+       Reported by Oleg Bylatov.
+
+2009-11-17  Ulrich Drepper  <drepper@redhat.com>
+
+       [BZ #10969]
+       * locale/duplocale.c (__duplocale): Handle LC_GLOBAL_LOCALE special.
+       * locale/tst-duplocale.c: New file.
+       * locale/Makefile (tests): Add tst-duplocale.
+
+       [BZ #10968]
+       * locale/langinfo.h (_NL_LOCALE_NAME): Correct definition.
+       Patch by Bruno Haible <bruno@clisp.org>.
+       * locale/tst-locname.c: New file.
+       * locale/Makefile (tests): Add tst-locname.
+
+       [BZ #10972]
+       * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Add new MADV_*
+       constants from recent kernels.
+       * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise.
+       * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
+       * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
+       * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
+       * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
+       * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
+
+2009-11-09  H.J. Lu  <hongjiu.lu@intel.com>
+
+       [BZ #10162]
+       * sysdeps/ia64/memchr.S: Use a simple loop on data shorter than
+       software pipeline.
+
+2009-11-09  Mike Frysinger  <vapier@gentoo.org>
+
+       * sysdeps/unix/sysv/linux/i386/fallocate.c: Include errno.h.
+       (fallocate): Return ENOSYS if __NR_fallocate is not defined.
+       * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
+
+2009-11-06  Mike Frysinger  <vapier@gentoo.org>
+
+       * posix/bug-regex29.c: Include stdio.h.
+
+2009-11-14  Ulrich Drepper  <drepper@redhat.com>
+
+       [BZ #10939]
+       * Versions.def: Define GLIBC_2.12 for libc.
+       * manual/errno.texi: Add ERFKILL entry.
+       * sysdeps/unix/sysv/linux/Versions: Add new errlist compat entries
+       for 2.12.
+       * sysdeps/unix/sysv/linux/bits/errno.h: Define ERFKILL is not done.
+       * sysdeps/unix/sysv/linux/sparc/bits/errno.h: Likewise.
+
+       * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Update F_SETOWN_EX and
+       F_GETOWN_EX definitions according to corrected kernel definitions.
+       * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
+       * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
+       * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
+       * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
+       * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
+       * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
+
+2009-11-12  Ulrich Drepper  <drepper@redhat.com>
+
+       * version.h: Bump for 2.12 development.
+
+2009-11-10  Andreas Schwab  <schwab@redhat.com>
+
+       * resolv/mapv4v6hostent.h (map_v4v6_hostent): Return non-zero if
+       out of buffer space.
+       * resolv/nss_dns/dns-host.c (getanswer_r): Check for
+       map_v4v6_hostent running out of space.
+
+2009-11-10  Ulrich Drepper  <drepper@redhat.com>
+
+       * string/bits/string3.h (memset): If the second parameter is constant
+       and zero there is likely no transposition.
+       Patch by Caolan McNamara <caolanm@redhat.com.
+
+2009-11-04  Philippe De Muyter  <phdm@macqel.be>
+
+       * sysdeps/powerpc/fpu/e_sqrt.c: Fix spelling of (Newton-)Raphson.
+       * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
+
+2009-10-30  Holger Hans Peter Freyther  <zecke@selfish.org>
+
+       * malloc/memusagestat.c (main): Fix spelling in an error message.
+
+2009-11-01  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * elf/dl-sym.c (do_sym): Properly handle STT_GNU_IFUNC symbols.
+       * elf/ifuncmain3.c (main): Test dlopen STT_GNU_IFUNC symbol.
+
+2009-11-03  Andreas Schwab  <schwab@redhat.com>
+
+       * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
+       readahead.
+
+2009-11-03  Jakub Jelinek  <jakub@redhat.com>
+
+       * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Don't
+       relocate opd entry when resolving prelink conflicts.
+
+2009-11-04  Jakub Jelinek  <jakub@redhat.com>
+
+       * misc/sys/uio.h (preadv, pwritev): Fix type of last argument
+       when -D_FILE_OFFSET_BITS=64.
+
+       * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h (fallocate): Fix types
+       of last two arguments when -D_FILE_OFFSET_BITS=64.
+       * sysdeps/unix/sysv/linux/i386/bits/fcntl.h (fallocate): Likewise.
+       * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (fallocate): Likewise.
+       * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h (fallocate): Likewise.
+       * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h (fallocate): Likewise.
+       * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (fallocate): Likewise.
+       * sysdeps/unix/sysv/linux/sh/bits/fcntl.h (fallocate): Likewise.
+
+2009-11-03  Andreas Schwab  <schwab@linux-m68k.org>
+
+       [BZ #4457]
+       * sysdeps/generic/libgcc_s.h: New file.
+       * sysdeps/generic/framestate.c: Include it and use LIBGCC_S_SO.
+
+2009-11-01  Ulrich Drepper  <drepper@redhat.com>
+
+       * malloc/hooks.c (free_check): Restore locking and call _int_free
+       appropriately.
+
 2009-10-30  Ulrich Drepper  <drepper@redhat.com>
 
+       * version.h (VERSION): Bump for 2.11 release.
+       * include/features.h (__GLIBC_MINOR__): Bump to 11.
+
+       * elf/tst-execstack.c (do_test): Add cast to avoid warning.
+
+       * stdio-common/scanf13.c (main): Remove unused variable wbuf.
+
+       * stdlib/tst-strtol.c (tests): Mark one more constant as unsigned
+       to avoid warning.
+       * stdlib/tst-strtoll.c (tests): Likewise.
+
        [BZ #9986]
        * time/strftime_l.c (__strftime_internal): Allow %OC.