aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
AgeCommit message (Collapse)Author
2009-04-29* sysdeps/unix/sysv/linux/ifaddrs.c: Revert unintended 2008-08-12 comment ↵Jakub Jelinek
change. 2009-04-29 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/ifaddrs.c: Revert unintended 2008-08-12 comment change.
2009-04-27* sysdeps/ieee754/dbl-64/s_expm1.c: Set errno for overflow.Ulrich Drepper
* sysdeps/ieee754/flt-32/s_expm1f.c: Likewise. * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
2009-04-27* sysdeps/ieee754/k_standard.c (__kernel_standard): Pole errors inUlrich Drepper
atanh should set ERANGE.
2009-04-26* sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Remove inlineUlrich Drepper
from definition. * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Don't define label if it is not used. * elf/dl-profile.c (_dl_start_profile): Define real-type variant of gmon_hist_hdr and gmon_hdr structures and use them. * elf/dl-load.c (open_verify): Add temporary variable to avoid warning. * nscd/nscd_helper.c (get_mapping): Avoid casts to avoid warnings. * sunrpc/clnt_raw.c (clntraw_private_s): Use union in definition to avoid cast. * inet/rexec.c (rexec_af): Make sa2 a union to avoid warnings. * inet/rcmd.c (rcmd_af): Make from a union of the various needed types to avoid warnings. (iruserok_af): Use ss_family instead of casts. * gmon/gmon.c (write_hist): Define real-type variant of gmon_hist_hdr structure and use it. (write_gmon): Likewise for gmon_hdr. * sysdeps/unix/sysv/linux/readv.c: Avoid declaration of replacement function if we are not going to define it. * sysdeps/unix/sysv/linux/writev.c: Likewise. * inet/inet6_option.c (optin_alloc): Add temporary variable to avoid warning. * libio/strfile.h (struct _IO_streambuf): Use correct type and name of VTable element. * libio/iovsprintf.c: Avoid casts to avoid warnings. * libio/iovsscanf.c: Likewise. * libio/vasprintf.c: Likewise. * libio/vsnprintf.c: Likewise. * stdio-common/isoc99_vsscanf.c: Likewise. * stdlib/strfmon_l.c: Likewise. * debug/vasprintf_chk.c: Likewise. * debug/vsnprintf_chk.c: Likewise. * debug/vsprintf_chk.c: Likewise.
2009-04-26* sysdeps/unix/sysv/linux/libc_pthread_init.c (__libc_pthread_init):Ulrich Drepper
Avoid warning by using may_alias attribute on ptrhack.
2009-04-26* sysdeps/ieee754/dbl-64/s_tan.c (tan): Fix -Wsequence-point warnings.Ulrich Drepper
2009-04-26* sysdeps/i386/fpu/s_tan.S: Set errno for ±Inf.Ulrich Drepper
* sysdeps/i386/fpu/s_tanf.S: Likewise. * sysdeps/i386/fpu/s_tanl.S: Likewise. * sysdeps/ieee754/dbl-64/s_tan.c: Likewise. * sysdeps/ieee754/flt-32/s_tanf.c: Likewise. * sysdeps/x86_64/fpu/s_tanl.S: Likewise. * math/libm-test.inc: Add tests for errno after tan calls with ±Inf.
2009-04-26* sysdeps/ieee754/k_standard.c (__kernel_standard): Use correctUlrich Drepper
errno value vor pow(+-0,neg). * math/libm-test.inc (pow_test): Add tests for errno value for pole errors.
2009-04-26* sysdeps/i386/fpu/s_cos.S: Set errno for ±Inf.Ulrich Drepper
* sysdeps/i386/fpu/s_cosf.S: Likewise. * sysdeps/i386/fpu/s_cosl.S: Likewise. * sysdeps/i386/fpu/s_sin.S: Likewise. * sysdeps/i386/fpu/s_sinf.S: Likewise. * sysdeps/i386/fpu/s_sinl.S: Likewise. * sysdeps/ieee754/dbl-64/s_sin.c: Likewise. * sysdeps/ieee754/flt-32/s_cosf.c: Likewise. * sysdeps/ieee754/flt-32/s_sinf.c: Likewise. * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise. * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise. * sysdeps/x86_64/fpu/s_cosl.S: Likewise. * sysdeps/x86_64/fpu/s_sinl.S: Likewise. * math/libm-test.inc: Add tests for errno after sin/cos calls with ±Inf.
2009-04-25for lgamma should set errno to ERANGE, not EDOM.Ulrich Drepper
2009-04-25* sysdeps/ieee754/k_standard.c (__kernel_standard): Pole errorsUlrich Drepper
for lgamma should se errno to ERANGE, not EDOM. * math/libm-test.inc (lgamma_test): Check errno for pole errors.
2009-04-25* sysdeps/generic/stdint.h (WINT_MAX): Define as 2147483647 sinceUlrich Drepper
this is the maximum UCS4 value.
2009-04-24[BZ #10052]Ulrich Drepper
2009-04-23 Ulrich Drepper <drepper@redhat.com> [BZ #10052] * sysdeps/unix/make-syscalls.sh: Add rule to create target directory for dummy syscall rules. Patch by Chris Steinbroner <hesh@pobox.com>.
2009-04-24[BZ #10092]Ulrich Drepper
2009-04-23 Aurelien Jarno <aurelien@aurel32.net> [BZ #10092] * sysdeps/unix/sysv/linux/sys/mount.h: Define MNT_DETACH and MNT_EXPIRE.
2009-04-23* sysdeps/unix/sysv/linux/preadv.c: The kernel API changed. Adjust.Ulrich Drepper
* sysdeps/unix/sysv/linux/pwritev.c: Likewise. 2009-04-23 Jakub Jelinek <jakub@redhat.com> * sysdeps/posix/pwritev.c (PWRITEV): Fix up comment. Copy data from vector to temporary buffer and call PWRITEV after it instead of vice versa. * sysdeps/posix/preadv.c: Fix up comment. * misc/preadv.c: Likewise. * misc/preadv64.c: Likewise. * misc/pwritev.c: Likewise. * misc/pwritev64.c: Likewise. * misc/sys/uio.h (preadv, pwritev, preadv64, pwritev64): Likewise. 2009-04-23 Ulrich Drepper <drepper@redhat.com>
2009-04-23[BZ #9955]Ulrich Drepper
2009-04-23 Ulrich Drepper <drepper@redhat.com> [BZ #9955] * gshadow/Makefile: New file. * gshadow/Versions: New file. * gshadow/fgetsgent.c: New file. * gshadow/fgetsgent_r.c: New file. * gshadow/getsgent.c: New file. * gshadow/getsgent_r.c: New file. * gshadow/getsgnam.c: New file. * gshadow/getsgnam_r.c: New file. * gshadow/gshadow.h: New file. * gshadow/putsgent.c: New file. * gshadow/sgetsgent.c: New file. * gshadow/sgetsgent_r.c: New file. * gshadow/tst-gshadow.c: New file. * include/gshadow.h: New file. * Makeconfig (all-subdirs): Add gshadow. * Makefile (installed-headers): Add gshadow/gshadow.h. * nss/Makefile (databases): Add sgrp. * nss/Versions: Add gshadow functions as private exports. * nss/nsswitch.conf: Add gshadow entry. * nss/sgrp-lookup.c: New file. * nss/nss_files/files-parse.c: Add STRING_LIST macro. Rewrite parse_list to handle STRING_LIST and TRAILING_LIST_PARSER. * nss/nss_files/files-sgrp.c: New file. * sysdeps/generic/paths.h: Add _PATH_GSHADOW. * sysdeps/unix/sysv/linux/paths.h: Likewise.
2009-04-23* stdio-common/printf.h: Add missing const to register_printf_modifier.Ulrich Drepper
* stdio-common/reg-modifier.c: Likewise. 2009-04-22 Andrew Stubbs <ams@codesourcery.com> * sysdeps/sh/sh4/setjmp.S (__sigsetjmp): Adjust JB_SIZE when there is no FPU.
2009-04-21* sysdeps/unix/sysv/linux/sys/timex.h: Add definitions from kernelUlrich Drepper
headers up to 2.6.30.
2009-04-18* sysdeps/unix/sysv/linux/kernel-features.h: All supportedUlrich Drepper
architectures have preadv/pwritev in 2.6.30.
2009-04-17* sysdeps/posix/preadv.c: Reading of zero bytes is no error.Ulrich Drepper
* sysdeps/posix/readv.c: Likewise. Reported by Markus Armbruster <armbru@redhat.com>.
2009-04-15* sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.cvs/fedora-glibc-20090416T0610Ulrich Drepper
2009-04-15* sysdeps/unix/sysv/linux/getsysstats.c (next_line): Make sure therecvs/fedora-glibc-20090415T1619Ulrich Drepper
are always at least 4 bytes in the returned line. 2009-04-15 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Check __libc_use_alloca (8192), if the stack is too small use 512 bytes instead of 8K. Stop searching in /proc/stat after hitting first line not starting with cpu. (next_line): Truncate too long lines at buffer size * 3/4 instead of pretending there were line breaks inside of large lines.
2009-04-15* sysdeps/x86_64/mp_clz_tab.c: New file.Ulrich Drepper
2009-04-152009-03-17 Ryan S. Arnold <rsa@us.ibm.com>Ulrich Drepper
Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/fallocate.c: Handle old kernel headers. * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
2009-04-15* sysdeps/sh/libc-tls.c: New file.Ulrich Drepper
* sysdeps/sh/bits/setjmp.h (__jmp_buf): Give name to structure type.
2009-04-15__tls_get_addr for SH.Ulrich Drepper
2009-04-14Optimizations from GMP.Ulrich Drepper
* sysdeps/x86_64/add_n.S: New file. * sysdeps/x86_64/addmul_1.S: New file. * sysdeps/x86_64/lshift.S: New file. * sysdeps/x86_64/mul_1.S: New file. * sysdeps/x86_64/rshift.S: New file. * sysdeps/x86_64/sub_n.S: New file. * sysdeps/x86_64/submul_1.S: New file.
2009-04-14mpn_add_n for x86-64.Ulrich Drepper
2009-04-14* sysdeps/powerpc/powerpc32/elf/start.S: Ensure .data is non-empty. cvs/fedora-glibc-20090414T2104Jakub Jelinek
* sysdeps/powerpc/powerpc64/elf/start.S: Likewise. * sysdeps/sparc/sparc32/elf/start.S: Likewise. * sysdeps/sparc/sparc64/elf/start.S: Likewise. 2009-04-14 Jakub Jelinek <jakub@redhat.com> * sysdeps/powerpc/powerpc32/elf/start.S: Ensure .data is non-empty. * sysdeps/powerpc/powerpc64/elf/start.S: Likewise. * sysdeps/sparc/sparc32/elf/start.S: Likewise. * sysdeps/sparc/sparc64/elf/start.S: Likewise.
2009-04-14* sysdeps/unix/sysv/linux/kernel-features.h: SH also hasUlrich Drepper
preadv/pwritev.
2009-04-14* sysdeps/x86-64/strrchr.S: New file.Ulrich Drepper
2009-04-10* sysdeps/x86_64/rawmemchr.S: New file.Ulrich Drepper
2009-04-10* stdio-common/vfprintf.c (vfprintf): Slightly more compact code.Ulrich Drepper
2009-04-09function if it is not defined. Add some necessary casts.Ulrich Drepper
2009-04-09* sysdeps/unix/sysv/linux/preadv.c: Avoid prototype for staticUlrich Drepper
function if it is not defined. * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
2009-04-09* sysdeps/unix/sysv/linux/kernel-features.h: SPARC and IA64 alsoUlrich Drepper
have preadv/pwritev in 2.6.30.
2009-04-08* sysdeps/unix/sysv/linux/preadv64.c (PREAD): Use __libc_pread64Ulrich Drepper
to avoid PLT slot.
2009-04-08* malloc/malloc.c (_int_realloc): Add parameter with old blockUlrich Drepper
size. Remove duplicated test. Don't handle mmap'ed blocks here. Adjust all callers. * malloc/hooks.c (realloc_check): Adjust _int_realloc call.
2009-04-07* sysdeps/x86_64/strchrnul.S: New file.cvs/fedora-glibc-20090408T1602Ulrich Drepper
depending libcrypt on -lfreebl3.
2009-04-07* sysdeps/unix/sysv/linux/kernel-features.h: Power also hasUlrich Drepper
preadv/pwritev in 2.6.30.
2009-04-07* string/stratcliff.c (do_test): Add memchr tests..Ulrich Drepper
* sysdeps/x86_64/memchr.S: Fix handling of end of buffer after first read quad word.
2009-04-07* sysdeps/x86_64/memchr.S: New file.Ulrich Drepper
2009-04-06* sysdeps/x86_64/strchr.S: Likewise.Ulrich Drepper
2009-04-05* sysdeps/x86_64/strlen.S: Optimize by using SSE2 instructions.Ulrich Drepper
2009-04-03* misc/Makefile (routines): Add preadv, preadv64, pwritev, pwritev64.Ulrich Drepper
* misc/Versions: Export preadv, preadv64, pwritev, pwritev64 for GLIBC_2.10. * misc/sys/uio.h: Declare preadv, preadv64, pwritev, pwritev64. * sysdeps/unix/sysv/linux/kernel-features.h: Add entries for preadv and pwritev. * misc/preadv.c: New file. * misc/preadv64.c: New file. * misc/pwritev.c: New file. * misc/pwritev64.c: New file. * sysdeps/posx/preadv.c: New file. * sysdeps/posx/preadv64.c: New file. * sysdeps/posx/pwritev.c: New file. * sysdeps/posx/pwritev64.c: New file. * sysdeps/unix/sysv/linux/preadv.c: New file. * sysdeps/unix/sysv/linux/preadv64.c: New file. * sysdeps/unix/sysv/linux/pwritev.c: New file. * sysdeps/unix/sysv/linux/pwritev64.c: New file. * sysdeps/unix/sysv/linux/wordsize-64/preadv64.c: New file. * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.c: New file.
2009-04-03* sysdeps/unix/sysv/linux/readv.c (__libc_readv): Fix calling ofUlrich Drepper
compatibility code. * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise. 2009-04-01 Ulrich Drepper <drepper@redhat.com>
2009-04-03* sysdeps/unix/sysv/linux/kernel-features.h: DefineUlrich Drepper
__ASSUME_COMPLETE_READV_WRITEV. * sysdeps/unix/sysv/linux/readv.c: No need for userlevel fallback with modern kernels. * sysdeps/unix/sysv/linux/writev.c: Likewise. * sysdeps/posix/readv.c: Since read is a cancellation point we have to free a possible malloced buffer in case of cancellation. * sysdeps/posix/writev.c: Likewise for write. c2009-04-01 Ulrich Drepper <drepper@redhat.com>
2009-04-03Add missing protocol numbers.Ulrich Drepper
* sysdeps/unix/sysv/linux/bits/socket.h: Add missing protocol numbers.
2009-04-01* sysdeps/unix/sysv/linux/sys/eventfd.h (EFD_SEMAPHORE): Define.Ulrich Drepper
2009-04-01* elf/dl-open.c: Keep track of used name spaces and only iterate overcvs/fedora-glibc-20090401T0935Ulrich Drepper
those which are used. * elf/dl-addr.c: Likewise. * elf/dl-caller.c: Likewise. * elf/dl-fini.c: Likewise. * elf/dl-iteratephdr.c: Likewise. * elf/dl-libc.c: Likewise. * elf/dl-load.c: Likewise. * elf/dl-support.c: Likewise. * elf/dl-sym.c: Likewise. * elf/rtld.c: Likewise. * sysdeps/generic/ldsodefs.h: Likewise.