about summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
* * malloc/malloc.c (public_cALLOc): For arena other thanUlrich Drepper2007-12-172-0/+12
| | | | | main_arena, count all bytes inside the mprotect_size range of the heap as uninitialized.
* * elf/tst-execstack.c (do_test): Don't fail if SELinux forbidsUlrich Drepper2007-12-172-3/+41
| | | | executable stacks.
* * malloc/tst-trim1.c: New file.Ulrich Drepper2007-12-163-2/+60
| | | | * malloc/Makefile (tests): Add tst-trim1.
* * malloc/malloc.c (public_mTRIm): Iterate over all arenas and callUlrich Drepper2007-12-162-16/+73
| | | | | | | | | mTRIm for all of them. (mTRIm): Additionally iterate over all free blocks and use madvise to free memory for all those blocks which contain at least one memory page. * malloc/malloc.c (do_check_malloc_state): Minimal cleanups.
* * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_gettimeofday):Ulrich Drepper2007-12-152-2/+5
| | | | | Return long. (__vdso_clock_gettime): Likewise.
* * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INTERNAL_SYSCALL_ERROR_P):Ulrich Drepper2007-12-143-14/+21
| | | | | | First cast argument to long * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Functions return long.
* * sysdeps/x86_64/pthreaddef.h (ARCH_RETRY_MMAP): Take additionalUlrich Drepper2007-12-143-5/+11
| | | | | | parameter. Passed it as permission to mmap. * allocatestack.c (allocate_stack): Pass prot as second parameter to ARCH_RETRY_MMAP.
* * locale/nl_langinfo.c (nl_langinfo): Just call __nl_langinfo_l.Ulrich Drepper2007-12-145-59/+50
| | | | | | * locale/nl_langinfo_l.c: Real implementation, copied from nl_langinfo.c. * include/langinfo.h: Add libc_hidden_proto for __nl_langinfo_l.
* .. cvs/fedora-glibc-20071212T1953Ulrich Drepper2007-12-122-0/+20
| | | | * tst-basic7.c: Allocate memory for the stack.
* * posix/regcomp.c (optimize_utf8): Fix a typo, s/idx/ctx_type/,Ulrich Drepper2007-12-123-3/+9
| | | | | that would inhibit utf8-optimization of a regexp containing line- or buffer-anchors, e.g., `^', `$'.
* * time/bug-getdate1.c (do_test): Don't use century values whichUlrich Drepper2007-12-123-5/+10
| | | | aren't valid on 32-bit systems.
* [BZ #5477]Ulrich Drepper2007-12-124-4/+34
| | | | | | | | | | | | | | 2007-12-12 Jakub Jelinek <jakub@redhat.com> * sysdeps/i386/i486/bits/string.h (memmove): Define as macro. (memmove): Rename to __memmove_g, with __asm__ ("memmove"). * sysdeps/s390/bits/string.h (__strlen_g, __strcpy_g, __strncpy_g, __strcat_g, __strncat_g): Add __asm__. 2007-12-12 Ulrich Drepper <drepper@redhat.com> [BZ #5477] * io/fchmodat.c: Fix typo in stub_warning use. Patch by Petr Salinger.
* [BZ #5463, BZ #5464] cvs/fedora-glibc-20071212T1051Ulrich Drepper2007-12-124-2/+30
| | | | | | | | | | | | | | | | | | | * iconvdata/hp-thai8.c: New file. * iconvdata/Makefile: Add rules for hp-thai8.c. * iconvdata/tst-tables.sh: Add entry for HP-THAI8. * iconvdata/gconv-modules: Likewise. [BZ #5464] * iconvdata/hp-greek8.c: New file. * iconvdata/Makefile: Add rules for hp-greek8.c. * iconvdata/tst-tables.sh: Add entry for HP-GREEK8. * iconvdata/gconv-modules: Likewise. [BZ #5463] * iconvdata/hp-turkish8.c: New file. * iconvdata/Makefile: Add rules for hp-turkish8.c. * iconvdata/tst-tables.sh: Add entry for HP-TURKISH8. * iconvdata/gconv-modules: Likewise.
* [BZ #5465]Ulrich Drepper2007-12-1211-3/+857
| | | | | | | 2007-12-12 Ulrich Drepper <drepper@redhat.com> [BZ #5465] * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S [!SHARED] (__pthread_cond_timedwait): Don't use VDSO.
* * malloc/arena.c (grow_heap): Split out code to shrink heap into...Ulrich Drepper2007-12-122-33/+51
| | | | | (shrink_heap): ... this new function. (heap_trim): Call shrink_heap instead of grow_heap.
* * malloc/malloc.c (_int_malloc): sYSMALLOc might fail, in thisUlrich Drepper2007-12-112-2/+7
| | | | case don't call alloc_perturb.
* * charmaps/UTF-8: Add Unicode 5.1 entries.Ulrich Drepper2007-12-112-2084/+3704
|
* * sysdeps/unix/sysv/linux/adjtime.c: Use ADJ_OFFSET_SS_READ ifUlrich Drepper2007-12-104-4/+36
| | | | | | | possible. * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_ADJ_OFFSET_SS_READ): Define for 2.6.24. * sysdeps/unix/sysv/linux/sys/timex.h (ADJ_OFFSET_SS_READ): Define.
* [BZ #5424, BZ #5428, BZ #5451]Ulrich Drepper2007-12-1018-56/+296
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-12-08 Ulrich Drepper <drepper@redhat.com> [BZ #5424] * stdio-common/vfprintf.c: Do not overflow when adding to done. * stdio-common/Makefile (tests): Add bug22. * stdio-common/bug22.c: New file. [BZ #5451] * time/getdate.c: Fix filling in default values. * time/bug-getdate1.c: New file. * time/Makefile: Add rules to build and run bug-getdate1. * iconvdata/ebcdic-is-friss.c: Use 8bit-gap instead of 8bit-generic. * iconvdata/ebcdic-es.c: Likewise. * iconvdata/ebcdic-es-a.c: Likewise. * iconvdata/ebcdic-uk.c: Likewise. * iconvdata/iso8859-16.c: Likewise. * iconvdata/viscii.c: Likewise. * iconvdata/iso8859-9e.c: Likewise. * iconvdata/Makefile: Adjust appropriately. [BZ #5428] * wcsmbs/wchar.h: Unconditionally undefine __need_mbstate and __need_wint_t. * iconvdata/gconv-modules: Likewise.
* [BZ #5427]Ulrich Drepper2007-12-087-9/+315
| | | | | | | | | | | * iconvdata/hp-roman9.c: New file. * iconvdata/Makefile: Add rules for hp-roman9.c. * iconvdata/tst-tables.sh: Add HP-ROMAN9. * iconvdata/hp-roman8.c: Use 8bit-gap instead of 8bit-generic. * iconvdata/Makefile: Adjust appropriately. keyword for gcc's braced-groups.
* [BZ #5441, BZ #5452, BZ #5454]Ulrich Drepper2007-12-0710-35/+125
| | | | | | | | | | | | | | | | | | | | | | 2007-12-07 Ulrich Drepper <drepper@redhat.com> [BZ #5441] * stdio-common/vfscanf.c (_IO_vfwscanf): Don't free ptrs_to_free structure, it's allocated with alloca. * stdio-common/Makefile (tests): Add bug21. * stdio-common/bug21.c: New file. 2007-12-06 Aurelien Jarno <aurelien@aurel32.net> [BZ #5452] * sysdeps/unix/sysv/linux/bits/sched.h: Use __extension__ keyword for gcc's braced-groups. 2007-12-07 Ulrich Drepper <drepper@redhat.com> [BZ #5454] * inet/ether_line.c: Strip hostname of whitespaces. * inet/Makefile (tests): Add tst-ether_line. * inet/tst-ether_line.c: New file.
* * locales/si_LK (mon): Fix February and November spelling.Ulrich Drepper2007-12-053-6/+10
| | | | Patch by Danishka Navin <snavin@redhat.com>.
* * sysdeps/unix/sysv/linux/sh/lowlevellock.S (__lll_timedlock_wait):Ulrich Drepper2007-12-052-28/+23
| | | | Store 2 before returning ETIMEDOUT.
* [BZ #5439]Ulrich Drepper2007-12-032-1/+4
| | | | * sysdeps/unix/sysv/linux/sys/signalfd.h: Fix use of __nonnull.
* [BZ #5435]Ulrich Drepper2007-12-032-5/+14
| | | | * sysdeps/unix/sysv/linux/i386/makecontext.S: Align stack.
* * stdlib/tst-setcontext.c: Catch the case where the links getsUlrich Drepper2007-12-032-0/+21
| | | | messed up and we do not reach main again.
* * po/ca.po: Update from translation team.Ulrich Drepper2007-12-032-4021/+4604
|
* * posix/unistd.h: Declare fsync also for __USE_XOPEN2K.Ulrich Drepper2007-11-263-3/+3
|
* Define __need_FILE also for __USE_XOPEN2K.Ulrich Drepper2007-11-262-1/+2
| | | | * wcsmbs/wchar.h: Define __need_file also for __USE_XOPEN2K.
* Define REG_ENOSYS also for Unix98.Ulrich Drepper2007-11-262-1/+2
| | | | * posix/regex.h (REG_ENOSYS): Likewise.
* Declare fsync also for Unix98.Ulrich Drepper2007-11-263-3/+7
| | | | | | 2007-11-26 Ulrich Drepper <drepper@redhat.com> * posix/unistd.h: Declare fsync also for Unix98.
* memory allocation failed.Ulrich Drepper2007-11-251-1/+1
|
* Clear array before use.Ulrich Drepper2007-11-256-2/+17
| | | | | | | | * nscd/hstcache.c (cache_addhst): Likewise. * nscd/grpcache.c (cache_addgr): Likewise. * nscd/servicescache.c (cache_addserv): Likewise. * nscd/pwdcache.c (cache_addpw): Likewise. * nscd/initgrcache.c (addinitgroupsX): Likewise.
* * nscd/nscd.h (MAX_STACK_USE): Define.Ulrich Drepper2007-11-255-7/+44
| | | | | | | | | | * nscd/mem.c (MAX_STACK_USE): Remove definition here. (gc): Initialize stack_used based on allocation in prune_cache. * nscd/cache.c (prune_cache): Use heap for mark array if necessary. Clear array bfore use. * nscd/aicache.c (addhstaiX): Update statistics counter in case memory allocate failed.
* * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Add openUlrich Drepper2007-11-242-0/+5
| | | | and creat system calls.
* * sysdeps/unix/sysv/linux/check_native.c: Include <asm/types.h>.Ulrich Drepper2007-11-242-2/+7
| | | | | * nscd/mem.c (gc): Don't allocate arrays on the stack if they can Return zero in case the thread library is not NPTL.
* * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S (__lll_timedlock_wait):Ulrich Drepper2007-11-244-105/+65
| | | | | | | | Store 2 before returning ETIMEDOUT. * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise * sysdeps/unix/sysv/linux/lowlevellock.c: Likewise. (__lll_lock_wait_private): Optimize. (__lll_lock_wait): Likewise.
* * sysdeps/s390/bits/string.h (strlen, strcpy, strncpy, strcat,Ulrich Drepper2007-11-232-5/+18
| | | | strncat): Define as macros to avoid compile errors.
* * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Add open andUlrich Drepper2007-11-232-0/+8
| | | | creat entries.
* * sysdeps/unix/sysv/linux/Makefile [subdir=inet] (sysdep_headers):Ulrich Drepper2007-11-237-4/+66
| | | | | | | | | | Add netiucv/iucv.h. * sysdeps/unix/sysv/linux/netiucv/iucv.h: New file. * sysdeps/unix/sysv/linux/opensock.c (__opensock): Add AF_IUCV protocol. * sysdeps/unix/sysv/linux/sa_len.c (__libc_sa_len): Likewise. * sysdeps/unix/sysv/linux/s390/opensock.c: New file. * sysdeps/unix/sysv/linux/s390/sa_len.c: New file.
* Partially based on a patch by Petr Baudis <pasky@suse.cz>.Ulrich Drepper2007-11-231-0/+1
|
* [BZ #5382]Ulrich Drepper2007-11-235-7/+65
| | | | | | | | | | * nscd/nscd.h (NSCD_THREAD_STACKSIZE): Define. * nscd/connections.c (start_threads): Use NSCD_THREAD_STACKSIZE. * nscd/mem.c (gc): Don't allocate arrays on stack if it can overflow it. * sysdeps/unix/sysv/linux/nscd_setup_thread.c (setup_thread): Return zero in case thread library is not NPTL.
* [BZ #5375]Ulrich Drepper2007-11-232-36/+48
| | | | | * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix locking when initializing interface list.
* [BZ #5378]Ulrich Drepper2007-11-232-4/+19
| | | | | | | * nis/nss_compat/compat-initgroups.c (getgrent_next_nss): Don't use result of nss_getgrgid_r if nothing was found. For other error return with a failure. Partially based on a patch by Petr Baudis <pasky@suse.cz>.
* * locale/programs/ld-collate.c (collate_read): Fix loop to matchUlrich Drepper2007-11-222-0/+7
| | | | macro name.
* * sysdeps/pthread/pthread.h (pthread_cleanup_push,Ulrich Drepper2007-11-202-2/+8
| | | | | pthread_cleanup_push_defer_np): Add extra (void *) cast to shut up g++ 4.1 and 4.2 -Wstrict-aliasing warnings.
* * sysdeps/posix/getaddrinfo.c (defaults_scopes, scopes): New variables.Ulrich Drepper2007-11-207-13/+367
| | | | | | | | | | | | | (get_scope): For IPv4 scope, use scopes table. (fini): Free scopes table if necessary. (free_scopelist): New function. (scopecmp): New function. (gaiconf_init): Also handle scopev4 entries. * posix/tst-rfc3484.c (do_test): Initialize scopes. * posix/tst-rfc3484-2.c (do_test): Likewise. * posix/gai.conf: Document scopev4 defaults. * posix/Makefile (tests): Add tst-rfc3484-3. * posix/tst-rfc3484-3.c: New file.
* * sysdeps/posix/getaddrinfo.c (default_labels): Describe entry forUlrich Drepper2007-11-192-0/+3
| | | | Teredo tunnels.
* * posix/gai.conf: Update for current default tables.Ulrich Drepper2007-11-192-9/+15
| | | | 2007-11-19 Ulrich Drepper <drepper@redhat.com>
* * po/tr.po: Update from translation team.Ulrich Drepper2007-11-191-0/+4
|