aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-04-24[BZ #10093]cvs/fedora-glibc-20090424T1908Ulrich Drepper
* iconv/gconv_simple.c (BODY for UTF-8 to INTERNAL): Don't accept UTF-16 surrogates.
2009-04-24* locale/programs/locarchive.c (enlarge_archive): Conserve addressUlrich Drepper
space when temporarily mapping the whole content of the old file.
2009-04-24[BZ #10100]Ulrich Drepper
2009-04-24 Ulrich Drepper <drepper@redhat.com> [BZ #10100] * misc/hsearch_r.c (hsearch_r): Add back ensurance that hval is not zero.
2009-04-24* iconvdata/sjis.c (BODY): Don't advance inptr beforeUlrich Drepper
STANDARD_FROM_LOOP_ERR_HANDLER (2) for 2 byte invalid input. Use STANDARD_FROM_LOOP_ERR_HANDLER with 2 instead of 1 for two byte chars.
2009-04-24* locale/locarchive.h (struct locarhandle): Rename len field toUlrich Drepper
mmaped and add new reserved field. * locale/programs/locarchive.c (RESERVE_MMAP_SIZE): Define. (create_archive): Reserve address space and then map file into it. (open_archive): Likewise. (file_data_available_p): New function. (compare_from_file): New function. (close_archive): Adjust to member name changes. (add_locale): Before comparing locale data, check it is mapped. Otherwise fall back to reading from the file.
2009-04-24* stdio-common/psiginfo.c: Include <errno.h>.Ulrich Drepper
2009-04-24[BZ #9920]cvs/fedora-glibc-20090424T0747Ulrich Drepper
* stdlib/random_r.c (__srandom_r): Change type of word to int32_t to get consistency between 32 and 64 bit architectures.
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* shadow/sgetspent_r.c (__sgetspent_r): Recognize too small buffers.Ulrich Drepper
2009-04-23* shadow/Makefile (tests): Add tst-shadow.Ulrich Drepper
* shadow/tst-shadow.c: New file. (public_sET_STATe): Pretty printing.
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[BZ #9963]Ulrich Drepper
2009-04-22 Ulrich Drepper <drepper@redhat.com> [BZ #9963] * locales/en_PH: Fix LC_PAPER. * locales/es_CL: Likewise. * locales/es_CO: Likewise. * locales/es_MX: Likewise. * locales/es_US: Likewise. * locales/es_VE: Likewise. * locales/fil_PH: Likewise. * locales/ik_CA: Likewise. * locales/iu_CA: Likewise. * locales/tl_PH: Likewise.
2009-04-23* pthread_attr_setschedparam.c (__pthread_attr_setschedparam):Ulrich Drepper
Check policy and priority for validity. Patch mostly by Zhang Xiliang <zhangxiliang@cn.fujitsu.com>.
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[BZ #10086]Ulrich Drepper
2009-04-21* sysdeps/unix/sysv/linux/sys/timex.h: Add definitions from kernelUlrich Drepper
headers up to 2.6.30.
2009-04-20* po/ca.po: Update from translation team.Ulrich Drepper
2009-04-19[BZ #10069]Ulrich Drepper
2009-04-19 Ulrich Drepper <drepper@redhat.com> [BZ #10069] * elf/dl-open.c (dl_open_worker): We cannot guarantee that we can load an object that uses static TLS if the TLS modid is higher than the reserve we always allocate. At least for multi-threaded code.
2009-04-18* stdlib/strfmon_l.c (__vstrfmon_l): Don't wrap when computing width.Ulrich Drepper
Numerically stable check for valid width.
2009-04-18* locale/programs/locarchive.c (open_archive): Map the entire fileUlrich Drepper
and not just the administrative data. (add_locale): When we find a hash sum match compare the content to be sure.
2009-04-18* malloc/malloc.c (malloc_info): Output address space information.Ulrich Drepper
2009-04-18* malloc/malloc.c (malloc_info): Also output system memory information.Ulrich Drepper
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-17* malloc/hooks.c (top_check): Force hook value into register.Ulrich Drepper
2009-04-17(top_check): Force hook value into register.Ulrich Drepper
2009-04-17* elf/rtld.c (dl_main): Really call _dl_sysdep_start_cleanup after allRoland McGrath
calls to _dl_relocate_object.
2009-04-172009-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>Roland McGrath
* elf/rtld.c (dl_main): Really call _dl_sysdep_start_cleanup after all calls to _dl_relocate_object.
2009-04-16[BZ #9957]Ulrich Drepper
2009-04-16 Ulrich Drepper <drepper@redhat.com> [BZ #9957] * malloc/malloc.c (force_reg): Define. (sYSMALLOc): Load hook variable into variable before test and force into register. (sYSTRIm): Likewise. (public_mALLOc): Force hook value into register. (public_fREe): Likewise. (public_rEALLOc): Likewise. (public_mEMALIGn): Likewise. (public_vALLOc): Likewise. (public_pVALLOc): Likewise. (public_cALLOc): Likewise. (__posix_memalign): Likewise. * malloc/arena.c (ptmalloc_init): Load hook variable into variable before test and force into register. * malloc/hooks.c (top_check): Likewise. (public_s_ET_STATe): Pretty printing. * resolv/res_send.c (send_dg): Don't just ignore the result we got in case we only receive one reply in single-request mode.
2009-04-16(send_dg): Don't just ignore the result we got in case we only receive one ↵Ulrich Drepper
reply in single-request mode.
2009-04-16* elf/dl-open.c (_dl_open): Bump GL(dl_nns) to 1 if no libraries cvs/fedora-glibc-20090416T1610Jakub Jelinek
are dlopened in statically linked program even for __LM_ID_CALLER. 2009-04-16 Jakub Jelinek <jakub@redhat.com> * elf/dl-open.c (_dl_open): Bump GL(dl_nns) to 1 if no libraries are dlopened in statically linked program even for __LM_ID_CALLER.
2009-04-16* resolv/res_send.c (send_dg): Don't switch into single-requestUlrich Drepper
mode if we already are in it.
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-15* elf/elf.h: Add various missing ARM constants, to match binutils.Roland McGrath
2009-04-152009-04-14 Roland McGrath <roland@redhat.com>Roland McGrath
* elf/elf.h: Add various missing ARM constants, to match binutils.
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-11* stdio-common/printf.h (struct printf_info): Add user element.Ulrich Drepper
New types printf_arginfo_size_function, printf_va_arg_function. Declare register_printf_specifier, register_printf_modifier, register_printf_type. * stdio-common/printf-parse.h (struct printf_spec): Add size element. (union printf_arg): Add pa_user element. Adjust __printf_arginfo_table type. Add __printf_va_arg_table, __printf_modifier_table, __handle_registered_modifier_mb, and __handle_registered_modifier_wc declarations. * stdio-common/printf-parsemb.c: Recognize registered modifiers. If registered arginfo call failed try normal specifier. * stdio-common/printf-prs.c: Pass additional parameter to arginfo function. * stdio-common/Makefile (routines): Add reg-modifier and reg-type. * stdio-common/Versions: Export register_printf_modifier, register_printf_type, and register_printf_specifier for GLIBC_2.10. * stdio-common/reg-modifier.c: New file. * stdio-common/reg-type.c: New file. * stdio-common/reg-printf.c (__register_printf_specifier): New function. Mostly the old __register_printf_function function but uses locking and type of third parameter changed. (__register_printf_function): Implement using __register_printf_specifier. * stdio-common/vfprintf.c (vfprintf): Collect argument sizes in calls to arginfo functions. Allocate enough memory for user-defined types. Call new va_arg functions to get user-defined types. Try installed handlers even for existing format specifiers first.
2009-04-10* sysdeps/x86_64/rawmemchr.S: New file.Ulrich Drepper
2009-04-10Simplified code and possible copy problem fixed.Ulrich Drepper