about summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
* [BZ #5381]Ulrich Drepper2009-02-1311-236/+83
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2009-02-13 Ulrich Drepper <drepper@redhat.com> [BZ #5381] * nscd/nscd.h: Remove definitions and declarations for mem_in_flight. Change mempool_alloc prototype. * nscd/mem.c (gc): Don't handle mem_in_flight. (mempool_alloc): Third parameter now only indicates whether this is the first call (to allocate data) or not. If it is, get db rdlock. Release it on error. Don't handle mem_in_flight. * nscd/aicache.c (addhstaiX): Mark he parameter as const. Adjust third parameter of mempool_alloc calls. Nothing to do here in case mempool_alloc fails. Avoid local variable shadowing parameter. No need to get db rdlock before calling cache_add. * nscd/cache.c (cache_add): Adjust call to mempool_alloc. There is no mem_in_flight array anymore. * nscd/connections.c: Remove definition and handling of mem_in_flight. * nscd/grpcache.c (cache_addgr): Adjust third parameter of mempool_alloc calls. Mark he parameter as const. Nothing to do here in case mempool_alloc fails. No need to get db rdlock before calling cache_add. * nscd/hstcache.c (cache_addhst): Likewise. * nscd/initgrcache.c (addinitgroupsX): Likewise. * nscd/servicescache.c (cache_addserv): Likewise. * nscd/pwdcache.c (cache_addpw): Likewise. Remove some debugging code.
* * po/lt.po: Update from translation team.Ulrich Drepper2009-02-122-37/+30
|
* * locales/iso14651_t1_common: Add rules for sorting Malayalam.Ulrich Drepper2009-02-112-0/+330
| | | | Patch by Santhosh Thottingal <santhosh.thottingal@gmail.com>.
* * elf/dl-load.c (open_verify): In case VALID_ELF_HEADER isUlrich Drepper2009-02-103-2/+32
| | | | | | | defined, allow additional data to be added using the optional MORE_ELF_HEADER_DATA macro. * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER, VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Define.
* * include/atomic.h: Define catomic_and if not already defined.Ulrich Drepper2009-02-084-27/+64
| | | | | * sysdeps/x86_64/bits/atomic.h: Define catomic_and. * sysdeps/i386/i486/bits/atomic.h: Likewise.
* (_int_realloc): Likewise. Third argument is now padded sizeUlrich Drepper2009-02-073-14/+14
|
* * malloc/malloc.c (_int_free): Second argument is now mchunkptr.Ulrich Drepper2009-02-075-70/+59
| | | | | | | | | | Change all callers. (_int_realloc): Likewise. All _int_* functions are now static. * malloc/hooks.c: Change all callers to _int_free and _int_realloc. * malloc/arena.c: Likewise. * include/malloc.h: Remove now unnecessary declarations of the _int_* functions.
* * sunrpc/rpc_common.c: We cannot move _null_auth into .rodata thatUlrich Drepper2009-02-072-1/+4
| | | | easily.
* * malloc/malloc.c: Add branch prediction for use of the hooks.Ulrich Drepper2009-02-072-11/+13
|
* * grp/compat-initgroups.c [NOT_IN_libc] (__libc_use_alloca): Define.Ulrich Drepper2009-02-072-0/+11
|
* [BZ #7095]Ulrich Drepper2009-02-0713-84/+497
| | | | | | | | | | | | | | | | | | 2009-02-06 Ulrich Drepper <drepper@redhat.com> [BZ #7095] * bits/confname.h: Add SUSv7 macros for getconf environments. * bits/environments.h: Likewise. * sysdeps/unix/sysv/linux/i386/bits/environments.h: Likewise. * sysdeps/unix/sysv/linux/powerpc/bits/environments.h: Likewise. * sysdeps/unix/sysv/linux/s390/bits/environments.h: Likewise. * sysdeps/unix/sysv/linux/sparc/bits/environments.h: Likewise. * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Likewise. * posix/confstr.c: Handle SUSv5 and SUSv7 environments. * posix/getconf.c: Likewise. * posix/sysconf.c: Likewise. * sysdeps/posix/sysconf.c: Likewise. * posix/Makefile (getconf.speclist): Also collect SUSv5 and SUSv7 environments.
* [BZ #7098]Ulrich Drepper2009-02-072-2/+7
| | | | | | * Makefile ($(inst_i18ndir)/charmaps/%.gz): No need to save timestamp in compressed charmaps. Patch by Gilles Espinasse <g.esp@free.fr>.
* [BZ #9753]Ulrich Drepper2009-02-073-5/+16
| | | | | | | 2009-01-16 Petr Baudis <pasky@suse.cz> [BZ #9753] * resolv/res_libc.c (__res_maybe_init): Call __res_vinit() even if we currently have zero nscount.
* [BZ #9781]Ulrich Drepper2009-02-076-12/+38
| | | | | * grp/compat-initgroups.c (compat_call): Switch to use malloc when the input line is too long.
* [BZ #9791]Ulrich Drepper2009-02-071-0/+1
|
* * po/Makefile (libc.pot): Add f_print as function taking c-formatUlrich Drepper2009-02-063-2/+33
| | | | parameter.
* * debug/xtrace.sh: Unify translatable messages.Ulrich Drepper2009-02-0617-573/+1008
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * elf/ldd.bash.in: Likewise. * elf/sprof.c: Likewise. * locale/programs/locale.c: Likewise. * malloc/memusage.sh: Likewise. * nss/getent.c: Likewise. 2009-02-06 Joseph Myers <joseph@codesourcery.com> * debug/pcprofiledump.c (print_version, argp_program_version_hook): New function. * elf/ldconfig.c (more_help): New function. (argp): Use it. * elf/sln.c (usage): New function. (main): Support --help and --version. * malloc/memusagestat.c (print_version): New function. (argp_program_version_hook): New variable. * nscd/nscd.c (more_help): New function. (argp): Use it. * posix/getconf.c (main): Send --version output to stdout. Support --help. * sunrpc/rpc_main.c (usage, options_usage): Take STREAM and STATUS arguments. All callers changed. (print_version): New function. (parseargs): Support --help and --version. * sunrpc/rpcinfo.c (usage): Take STREAM argument. All callers changed. (print_version): New function. (main): Use getopt_long. Support --help and --version. * sysdeps/unix/sysv/linux/lddlibc4.c (main): Support --help and --version. 2009-02-06 Ulrich Drepper <drepper@redhat.com>
* * malloc/memusage.c (DEFAULT_BUFFER_SIZE): Change to 32768.Ulrich Drepper2009-02-062-2/+3
| | | | (update_data): Fix handling of wrapping back
* * malloc/memusage.c (update_data): Fix handling of wrapping backUlrich Drepper2009-02-062-3/+8
| | | | to the beginning of the buffer.
* * td_thr_get_info.c (td_thr_get_info): Initialize schedpolicy inUlrich Drepper2009-02-062-1/+7
| | | | the special case [Coverity CID 251].
* [BZ #9823]Ulrich Drepper2009-02-062-2/+7
| | | | | | 2009-02-06 Ulrich Drepper <drepper@redhat.com> [BZ #9823] * stdio-common/psignal.c (psignal): Fix test for empty string.
* * include/rpc/auth.h: Use libc_hidden_proto for _null_auth.Ulrich Drepper2009-02-063-1/+11
| | | | | * sunrpc/rpc_common.c: Add libc_hidden_def for _null_auth. Also move _null_auth to .rodata.
* * time/tzset.c (__tzset_parse_tz): DST offset must also allow hourUlrich Drepper2009-02-052-2/+5
| | | | value of 24.
* * intl/dcigettext.c (DCIGETTEXT): Avoid some code duplication.Ulrich Drepper2009-02-052-13/+4
|
* * sysdeps/unix/opendir.c (__alloc_dir): We have a lot more memoryUlrich Drepper2009-02-052-23/+26
| | | | | | | | today than when the original code was written. Use larger buffers. This also makes it unnecessary to have stat information, if this causes extra efforts. (__opendir): In case O_DIRECTORY works, don't call fstat just for __alloc_dir.
* * sysdeps/sh/sh4/dl-trampoline.S: Only set HAVE_FPU if __SH_FPU_ANY__Ulrich Drepper2009-02-058-20/+50
| | | | | | | | | | is set. * sysdeps/sh/sh4/setjmp.S: Support SH4-NOFPU. * sysdeps/sh/sh4/__longjmp.S: Likewise. * sysdeps/unix/sysv/linux/sh/sh4/getcontext.S: Likewise. * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S: Likewise. * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S: Likewise. * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
* * po/ru.po: Update from translation team.Ulrich Drepper2009-02-052-2286/+2378
|
* * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (struct sigevent):Ulrich Drepper2009-02-053-2/+31
| | | | Add _tid slot to maintain consistency with kernel.
* 2009-02-04 Ulrich Drepper <drepper@redhat.com> cvs/fedora-glibc-20090204T2135Ulrich Drepper2009-02-044-15/+47
| | | | | | | | * libio/wfileops.c (_IO_wfile_underflow): Fix handling of incomplete characters at end of input buffer. * libio/Makefile (tests): Add tst-fgetwc. * libio/tst-fgetwc.c: New file. * libio/tst-fgetwc.input: New file.
* Test of fgetwc on unbuffered stream.Ulrich Drepper2009-02-041-0/+52
|
* UpdateAndreas Jaeger2009-02-041-0/+4
| | | | | | 2009-02-04 Andreas Jaeger <aj@suse.de> * FAQ.in: Remove reference to my mips page.
* Remove reference to my mips page.Andreas Jaeger2009-02-042-3/+0
|
* * sysdeps/unix/sysv/linux/sh/Makefile (libm.so-no-z-defs): Define.Ulrich Drepper2009-02-032-0/+9
|
* [BZ #9793]Ulrich Drepper2009-02-034-5/+80
| | | | | | | | | 2009-02-02 Ulrich Drepper <drepper@redhat.com> [BZ #9793] * iconv/gconv_trans.c (__gconv_transliterate): Don't change *OUTBUFSTART unless the whole output fit into the buffer. * iconv/Makefile (tests): Add tst-iconv4. * iconv/tst-iconv4.c: New file.
* * sysdeps/x86_64/cacheinfo.c (intel_02_known): Add new descriptors.Ulrich Drepper2009-02-013-0/+33
| | | | * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
* * nscd/connections.c (nscd_init): If database file access failsUlrich Drepper2009-01-311-3/+3
| | | | | check whether this is due to permission problems and bail in that case.
* * elf/Makefile (ld.so): Adjust the sed script to insert _begin in toUlrich Drepper2009-01-312-2/+7
| | | | newer linker scripts.
* [BZ #7040]Ulrich Drepper2009-01-302-2/+8
| | | | | | | 2009-01-30 Ulrich Drepper <drepper@redhat.com> [BZ #7040] * sysdeps/unix/sysv/linux/sys/inotify.h: Second parameter of inotify_rm_watch should have type int.
* * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S (__longjmp):Ulrich Drepper2009-01-301-0/+7
| | | | | | Make aligned_restore_vmx a local symbol. * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
* (__longjmp): Make aligned_restore_vmx a local symbol.Ulrich Drepper2009-01-302-7/+6
|
* UpdateAndreas Jaeger2009-01-301-0/+10
| | | | | | | | | | | | 2009-01-30 Andreas Jaeger <aj@suse.de> * sysdeps/unix/sysv/linux/bits/shm.h (SHM_EXEC): Define. * sysdeps/unix/sysv/linux/ia64/bits/shm.h (SHM_EXEC): Define. * sysdeps/unix/sysv/linux/powerpc/bits/shm.h (SHM_EXEC): Define. * sysdeps/unix/sysv/linux/s390/bits/shm.h (SHM_EXEC): Define. * sysdeps/unix/sysv/linux/sh/bits/shm.h (SHM_EXEC): Define. * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHM_EXEC): Define. * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (SHM_EXEC): Define.
* (SHM_EXEC): Define.Andreas Jaeger2009-01-307-10/+17
|
* [BZ #9726]Ulrich Drepper2009-01-304-19/+39
| | | | | | | | | | | | | | | 2009-01-11 Ryan S. Arnold <rsa@us.ibm.com> [BZ #9726] * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_SET_DI_FPSCR, _SET_SI_FPSCR): Clobber fp0 to prevent erroneous test-case passes. 2009-01-08 Ryan S. Arnold <rsa@us.ibm.com> [BZ #9726] * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S (__CONTEXT_FUNC_NAME): Fix mtfsf to use fp31 instead of fp0. * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S (__CONTEXT_FUNC_NAME): Fix mtfsf to use fp31 instead of fp0.
* * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): UseUlrich Drepper2009-01-302-2/+27
| | | | | memcpy instead of memcmp. (_dl_setup_pointer_guard): Likewise.
* * malloc/malloc.c (sYSMALLOc): Don't use assert when detectingUlrich Drepper2009-01-304-7/+21
| | | | | | manipulated brk, use malloc_printerr. * misc/sbrk.c (__sbrk): Better error handling for nonsense requests.
* * string/string.h (memchr, strchr, strrchr, strpbrk, strstr, index,Ulrich Drepper2009-01-303-18/+199
| | | | | | rindex): For C++ add inlines so that they can be recognized as builtins. * string/strings.h: Define correct C++ prototypes for gcc 4.4.
* * sysdeps/pthread/unwind-forcedunwind.c: Encrypt all functionUlrich Drepper2009-01-292-10/+32
| | | | pointer variables.
* * allocatestack.c (__free_stacks): Renamed from free_stacks.Ulrich Drepper2009-01-295-21/+58
| | | | | | | | | | | | | | | (__free_stack_cache): Removed. Change callers to call __free_stacks. * init.c (nptl_freeres): New function. (pthread_functions): Initialize ptr_freeres to nptl_freeres. * pthreadP.h: Don't declare __free_stack_cache. Declare __free_stacks. * sysdeps/pthread/unwind-forcedunwind.c (libgcc_s_handle): New variable. (pthread_cancel_init): Depend in libgcc_s_handle for decision to load DSO. Assign last. (__unwind_freeres): New function. * allocatestack.c (__reclaim_stacks): Reset in_flight_stack later for better debugging. No need to use stack_list_add here.
* * string/string.h: Define correct C++ prototypes for gcc 4.4.Ulrich Drepper2009-01-291-2/+2
| | | | * wcsmbs/wchar.h: Likewise.
* Jakub Jelinek <jakub@redhat.com>Ulrich Drepper2009-01-293-1/+149
| | | | | | | * string.h: Define correct C++ prototypes for gcc 4.4. * wchar.h: Likewise. 2009-01-29 Ulrich Drepper <drepper@redhat.com>