aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2007-07-23* sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: FixUlrich Drepper
compilation when unconditionally using private futexes. * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Likewise. * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: Likewise. * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Likewise. * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Likewise.
2007-07-23Fix compilation when unconditionally using private futexes.Ulrich Drepper
2007-07-23[BZ #3665, BZ #4126, BZ #4178, BZ #4610]Roland McGrath
* hurd/getdport.c: Add missing copyright year update. [BZ #3665] [BZ #4610] [BZ #4178] [BZ #4126] * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Define alias to __sigsuspend.
2007-07-22* sysdeps/mach/hurd/bits/fcntl.h [__USE_GNU] (O_CLOEXEC): New macro.Roland McGrath
* hurd/port2fd.c (_hurd_port2fd): Implement O_CLOEXEC.
2007-07-222007-07-22 Roland McGrath <roland@frob.com>Roland McGrath
* sysdeps/mach/hurd/bits/fcntl.h [__USE_GNU] (O_CLOEXEC): New macro. * hurd/port2fd.c (_hurd_port2fd): Implement O_CLOEXEC.
2007-07-22* login/utmp_file.c (setutent_file): Use O_CLOEXEC if possible.Ulrich Drepper
2007-07-22* libio/fileops.c (_IO_new_file_fopen): Recognize 'e' flag and setUlrich Drepper
O_CLOEXEC is needed. * nis/nss_compat/compat-grp.c: Use 'e' flag when opening file. Avoid additional fcntl to set O_CLOEXEC if not needed. * nis/nss_compat/compat-initgroups.c: Likewise. * nis/nss_compat/compat-pwd.c: Likewise. * nis/nss_compat/compat-spwd.c: Likewise.
2007-07-22(_IO_new_file_fopen): Recognize 'e' flag and set O_CLOEXEC is needed.Ulrich Drepper
2007-07-22* manual/errno.texi: Change ECANCELED value to 119.Roland McGrath
2007-07-22* mach/lock-intern.h: Include <sys/cdefs.h>.Roland McGrath
* sysdeps/mach/hurd/sigaction.c (__sigaction): Check ACT != NULL before reading A. * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Define alias to __sigsuspend. * sysdeps/mach/i386/sysdep.h: Include <dl-sysdep.h> and <tls.h>. 2006-06-13 Thomas Schwinge <tschwinge@gnu.org> * sysdeps/mach/hurd/tls.h: Change `ASSEMBLER' conditional to `__ASSEMBLER__'. * sysdeps/mach/hurd/i386/tls.h: Likewise.
2007-07-222006-06-13 Thomas Schwinge <tschwinge@gnu.org>Roland McGrath
* sysdeps/mach/hurd/tls.h: Change `ASSEMBLER' conditional to `__ASSEMBLER__'. * sysdeps/mach/hurd/i386/tls.h: Likewise.
2007-07-21* nscd/nscd_helper.c (get_mapping): Use MSG_CMSG_CLOEXEC forUlrich Drepper
descriptor received from nscd.
2007-07-21* sysdeps/unix/sysv/linux/bits/socket.h: Define MSG_CMSG_CLOEXEC.Ulrich Drepper
* sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_CLOEXEC. * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise. * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise. * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise. * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise. * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
2007-07-21Define MSG_CMSG_CLOEXEC.Ulrich Drepper
2007-07-20[BZ #4816] Jakub Jelinek
* manual/signal.texi (Non-atomic Example): Make memory var volatile. [BZ #4816] * manual/signal.texi (Non-atomic Example): Make memory var volatile.
2007-07-20[BZ #4813] Jakub Jelinek
* login/forkpty.c (forkpty): Close master and slave fds on fork failure. Patch by Mikulas Patocka <mikulas@artax.karlin.mff.cuni.cz>. 2007-07-20 Jakub Jelinek <jakub@redhat.com> [BZ #4813] * login/forkpty.c (forkpty): Close master and slave fds on fork failure. Patch by Mikulas Patocka <mikulas@artax.karlin.mff.cuni.cz>.
2007-07-19Update.Ulrich Drepper
2007-07-19* include/features.h (__USE_ISOC95): New define.Ulrich Drepper
* wcsmbs/wchar.h (fwprintf, fwscanf, wprintf, wscanf, swprintf, swscanf, vfwprintf, vwprintf, vswprintf, fwide): Define even for -std=iso9899:199409. * CONFORMANCE: Remove comments about unsupported AMD1.
2007-07-19* sysdeps/ia64/sched_cpucount.c: New file.Ulrich Drepper
* sysdeps/powerpc/sched_cpucount.c: New file. 2007-07-17 Jakub Jelinek <jakub@redhat.com>
2007-07-19* sysdeps/unix/sysv/linux/bits/sched.h (__sched_cpucount): AddUlrich Drepper
__BEGIN_DECLS/__END_DECLS around the prototype. * bits/sched.h (__sched_cpucount): Likewise. Make second argument pointer to const cpu_set_t.
2007-07-19* bits/types.h: Don't include stddef.h, don't define __need_size_t.Ulrich Drepper
* signal/signal.h <__USE_BSD || __USE_XOPEN_EXTENDED>: Define __need_size_t and include stddef.h. * sysvipc/sys/msg.h: Likewise. * posix/sched.h: Likewise. * hurd/hurd/signal.h (__need_size_t): Define. * CONFORMANCE: ctype.h and wctype.h no longer define size_t, neither does signal.h in pedantic ISO C namespaces. stdio.h no longer defines wint_t or wchar_t.
2007-07-19* libio/libioP.h (_IO_acquire_lock_clear_flags2_fct): New function.Ulrich Drepper
* debug/vfwprintf_chk.c (__vfwprintf_chk): Use _IO_acquire_lock_clear_flags2 instead of _IO_acquire_lock. * debug/vprintf_chk.c (__vprintf_chk): Likewise. * debug/vwprintf_chk.c (__vwprintf_chk): Likewise. * debug/vfprintf_chk.c (__vfprintf_chk): Likewise. * debug/fwprintf_chk.c (__fwprintf_chk): Likewise. * debug/printf_chk.c (__printf_chk): Likewise. * debug/fprintf_chk.c (__fprintf_chk): Likewise. * debug/wprintf_chk.c (__wprintf_chk): Likewise. * sysdeps/pthread/bits/stdio-lock.h (_IO_acquire_lock_clear_flags2): Define.
2007-07-19* bits/confname.h (_CS_POSIX_V6_WIDTH_RESTRICTED_ENVS): Define.Ulrich Drepper
* posix/getconf.c (vars): Add POSIX_V6_WIDTH_RESTRICTED_ENVS.
2007-07-19[BZ #4792]Ulrich Drepper
* stdlib/stdlib.h (realloc): Remove __attribute_malloc__. * malloc/malloc.h (realloc): Likewise. 2007-07-16 Jakub Jelinek <jakub@redhat.com>
2007-07-19* libio/iopopen.c (_IO_new_proc_open): Don't close child_std_endUlrich Drepper
if one of proc_file_chain streams has that fileno. * stdio-common/Makefile (tests): Add tst-popen2. * stdio-common/tst-popen2.c: New test.
2007-07-19(_IO_new_proc_open): Don't close child_std_end if one of proc_file_chain ↵Ulrich Drepper
streams has that fileno.
2007-07-16* elf/ldconfig.c: Allow GPLv2 or any later version.Roland McGrath
* elf/readlib.c: Likewise. * elf/chroot_canon.c: Likewise. * elf/cache.c: Likewise. * nscd/mem.c: Likewise. * nscd/getpwuid_r.c: Likewise. * nscd/grpcache.c: Likewise. * nscd/aicache.c: Likewise. * nscd/getsrvbynm_r.c: Likewise. * nscd/nscd.c: Likewise. * nscd/servicescache.c: Likewise. * nscd/getsrvbypt_r.c: Likewise. * nscd/initgrcache.c: Likewise. * nscd/gethstbyad_r.c: Likewise. * nscd/gethstbynm2_r.c: Likewise. * nscd/getgrnam_r.c: Likewise. * nscd/nscd_setup_thread.c: Likewise. * nscd/getpwnam_r.c: Likewise. * nscd/gai.c: Likewise. * nscd/connections.c: Likewise. * nscd/dbg_log.c: Likewise. * nscd/cache.c: Likewise. * nscd/hstcache.c: Likewise. * nscd/nscd_conf.c: Likewise. * nscd/getgrgid_r.c: Likewise. * nscd/pwdcache.c: Likewise. * catgets/gencat.c: Likewise. * locale/programs/linereader.h: Likewise. * locale/programs/locarchive.c: Likewise. * locale/programs/ld-paper.c: Likewise. * locale/programs/locfile-kw.h: Likewise. * locale/programs/ld-address.c: Likewise. * locale/programs/xmalloc.c: Likewise. * locale/programs/ld-time.c: Likewise. * locale/programs/localedef.c: Likewise. * locale/programs/simple-hash.c: Likewise. * locale/programs/xstrdup.c: Likewise. * locale/programs/ld-numeric.c: Likewise. * locale/programs/locfile-kw.gperf: Likewise. * locale/programs/ld-collate.c: Likewise. * locale/programs/charmap-kw.gperf: Likewise. * locale/programs/charmap.h: Likewise. * locale/programs/charmap-kw.h: Likewise. * locale/programs/config.h: Likewise. * locale/programs/locfile.c: Likewise. * locale/programs/ld-ctype.c: Likewise. * locale/programs/charmap.c: Likewise. * locale/programs/ld-messages.c: Likewise. * locale/programs/repertoire.h: Likewise. * locale/programs/locale.c: Likewise. * locale/programs/ld-name.c: Likewise. * locale/programs/linereader.c: Likewise. * locale/programs/locfile.h: Likewise. * locale/programs/3level.h: Likewise. * locale/programs/ld-monetary.c: Likewise. * locale/programs/ld-measurement.c: Likewise. * locale/programs/charmap-dir.c: Likewise. * locale/programs/ld-identification.c: Likewise. * locale/programs/localedef.h: Likewise. * locale/programs/charmap-dir.h: Likewise. * locale/programs/repertoire.c: Likewise. * locale/programs/simple-hash.h: Likewise. * locale/programs/ld-telephone.c: Likewise. * locale/programs/locale-spec.c: Likewise. * locale/programs/locfile-token.h: Likewise. * posix/getconf.c: Likewise. * iconv/dummy-repertoire.c: Likewise. * iconv/iconv_charmap.c: Likewise. * iconv/iconvconfig.c: Likewise. * iconv/iconv_prog.c: Likewise. * malloc/memusagestat.c: Likewise. * sysdeps/unix/sysv/linux/nscd_setup_thread.c: Likewise.
2007-07-15* sysdeps/sh/bsd-setjmp.S (setjmp): Use correct argument registers.Roland McGrath
* sysdeps/sh/bsd-_setjmp.S (_setjmp): Likewise. * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Do correct sanity check for the first argument.
2007-07-13* configure: Regenerated.Roland McGrath
2007-07-132007-07-13 Roland McGrath <roland@redhat.com>Roland McGrath
* configure: Regenerated.
2007-07-12* sysdeps/powerpc/powerpc32/power6/memset.S: Update comments.Ulrich Drepper
Specify .machine power6 to get ISA-V2.0 branch hints. Unroll loops and avoid branch misspredicts for > 31 bytes memset case. * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise. Remove toc ref to __cache_line_size. * sysdeps/powerpc/powerpc32/power4/memcmp.S: Specify .machine power4 to get ISA-V2.0 branch hints. * sysdeps/powerpc/powerpc32/power4/memcpy.S: Likewise * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise. * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise. * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise. * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise. Remove toc ref to __cache_line_size. * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include math_ldbl_opt.h.
2007-07-12[BZ #4775, BZ #4776]Ulrich Drepper
2007-07-12 Jakub Jelinek <jakub@redhat.com> [BZ #4775] * math/tgmath.h (__tgmath_real_type_sub): Formatting. (__tgmath_real_type): Fix if expr is const int or other const qualified integral type. (__TGMATH_UNARY_REAL_ONLY): Rewritten to avoid using statement expressions and handle const qualified arguments. (__TGMATH_BINARY_FIRST_REAL_ONLY, __TGMATH_UNARY_REAL_IMAG, __TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise. (__TGMATH_UNARY_REAL_RET_ONLY): Rewritten to avoid using statement expressions. (__TGMATH_BINARY_REAL_ONLY, __TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY, __TGMATH_TERNARY_REAL_ONLY, __TGMATH_BINARY_REAL_IMAG): Likewise. (__TGMATH_UNARY_IMAG): Define. (conj, cproj): Use __TGMATH_UNARY_IMAG macro. * math/Makefile (tests): Add test-tgmath2. (CFLAGS-test-tgmath2.c): Add. * math/test-tgmath.c (fy, dy, ly, fz, dz, lz, count_cdouble, count_cfloat, count_cldouble): New variables. (NCCALLS): Define. (main): Check number of complex calls as well. (F(compile_test)): Add complex tests and tests with const qualified arguments. (y, z, ccount): Define. (F(cacos), F(casin), F(catan), F(ccos), F(csin), F(ctan), F(cacosh), F(casinh), F(catanh), F(ccosh), F(csinh), F(ctanh), F(cexp), F(clog), F(csqrt), F(cpow), F(cabs), F(carg), F(creal), F(cimag), F(conj), F(cproj)): New functions. * math/test-tgmath2.c: New test. 2007-07-11 Jakub Jelinek <jakub@redhat.com> [BZ #4776] * elf/dl-load.c (_dl_rtld_di_serinfo): Output / in LD_LIBRARY_PATH, RPATH etc. as "/" rather than "", don't segfault on empty paths, instead output ".". * dlfcn/Makefile (distribute): Add glreflib3.c. (module-names): Add glreflib3. ($(objpfx)tst-dlinfo.out): Depend on glreflib3.so rather than glreflib1.so. (LDFLAGS_glreflib3.so): New. * dlfcn/tst-dlinfo.c (do_test): Load glreflib3.so instead of glreflib1.so. * dlfcn/glreflib3.c: New file. * intl/finddomain.c (_nl_find_domain): If _nl_explode_name returned -1, return NULL. * intl/explodename.c (_nl_explode_name): Return -1 if _nl_normalize_codeset failed.
2007-07-10[BZ #4773]Ulrich Drepper
2007-07-10 Ulrich Drepper <drepper@redhat.com> [BZ #4773] * time/strptime_l.c (__strptime_internal): Implement greedy matching of weekday and month names.
2007-07-10Test of greedy matching in strptime.Ulrich Drepper
2007-07-10* elf/elf.h (NT_GNU_ABI_TAG): New macro.Roland McGrath
(ELF_NOTE_ABI): Use it. (NT_GNU_HWCAP, NT_GNU_BUILD_ID): New macros.
2007-07-102007-07-09 Roland McGrath <roland@redhat.com>Roland McGrath
* elf/elf.h (NT_GNU_ABI_TAG): New macro. (ELF_NOTE_ABI): Use it. (NT_GNU_HWCAP, NT_GNU_BUILD_ID): New macros.
2007-07-09* sysdeps/x86_64/cacheinfo.c (intel_02_known): Add new entries.Ulrich Drepper
* sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
2007-07-08* stdio-common/vfscanf.c (_IO_vfscanf): Add additional test for EOFUlrich Drepper
in loop to look for conversion specifier to avoid testing of wrong errno value. * stdio-common/Makefile (tests): Add bug18, bug18a, bug19, bug19a. * stdio-common/bug18a.c: New file. * stdio-common/bug19.c: New file. * stdio-common/bug19a.c: New file.
2007-07-07* libio/wstrops.c (_IO_wstr_underflow): Clear errno beforeUlrich Drepper
returning WEOF. * stdio-common/Makefile (tests): Add bug18a. * stdio-common/bug18a.c: New file.
2007-07-07[BZ #4745]Ulrich Drepper
2007-07-07 Ulrich Drepper <drepper@redhat.com> [BZ #4745] * libio/strops.c (_IO_str_underflow): Clear errno before returning EOF. * stdio-common/Makefile (tests): Add bug18. * stdio-common/bug18.c: New file.
2007-07-07* sysdeps/sh/tls.h: Include stdlib.h, list.h, sysdep.h andUlrich Drepper
kernel-features.h.
2007-07-07Include stdlib.h, list.h, sysdep.h and kernel-features.h.Ulrich Drepper
2007-07-05* Makeconfig ($(common-objpfx)gnu/lib-names.stmp): Use LC_ALL=C whenRoland McGrath
running awk script.
2007-07-04whitespaceRoland McGrath
2007-07-04Fix typo.Ulrich Drepper
2007-07-04* elf/dl-sysdep.c (_dl_important_hwcaps): Add integer overflow check.Ulrich Drepper
* elf/dl-minimal.c (__libc_memalign): Likewise. Handle malloc (0). Return NULL if mmap failed instead of asserting it does not. (calloc): Check for integer overflow. * elf/dl-minimal.c (__strtoul_internal): Fix parsing of numbers bigger than LONG_MAX / 10.
2007-07-03[BZ #4702]Ulrich Drepper
2007-07-03 Jakub Jelinek <jakub@redhat.com> [BZ #4702] * nis/nss-default.c: Include errno.h. (init): Preserve errno.
2007-07-02* sysdeps/unix/sysv/linux/bits/socket.h (PF_UNIX): Update comment.Ulrich Drepper
2007-06-30* sysdeps/unix/sysv/linux/bits/socket.h: Add PF_RXRPC and AF_RXRPC.Ulrich Drepper
2007-06-29 Martin Schwidefsky <schwidefsky@de.ibm.com> * sysdeps/unix/sysv/linux/bits/socket.h: Add PF_IUCV and AF_IUCV. 2007-06-29 Martin Schwidefsky <schwidefsky@de.ibm.com>
2007-06-30007-06-29 Martin Schwidefsky <schwidefsky@de.ibm.com>Ulrich Drepper
* sysdeps/s390/dl-procinfo.c: New file. * sysdeps/s390/dl-procinfo.h: New file. * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: New file.