summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
* [BZ #9955]Ulrich Drepper2009-04-2325-25/+1018
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* [BZ #9963]Ulrich Drepper2009-04-2312-33/+30
| | | | | | | | | | | | | | | 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.
* * pthread_attr_setschedparam.c (__pthread_attr_setschedparam):Ulrich Drepper2009-04-232-1/+13
| | | | | Check policy and priority for validity. Patch mostly by Zhang Xiliang <zhangxiliang@cn.fujitsu.com>.
* * stdio-common/printf.h: Add missing const to register_printf_modifier.Ulrich Drepper2009-04-234-4/+16
| | | | | | | | | * 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.
* [BZ #10086]Ulrich Drepper2009-04-211-0/+1
|
* * sysdeps/unix/sysv/linux/sys/timex.h: Add definitions from kernelUlrich Drepper2009-04-212-3/+14
| | | | headers up to 2.6.30.
* * po/ca.po: Update from translation team.Ulrich Drepper2009-04-202-643/+818
|
* [BZ #10069]Ulrich Drepper2009-04-192-0/+19
| | | | | | | | 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.
* * stdlib/strfmon_l.c (__vstrfmon_l): Don't wrap when computing width.Ulrich Drepper2009-04-182-9/+19
| | | | Numerically stable check for valid width.
* * locale/programs/locarchive.c (open_archive): Map the entire fileUlrich Drepper2009-04-182-9/+36
| | | | | | and not just the administrative data. (add_locale): When we find a hash sum match compare the content to be sure.
* * malloc/malloc.c (malloc_info): Output address space information.Ulrich Drepper2009-04-184-3/+38
|
* * malloc/malloc.c (malloc_info): Also output system memory information.Ulrich Drepper2009-04-182-2/+19
|
* * sysdeps/unix/sysv/linux/kernel-features.h: All supportedUlrich Drepper2009-04-182-3/+4
| | | | architectures have preadv/pwritev in 2.6.30.
* * sysdeps/posix/preadv.c: Reading of zero bytes is no error.Ulrich Drepper2009-04-173-2/+6
| | | | | * sysdeps/posix/readv.c: Likewise. Reported by Markus Armbruster <armbru@redhat.com>.
* * malloc/hooks.c (top_check): Force hook value into register.Ulrich Drepper2009-04-171-0/+4
|
* (top_check): Force hook value into register.Ulrich Drepper2009-04-171-1/+1
|
* * elf/rtld.c (dl_main): Really call _dl_sysdep_start_cleanup after allRoland McGrath2009-04-171-0/+5
| | | | calls to _dl_relocate_object.
* 2009-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>Roland McGrath2009-04-171-9/+7
| | | | | * elf/rtld.c (dl_main): Really call _dl_sysdep_start_cleanup after all calls to _dl_relocate_object.
* [BZ #9957]Ulrich Drepper2009-04-164-26/+64
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* (send_dg): Don't just ignore the result we got in case we only receive one ↵Ulrich Drepper2009-04-161-6/+10
| | | | reply in single-request mode.
* * elf/dl-open.c (_dl_open): Bump GL(dl_nns) to 1 if no libraries cvs/fedora-glibc-20090416T1610Jakub Jelinek2009-04-162-1/+7
| | | | | | | | 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.
* * resolv/res_send.c (send_dg): Don't switch into single-requestUlrich Drepper2009-04-162-1/+8
| | | | mode if we already are in it.
* * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise. cvs/fedora-glibc-20090416T0610Ulrich Drepper2009-04-154-2/+8
|
* * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Make sure there cvs/fedora-glibc-20090415T1619Ulrich Drepper2009-04-152-4/+51
| | | | | | | | | | | | | | 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.
* * sysdeps/x86_64/mp_clz_tab.c: New file.Ulrich Drepper2009-04-152-0/+5
|
* 2009-03-17 Ryan S. Arnold <rsa@us.ibm.com>Ulrich Drepper2009-04-153-0/+16
| | | | | | | Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/fallocate.c: Handle old kernel headers. * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
* * sysdeps/sh/libc-tls.c: New file.Ulrich Drepper2009-04-152-2/+8
| | | | * sysdeps/sh/bits/setjmp.h (__jmp_buf): Give name to structure type.
* __tls_get_addr for SH.Ulrich Drepper2009-04-151-0/+33
|
* * elf/elf.h: Add various missing ARM constants, to match binutils.Roland McGrath2009-04-151-0/+4
|
* 2009-04-14 Roland McGrath <roland@redhat.com>Roland McGrath2009-04-151-22/+42
| | | | * elf/elf.h: Add various missing ARM constants, to match binutils.
* Optimizations from GMP.Ulrich Drepper2009-04-147-0/+309
| | | | | | | | | | * 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.
* mpn_add_n for x86-64.Ulrich Drepper2009-04-141-0/+42
|
* * sysdeps/powerpc/powerpc32/elf/start.S: Ensure .data is non-empty. cvs/fedora-glibc-20090414T2104Jakub Jelinek2009-04-145-4/+19
| | | | | | | | | | | | * 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.
* * sysdeps/unix/sysv/linux/kernel-features.h: SH also hasUlrich Drepper2009-04-142-1/+6
| | | | preadv/pwritev.
* * sysdeps/x86-64/strrchr.S: New file.Ulrich Drepper2009-04-144-3/+88
|
* * stdio-common/printf.h (struct printf_info): Add user element.Ulrich Drepper2009-04-1112-90/+528
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* * sysdeps/x86_64/rawmemchr.S: New file.Ulrich Drepper2009-04-103-2/+57
|
* Simplified code and possible copy problem fixed.Ulrich Drepper2009-04-102-17/+4
|
* * stdio-common/vfprintf.c (vfprintf): Slightly more compact code.Ulrich Drepper2009-04-104-20/+17
|
* function if it is not defined. Add some necessary casts.Ulrich Drepper2009-04-093-9/+27
|
* * sysdeps/unix/sysv/linux/preadv.c: Avoid prototype for staticUlrich Drepper2009-04-093-0/+8
| | | | | function if it is not defined. * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
* * sysdeps/unix/sysv/linux/kernel-features.h: SPARC and IA64 alsoUlrich Drepper2009-04-092-1/+7
| | | | have preadv/pwritev in 2.6.30.
* * malloc/malloc.c (malloc_info): New function. cvs/fedora-glibc-20090409T1422Ulrich Drepper2009-04-095-4/+160
| | | | | | | * malloc/malloc.h: Declare it. * malloc/Versions: Export malloc_info for GLIBC_2.10. * resolv/nss_dns/dns-host.c (getanswer_r): Use strcasecmp
* * sysdeps/unix/sysv/linux/preadv64.c (PREAD): Use __libc_pread64Ulrich Drepper2009-04-082-1/+4
| | | | to avoid PLT slot.
* * malloc/malloc.c (_int_realloc): Add parameter with old blockUlrich Drepper2009-04-085-22/+49
| | | | | | size. Remove duplicated test. Don't handle mmap'ed blocks here. Adjust all callers. * malloc/hooks.c (realloc_check): Adjust _int_realloc call.
* * sysdeps/x86_64/strchrnul.S: New file. cvs/fedora-glibc-20090408T1602Ulrich Drepper2009-04-073-3/+69
| | | | depending libcrypt on -lfreebl3.
* * crypt/Makefile (LDLIBS-crypt.so): Use this variable instead ofUlrich Drepper2009-04-072-1/+4
| | | | depending libcrypt in -lfreebl3.
* * sysdeps/unix/sysv/linux/kernel-features.h: Power also hasUlrich Drepper2009-04-072-1/+4
| | | | preadv/pwritev in 2.6.30.
* * resolv/res_hconf.c (_res_hconf_trim_domain): Use strcasecmpUlrich Drepper2009-04-073-3/+7
| | | | | instead of __strcasecmp. * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
* * wcsmbs/wcsatcliff.c (MEMCHR): Define.Ulrich Drepper2009-04-073-0/+7
|