aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-02-15* sysdeps/unix/sysv/linux/getsysstats.c (next_line): New function.Ulrich Drepper
(GET_NPROCS_PARSER): Change parameters and use next_line. (__get_nprocs): Rewrite to not use stdio routines. * sysdeps/unix/sysv/linux/sparc/getsysstats.c (GET_NPROCS_PARSER): Change parameters and use next_line.
2009-02-13* sysdeps/unix/sysv/linux/sh/lowlevellock.S: DefineUlrich Drepper
LOAD_FUTEX_WAIT_ABS even if (FUTEX_WAIT == 0).
2009-02-13[BZ #5381]Ulrich Drepper
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.
2009-02-12* po/lt.po: Update from translation team.Ulrich Drepper
2009-02-11* locales/iso14651_t1_common: Add rules for sorting Malayalam.Ulrich Drepper
Patch by Santhosh Thottingal <santhosh.thottingal@gmail.com>.
2009-02-10* elf/dl-load.c (open_verify): In case VALID_ELF_HEADER isUlrich Drepper
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.
2009-02-08* include/atomic.h: Define catomic_and if not already defined.Ulrich Drepper
* sysdeps/x86_64/bits/atomic.h: Define catomic_and. * sysdeps/i386/i486/bits/atomic.h: Likewise.
2009-02-07(_int_realloc): Likewise. Third argument is now padded sizeUlrich Drepper
2009-02-07* malloc/malloc.c (_int_free): Second argument is now mchunkptr.Ulrich Drepper
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.
2009-02-07* sunrpc/rpc_common.c: We cannot move _null_auth into .rodata thatUlrich Drepper
easily.
2009-02-07* malloc/malloc.c: Add branch prediction for use of the hooks.Ulrich Drepper
2009-02-07* grp/compat-initgroups.c [NOT_IN_libc] (__libc_use_alloca): Define.Ulrich Drepper
2009-02-07[BZ #7095]Ulrich Drepper
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.
2009-02-07[BZ #7098]Ulrich Drepper
* Makefile ($(inst_i18ndir)/charmaps/%.gz): No need to save timestamp in compressed charmaps. Patch by Gilles Espinasse <g.esp@free.fr>.
2009-02-07[BZ #9753]Ulrich Drepper
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.
2009-02-07[BZ #9781]Ulrich Drepper
* grp/compat-initgroups.c (compat_call): Switch to use malloc when the input line is too long.
2009-02-07[BZ #9791]Ulrich Drepper
2009-02-06* po/Makefile (libc.pot): Add f_print as function taking c-formatUlrich Drepper
parameter.
2009-02-06* debug/xtrace.sh: Unify translatable messages.Ulrich Drepper
* 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>
2009-02-06* malloc/memusage.c (DEFAULT_BUFFER_SIZE): Change to 32768.Ulrich Drepper
(update_data): Fix handling of wrapping back
2009-02-06* malloc/memusage.c (update_data): Fix handling of wrapping backUlrich Drepper
to the beginning of the buffer.
2009-02-06* td_thr_get_info.c (td_thr_get_info): Initialize schedpolicy inUlrich Drepper
the special case [Coverity CID 251].
2009-02-06[BZ #9823]Ulrich Drepper
2009-02-06 Ulrich Drepper <drepper@redhat.com> [BZ #9823] * stdio-common/psignal.c (psignal): Fix test for empty string.
2009-02-06* include/rpc/auth.h: Use libc_hidden_proto for _null_auth.Ulrich Drepper
* sunrpc/rpc_common.c: Add libc_hidden_def for _null_auth. Also move _null_auth to .rodata.
2009-02-05* time/tzset.c (__tzset_parse_tz): DST offset must also allow hourUlrich Drepper
value of 24.
2009-02-05* intl/dcigettext.c (DCIGETTEXT): Avoid some code duplication.Ulrich Drepper
2009-02-05* sysdeps/unix/opendir.c (__alloc_dir): We have a lot more memoryUlrich Drepper
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.
2009-02-05* sysdeps/sh/sh4/dl-trampoline.S: Only set HAVE_FPU if __SH_FPU_ANY__Ulrich Drepper
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.
2009-02-05* po/ru.po: Update from translation team.Ulrich Drepper
2009-02-05* sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (struct sigevent):Ulrich Drepper
Add _tid slot to maintain consistency with kernel.
2009-02-042009-02-04 Ulrich Drepper <drepper@redhat.com>cvs/fedora-glibc-20090204T2135Ulrich Drepper
* 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.
2009-02-04Test of fgetwc on unbuffered stream.Ulrich Drepper
2009-02-04UpdateAndreas Jaeger
2009-02-04 Andreas Jaeger <aj@suse.de> * FAQ.in: Remove reference to my mips page.
2009-02-04Remove reference to my mips page.Andreas Jaeger
2009-02-03* sysdeps/unix/sysv/linux/sh/Makefile (libm.so-no-z-defs): Define.Ulrich Drepper
2009-02-03[BZ #9793]Ulrich Drepper
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.
2009-02-01* sysdeps/x86_64/cacheinfo.c (intel_02_known): Add new descriptors.Ulrich Drepper
* sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
2009-01-31* nscd/connections.c (nscd_init): If database file access failsUlrich Drepper
check whether this is due to permission problems and bail in that case.
2009-01-31* elf/Makefile (ld.so): Adjust the sed script to insert _begin in toUlrich Drepper
newer linker scripts.
2009-01-30[BZ #7040]Ulrich Drepper
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.
2009-01-30* sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S (__longjmp):Ulrich Drepper
Make aligned_restore_vmx a local symbol. * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
2009-01-30(__longjmp): Make aligned_restore_vmx a local symbol.Ulrich Drepper
2009-01-30UpdateAndreas Jaeger
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.
2009-01-30(SHM_EXEC): Define.Andreas Jaeger
2009-01-30[BZ #9726]Ulrich Drepper
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.
2009-01-30* sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): UseUlrich Drepper
memcpy instead of memcmp. (_dl_setup_pointer_guard): Likewise.
2009-01-30* malloc/malloc.c (sYSMALLOc): Don't use assert when detectingUlrich Drepper
manipulated brk, use malloc_printerr. * misc/sbrk.c (__sbrk): Better error handling for nonsense requests.
2009-01-30* string/string.h (memchr, strchr, strrchr, strpbrk, strstr, index,Ulrich Drepper
rindex): For C++ add inlines so that they can be recognized as builtins. * string/strings.h: Define correct C++ prototypes for gcc 4.4.
2009-01-29* sysdeps/pthread/unwind-forcedunwind.c: Encrypt all functionUlrich Drepper
pointer variables.
2009-01-29* allocatestack.c (__free_stacks): Renamed from free_stacks.Ulrich Drepper
(__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.