about summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
* 008-01-08 Jakub Jelinek <jakub@redhat.com>Ulrich Drepper2008-01-0915-45/+182
| | | | | | | | | | | | | | | | | | | | | | | * iconv/loop.c (UPDATE_PARAMS): Define to empty statement if not defined. (REINIT_PARAMS): Likewise. Undefine before end of file. (STANDARD_TO_LOOP_ERR_HANDLER): Use UPDATE_PARAMS before calling transliteration hooks and REINIT_PARAMS afterwards. * iconvdata/iso-2022-jp.c (BODY): Use a separate variable for status. (REINIT_PARAMS): Define. * iconvdata/ibm1364.c (REINIT_PARAMS): Likewise. * iconvdata/ibm930.c (REINIT_PARAMS): Likewise. * iconvdata/ibm933.c (REINIT_PARAMS): Likewise. * iconvdata/ibm935.c (REINIT_PARAMS): Likewise. * iconvdata/ibm937.c (REINIT_PARAMS): Likewise. * iconvdata/ibm939.c (REINIT_PARAMS): Likewise. * iconvdata/iso-2022-cn.c (REINIT_PARAMS): Likewise. * iconvdata/iso-2022-cn-ext.c (REINIT_PARAMS): Likewise. * iconvdata/iso-2022-jp-3.c (REINIT_PARAMS): Likewise. * iconvdata/iso-2022-kr.c (REINIT_PARAMS): Likewise. * iconvdata/Makefile: Add rules to build and run tst-iconv7.c. * iconvdata/tst-iconv7.c: New test.
* * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext): AvoidUlrich Drepper2008-01-094-6/+97
| | | | | | clobbering memory at or above uc_stack.ss_sp + uc_stack.ss_size. * stdlib/Makefile: Add rules to build and run tst-makecontext2. * stdlib/tst-makecontext2.c: New test.
* * libio/stdio.h (vscanf): Fix definition for loser compilers.Ulrich Drepper2008-01-081-0/+4
|
* (vscanf): Fix definition for loser compilers.Ulrich Drepper2008-01-081-2/+2
|
* [BZ #5112] Jakub Jelinek2008-01-052-2/+8
| | | | | | | | * nscd/connections.c (restart): Fix condition. 2008-01-05 Jakub Jelinek <jakub@redhat.com> [BZ #5112] * nscd/connections.c (restart): Fix condition.
* * ctype/ctype.h (__ctype_b_loc, __ctype_tolower_loc, cvs/fedora-glibc-20080103T1958Ulrich Drepper2008-01-032-4/+9
| | | | __ctype_toupper_loc): Add __THROW.
* * sysdeps/unix/sysv/linux/check_pf.c (make_request): FixUlrich Drepper2008-01-032-2/+5
| | | | recognition of interface family.
* * posix/getconf.c: Update copyright year.Ulrich Drepper2008-01-0217-32/+51
| | | | | | | | | | | | | | | | | | * nss/getent.c: Likewise. * iconv/iconvconfig.c: Likewise. * iconv/iconv_prog.c: Likewise. * elf/ldconfig.c: Likewise. * catgets/gencat.c: Likewise. * csu/version.c: Likewise. * elf/ldd.bash.in: Likewise. * elf/sprof.c (print_version): Likewise. * locale/programs/locale.c: Likewise. * locale/programs/localedef.c: Likewise. * nscd/nscd.c (print_version): Likewise. * debug/xtrace.sh: Likewise. * malloc/memusage.sh: Likewise. * malloc/mtrace.pl: Likewise. * debug/catchsegv.sh: Likewise.
* * nss/nsswitch.c (__nss_lookup): Actually use alternative name in cvs/fedora-glibc-20071227T0908Ulrich Drepper2007-12-262-2/+7
| | | | second lookup.
* * sysdeps/x86_64/cacheinfo.c (intel_02_known): New entry 0x3f.Ulrich Drepper2007-12-231-0/+5
| | | | * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
* (intel_02_known): New entry 0x3f.Ulrich Drepper2007-12-232-0/+2
|
* * inet/ether_line.c (ether_line): Remove unused variable.Roland McGrath2007-12-175-8/+22
| | | | | | | | | | 2007-12-17 Samuel Thibault <samuel.thibault@ens-lyon.org> * login/forkpty.c (forkpty): Add const qualifier to parameters termp and winp. * login/openpty.c (openpty): Likewise. * login/pty.h (openpty, forkpty): Likewise. * manual/terminal.texi (openpty, forkpty): Likewise.
* 2007-12-17 Roland McGrath <roland@redhat.com>Roland McGrath2007-12-171-5/+2
| | | | * inet/ether_line.c (ether_line): Remove unused variable.
* * 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.