aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2007-05-07[BZ #4456]Ulrich Drepper1-0/+6
2007-05-02 Carlos O'Donell <carlos@systemhalted.org> [BZ #4456] * allocatestack.c (change_stack_perm): Add _STACK_GROWS_UP case. (allocate_stack): Likewise.
2007-05-07(change_stack_perm): Handle stacks growing up. (allocate_stack): Likewise.Ulrich Drepper1-5/+19
2007-05-07* malloc/arena.c (heap_info): Add mprotect_size field, adjust pad. Jakub Jelinek3-8/+39
(new_heap): Initialize mprotect_size. (grow_heap): When growing, only mprotect from mprotect_size till new_size if mprotect_size is smaller. When shrinking, use PROT_NONE MMAP for __libc_enable_secure only, otherwise use MADV_DONTNEED. 2007-05-07 Ulrich Drepper <drepper@redhat.com> Jakub Jelinek <jakub@redhat.com> * malloc/arena.c (heap_info): Add mprotect_size field, adjust pad. (new_heap): Initialize mprotect_size. (grow_heap): When growing, only mprotect from mprotect_size till new_size if mprotect_size is smaller. When shrinking, use PROT_NONE MMAP for __libc_enable_secure only, otherwise use MADV_DONTNEED.
2007-05-07* sysdeps/unix/sysv/linux/lowlevelrobustlock.cUlrich Drepper2-3/+26
(__lll_robust_lock_wait): Fix race caused by reloading of futex value. (__lll_robust_timedlock_wait): Likewise. Reported by Alexey Kuznetsov <kuznet@ms2.inr.ac.ru>.
2007-05-07* locales/as_IN: Fix currency_symbol, abday for Sunday, abmon forUlrich Drepper2-17/+24
January, February, and September to December, mon for January, February, September, and December, am_pm, and name_*. Patch by Amitakhya Phukan <aphukan@redhat.com>.
2007-05-072007-04-30 Steven Munroe <sjmunroe@us.ibm.com>Ulrich Drepper13-19/+249
Peter Bergner <bergner@us.ibm.com> * sysdeps/powerpc/bits/fenv.h: Declare __fe_mask_env extern. Define FE_NOMASK_ENV as FE_EANBLED_ENV. Define FE_MASK_ENV. * sysdeps/powerpc/fpu/Makefile: Add fe_mask to libm-support. * sysdeps/powerpc/fpu/fe_mask.c: New file. * sysdeps/powerpc/fpu/fe_nomask.c: Correct comment. * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Call __fe_mask_env() if all FP exceptions disabled. * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Copy high 32-bits from old FPSCR to new fenv to propagate DFP rounding modes. Call __fe_mask_env() if FP exceptions previously enabled. * sysdeps/powerpc/fpu/fesetenv.c (fesetenv): Change mask to merge exceptions from env. Use __fe_nomask_env() or __fe_mask_env() when transitioning from all exceptions disabled to any exception enabled or visa versa. * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Change mask to merge exceptions from env. Call __fe_nomask_env or __fe_mask_env when transitioning from all exceptions disabled to any exception enabled or visa versa. * sysdeps/unix/sysv/linux/powerpc/powerpc32/fe_nomask.c: Moved to... * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: ...here. * sysdeps/unix/sysv/linux/powerpc/powerpc64/fe_nomask.c: Moved to... * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: ...here. * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: New file. * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: New file.
2007-05-07[BZ #4465]Ulrich Drepper2-0/+3
[BZ #4465]
2007-05-07* posix/unistd.h: Remove __THROW from fdatasync.Ulrich Drepper5-3/+55
2007-05-07* sysdeps/unix/sysv/linux/syscalls.list (fdatasync): Add "C" to args.Ulrich Drepper2-1/+5
2007-05-07* stdio-common/vfprintf.c (process_string_arg): OptimizeUlrich Drepper2-2/+7
ridiculous precision in wide char code printing multi-byte string. Reported by Jim Meyering <jim@meyering.net>.
2007-05-06[BZ #4131]Ulrich Drepper2-113/+120
2007-05-06 Ulrich Drepper <drepper@redhat.com> [BZ #4131] * elf/dl-addr.c (_dl_addr): Compare address with actual segment boundaries to work around systems with overlapping binary loading. Based on a patch by Suzuki <suzuki@in.ibm.com>.
2007-05-05* stdio-common/vfprintf.c (process_string_arg): Adjust call toUlrich Drepper2-2/+5
__mbsnrtowcs after last change.
2007-05-05* soft-fp/op-2.h (_FP_FRAC_COPY_2_2): Define as alias toUlrich Drepper1-2/+4
_FP_FRAC_COPY_2. * soft-fp/op-4.h (_FP_FRAC_COPY_2_2): Define as alias to _FP_FRAC_COPY_4.
2007-05-05* locale/programs/linereader.c (get_symname): Fix adding final NUL.Ulrich Drepper2-2/+7
(get_ident): Likewise.
2007-05-04[BZ #4114]Ulrich Drepper2-0/+8
2007-05-04 Ulrich Drepper <drepper@redhat.com> [BZ #4114] * locales/ast_ES: New file. * SUPPORTED (SUPPORTED-LOCALES): Add ast_ES.UTF-8 and ast_ES.
2007-05-04Asturian language locale for Spain.Ulrich Drepper1-0/+132
2007-05-03* soft-fp/op-common.h (FP_TRUNC): Replace raising of FP_EX_INEXACT cvs/fedora-glibc-20070504T0917Jakub Jelinek10-60/+164
with setting the sticky bit. * math/test-misc.c (main): Add more truncation tests. * soft-fp/floatunsidf.c (__floatunsidf): Use DFtype instead of double in the function declaration. * soft-fp/floatundidf.c (__floatundidf): Use DFtype instead of double in the function declaration. * soft-fp/floatunsisf.c (__floatunsisf): Use SFtype instead of float in the function declaration. * soft-fp/floatunsisf.c (__floatunsisf): Use SFtype instead of float in the function declaration. * soft-fp/extended.h (FP_UNPACK_RAW_E): Do not increase X##_e for denormal operands. Do not generate FP_EX_DENORM exception. (FP_UNPACK_RAW_EP): Ditto. (FP_UNPACK_SEMIRAW_E): Use FP_UNPACK_RAW_E instead of undefined _FP_UNPACK_RAW_E. (FP_UNPACK_SEMIRAW_EP): Use FP_UNPACK_RAW_EP instead of undefined _FP_UNPACK_RAW_EP. (FP_PACK_SEMIRAW_E): Use FP_PACK_RAW_E instead of undefined _FP_PACK_RAW_E. (FP_PACK_SEMIRAW_EP): Use FP_PACK_RAW_EP instead of undefined _FP_PACK_RAW_EP. * op-2.h (_FP_FRAC_COPY_2_2): Define as alias to _FP_FRAC_COPY_2. * op-4.h (_FP_FRAC_COPY_2_2): Define as alias to _FP_FRAC_COPY_4. * soft-fp/op-common.h (FP_EXTEND): Do not abort when _FP_EXPBIAS_##dfs == _FP_EXPBIAS_##sfs. Handle denormals for this case. * soft-fp/op-common.h (FP_TRUNC): Ditto. * soft-fp/op-common.h (FP_TRUNC): Replace raising of FP_EX_INEXACT with setting the sticky bit. * math/test-misc.c (main): Add more truncation tests. 2007-04-14 Uros Bizjak <ubizjak@gmail.com> * soft-fp/floatunsidf.c (__floatunsidf): Use DFtype instead of double in the function declaration. * soft-fp/floatundidf.c (__floatundidf): Use DFtype instead of double in the function declaration. * soft-fp/floatunsisf.c (__floatunsisf): Use SFtype instead of float in the function declaration. * soft-fp/floatunsisf.c (__floatunsisf): Use SFtype instead of float in the function declaration. * soft-fp/extended.h (FP_UNPACK_RAW_E): Do not increase X##_e for denormal operands. Do not generate FP_EX_DENORM exception. (FP_UNPACK_RAW_EP): Ditto. (FP_UNPACK_SEMIRAW_E): Use FP_UNPACK_RAW_E instead of undefined _FP_UNPACK_RAW_E. (FP_UNPACK_SEMIRAW_EP): Use FP_UNPACK_RAW_EP instead of undefined _FP_UNPACK_RAW_EP. (FP_PACK_SEMIRAW_E): Use FP_PACK_RAW_E instead of undefined _FP_PACK_RAW_E. (FP_PACK_SEMIRAW_EP): Use FP_PACK_RAW_EP instead of undefined _FP_PACK_RAW_EP. * op-2.h (_FP_FRAC_COPY_2_2): Define as alias to _FP_FRAC_COPY_2. * op-4.h (_FP_FRAC_COPY_2_2): Define as alias to _FP_FRAC_COPY_4. 2007-04-16 Uros Bizjak <ubizjak@gmail.com> Jakub Jelinek <jakub@redhat.com> * soft-fp/op-common.h (FP_EXTEND): Do not abort when _FP_EXPBIAS_##dfs == _FP_EXPBIAS_##sfs. Handle denormals for this case. * soft-fp/op-common.h (FP_TRUNC): Ditto. 2007-05-03 Jakub Jelinek <jakub@redhat.com>
2007-05-03* math/test-misc.c (main): Add tests for rounding long double Jakub Jelinek3-2/+33
values close to smallest double denormalized value to double. * soft-fp/op-common.h (FP_TRUNC): Correct off-by-one error in condition for truncating to 0. Set sticky bit for such truncation. 2007-05-03 Jakub Jelinek <jakub@redhat.com> * math/test-misc.c (main): Add tests for rounding long double values close to smallest double denormalized value to double. 2007-04-30 Joseph Myers <joseph@codesourcery.com> * soft-fp/op-common.h (FP_TRUNC): Correct off-by-one error in condition for truncating to 0. Set sticky bit for such truncation.
2007-05-02* stdio-common/vfprintf.c (process_string_arg): Use a VLA rather thanUlrich Drepper2-1/+7
fixed length array for ignore.
2007-05-01* stdio-common/test-vfprintf.c (main): Add test for largeUlrich Drepper2-3/+7
precision.
2007-05-01[BZ #4438]Ulrich Drepper2-9/+21
2007-04-30 Ulrich Drepper <drepper@redhat.com> [BZ #4438] * stdio-common/vfprintf.c (process_string_arg): Don't overflow the stack for large precisions.
2007-04-30* stdio-common/printf_fp.c (___printf_fp): Don't print negative signUlrich Drepper3-1/+13
for exponent 0. * stdio-common/tfformat.c (sprint_doubles): Add a new test.
2007-04-30[BZ #4439]Ulrich Drepper4-3/+122
2007-04-30 Jakub Jelinek <jakub@redhat.com> [BZ #4439] * resolv/inet_ntop.c (inet_ntop4): Take terminating '\0' into account in the size check. * resolv/tst-inet_ntop.c: New test. * resolv/Makefile (tests): Add tst-inet_ntop.
2007-04-30[BZ #4349]Ulrich Drepper2-25/+119
2007-04-30 Ulrich Drepper <drepper@redhat.com> Jakub Jelinek <jakub@redhat.com> [BZ #4349] * malloc/malloc.c: Keep separate list for first blocks on the bin lists with a given size. This helps skipping over list elements we know won't fit in two places. Inspired by a patch by Tomash Brechko <tomash.brechko@gmail.com>.
2007-04-28[BZ #4102]Ulrich Drepper2-5/+83
2007-04-28 Ulrich Drepper <drepper@redhat.com> [BZ #4102] * sysdeps/posix/getaddrinfo.c (default_labels): Assign separate label to Teredo tunnel addresses 2001://32.
2007-04-28* locale/programs/ld-collate.c (collate_read): Allow order_startUlrich Drepper7-2425/+27951
after copy.
2007-04-28[BZ #3213]Ulrich Drepper6-382/+398
* locale/programs/ld-collate.c (collate_read): Fix printing of error message. [BZ #3213] * locale/C-translit.h.in: Add entry for U2044.
2007-04-28[BZ #4392]Ulrich Drepper2-8/+5
* pthread_mutex_trylock.c (__pthread_mutex_trylock): Treat error check mutexes like normal mutexes.
2007-04-28[BZ #4306]Ulrich Drepper3-11/+15
2007-04-27 Ulrich Drepper <drepper@redhat.com> [BZ #4306] * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Initialize the whole sigevent structure to appease valgrind.
2007-04-27[BZ #4342]Ulrich Drepper2-3/+10
2007-04-27 Ulrich Drepper <drepper@redhat.com> [BZ #4342] * stdio-common/vfscanf.c (_IO_vfscanf_internal): Allow hexa-decimal floats without exponent. * stdio-common/tstscanf.c (main): Adjust Test 8 test for success. * iconv/gconv_charset.h (strip): Allow ':'.
2007-04-27(_IO_vfscanf_internal): Allow hexa-decimal floats without exponent.Ulrich Drepper1-3/+2
2007-04-26* io/bug-ftw5.c: New file.Jakub Jelinek1-1/+1
2007-04-26* sysdeps/unix/sysv/linux/Makefile [subdir=posix] (sysdep_routines):Ulrich Drepper4-3/+10
Add sched_getcpu.
2007-04-26* sysdeps/unix/sysv/linux/bits/sched.h: Declare sched_getcpu.Ulrich Drepper6-1/+100
* sysdeps/unix/sysv/linux/sched_getcpu.c: New file. * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: New file. * sysdeps/unix/sysv/linux/Versions: Export sched_getcpu for GLIBC_2.6.
2007-04-26(tcbhead_t): Add vgetcpu_cache.Ulrich Drepper1-2/+3
2007-04-25* sysdeps/unix/sysv/linux/check_pf.c (make_request): Return -1 instead Jakub Jelinek2-1/+6
of 0 after the out_fail label. 2007-04-25 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/check_pf.c (make_request): Return -1 instead of 0 after the out_fail label.
2007-04-25[BZ #4406]Ulrich Drepper2-2/+8
2007-04-25 Ulrich Drepper <drepper@redhat.com> [BZ #4406] * iconv/gconv_charset.h (strip): Allow ':' * iconv/iconv_open.c (iconv_open): Adjust comment.
2007-04-25(strip): Allow ':'Ulrich Drepper1-2/+2
2007-04-25* libio/bits/stdio.h (fgetc_unlocked): Add extern inline optimized Jakub Jelinek2-0/+15
version. 2007-04-25 Jakub Jelinek <jakub@redhat.com> * libio/bits/stdio.h (fgetc_unlocked): Add extern inline optimized version.
2007-04-24[BZ #4411]Ulrich Drepper2-6/+15
2007-04-24 Ulrich Drepper <drepper@redhat.com> [BZ #4411] * locales/en_ZA: Update int_select. Patch by Dwayne Bailey <dwayne@translate.org.za>.
2007-04-23[BZ #4381]Ulrich Drepper4-23/+69
* nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Ensure sufficient alignment of buffer and tmp_buffer. * nis/nss_nis/nis-hosts.c (internal_nis_gethostent_r, internal_gethostbyname2_r, _nss_nis_gethostbyaddr_r): Ensure sufficient alignment of buffer. * resolv/nss_dns/dns-hosts.c (getanswer_r): Likewise. Handle buflen bigger than INT_MAX. * resolv/nss_dns/dns-network.c (getanswer_r): Likewise. Add errnop and h_errnop arguments. Fail if buflen is too small. (_nss_dns_getnetbyname_r, _nss_dns_getnetbyaddr_r): Adjust callers. 2007-04-23 Jakub Jelinek <jakub@redhat.com>
2007-04-23(HOST_DB_LOOKUP): Ensure sufficient alignment of buffer and tmp_buffer.Ulrich Drepper1-2/+8
2007-04-23[BZ #4405] Jakub Jelinek2-1/+7
* iconvdata/gconv-modules (E13B): Add a missing slash to the alias name. Patch by Aurelien Jarno <aurelien@aurel32.net>. 2007-04-23 Jakub Jelinek <jakub@redhat.com> [BZ #4405] * iconvdata/gconv-modules (E13B): Add a missing slash to the alias name. Patch by Aurelien Jarno <aurelien@aurel32.net>.
2007-04-22* elf/elf.h (NT_PRXFPREG): New macro.Roland McGrath1-0/+4
2007-04-222007-04-22 Roland McGrath <roland@redhat.com>Roland McGrath1-0/+1
* elf/elf.h (NT_PRXFPREG): New macro.
2007-04-20[BZ #3905] Andreas Jaeger2-1/+15
* bits/in.h (IPV6_ROUTER_ALERT, IPV6_MTU_DISCOVER, IPV6_MTU, IPV6_RECVERR, IPV6_V6ONLY, IPV6_JOIN_ANYCAST, IPV6_LEAVE_ANYCAST): Added. 2007-04-19 Andreas Jaeger <aj@suse.de> [BZ #3905] * bits/in.h (IPV6_ROUTER_ALERT, IPV6_MTU_DISCOVER, IPV6_MTU, IPV6_RECVERR, IPV6_V6ONLY, IPV6_JOIN_ANYCAST, IPV6_LEAVE_ANYCAST): Added.
2007-04-19* misc/madvise.c: Add libc_hidden_def.Ulrich Drepper2-1/+3
2007-04-19* include/sys/mman.h: Mark madvise hidden.Ulrich Drepper2-0/+7
2007-04-19* nis/nis_domain_of.c (__nis_domain_of): New function.Ulrich Drepper5-36/+52
* include/rpcsvc/nislib.h (__nis_domain_of): New prototype. * nis/nis_lookup.c (nis_lookup): Use __nis_domain_of. * nis/nis_call.c (rec_dirsearch): Likewise. (first_shoot): Likewise. Remove search_parent_first argument. (struct nis_server_cache): Rename search_parent_first field to search_parent. (nis_server_cache_search, nis_server_cache_add): Rename search_parent_first argument to search_parent. (__nisfind_server): Likewise. If search_parent, call __nis_domain_of.
2007-04-18* sysdeps/posix/getaddrinfo.c: Remove commented-out code.Ulrich Drepper2-176/+4