about summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
...
* [BZ #4306]Ulrich Drepper2007-04-283-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.
* [BZ #4342]Ulrich Drepper2007-04-272-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 ':'.
* (_IO_vfscanf_internal): Allow hexa-decimal floats without exponent.Ulrich Drepper2007-04-271-3/+2
|
* * io/bug-ftw5.c: New file.Jakub Jelinek2007-04-261-1/+1
|
* * sysdeps/unix/sysv/linux/Makefile [subdir=posix] (sysdep_routines):Ulrich Drepper2007-04-264-3/+10
| | | | Add sched_getcpu.
* * sysdeps/unix/sysv/linux/bits/sched.h: Declare sched_getcpu.Ulrich Drepper2007-04-266-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.
* (tcbhead_t): Add vgetcpu_cache.Ulrich Drepper2007-04-261-2/+3
|
* * sysdeps/unix/sysv/linux/check_pf.c (make_request): Return -1 instead Jakub Jelinek2007-04-252-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.
* [BZ #4406]Ulrich Drepper2007-04-252-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.
* (strip): Allow ':'Ulrich Drepper2007-04-251-2/+2
|
* * libio/bits/stdio.h (fgetc_unlocked): Add extern inline optimized Jakub Jelinek2007-04-252-0/+15
| | | | | | | | version. 2007-04-25 Jakub Jelinek <jakub@redhat.com> * libio/bits/stdio.h (fgetc_unlocked): Add extern inline optimized version.
* [BZ #4411]Ulrich Drepper2007-04-242-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>.
* [BZ #4381]Ulrich Drepper2007-04-234-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>
* (HOST_DB_LOOKUP): Ensure sufficient alignment of buffer and tmp_buffer.Ulrich Drepper2007-04-231-2/+8
|
* [BZ #4405] Jakub Jelinek2007-04-232-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>.
* * elf/elf.h (NT_PRXFPREG): New macro.Roland McGrath2007-04-221-0/+4
|
* 2007-04-22 Roland McGrath <roland@redhat.com>Roland McGrath2007-04-221-0/+1
| | | | * elf/elf.h (NT_PRXFPREG): New macro.
* [BZ #3905] Andreas Jaeger2007-04-202-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.
* * misc/madvise.c: Add libc_hidden_def.Ulrich Drepper2007-04-192-1/+3
|
* * include/sys/mman.h: Mark madvise hidden.Ulrich Drepper2007-04-192-0/+7
|
* * nis/nis_domain_of.c (__nis_domain_of): New function.Ulrich Drepper2007-04-195-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.
* * sysdeps/posix/getaddrinfo.c: Remove commented-out code.Ulrich Drepper2007-04-182-176/+4
|
* [BZ #4368]Ulrich Drepper2007-04-172-6/+10
| | | | | | 2007-04-17 Ulrich Drepper <drepper@redhat.com> [BZ #4368] * stdlib/stdlib.h: Remove obsolete part of comment for realpath.
* [BZ #4364] cvs/fedora-glibc-20070416T2350Ulrich Drepper2007-04-162-2/+9
| | | | | | 2007-04-16 Ulrich Drepper <drepper@redhat.com> [BZ #4364] * posix/unistd.h (_XOPEN_VERSION): Define appropriately for SUSv3.
* * locale/programs/locarchive.c (INITIAL_NUM_NAMES,Ulrich Drepper2007-04-162-8/+37
| | | | | | | | INITIAL_SIZE_STRINGS, INITIAL_NUM_LOCREC): Update to accomodate current number of locales in SUPPORTED. (create_archive): Initialize serial. (enlarge_archive): Preserve aliases rather than duplicating their locrecs.
* * libio/genops.c (_IO_default_finish): Call _IO_lock_finiUlrich Drepper2007-04-162-3/+6
| | | | after _IO_un_link, not before it.
* * stdio-common/printf_fp.c (___printf_fp): Fix exponent -4Ulrich Drepper2007-04-163-4/+16
| | | | | special case handling when wcp == wstartp + 1. Fix a comment typo. * stdio-common/tfformat.c (sprint_doubles): Add a new testcase.
* * libio/libio.h (__underflow, __uflow, __overflow, __wunderflow,Ulrich Drepper2007-04-164-142/+158
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | __wuflow, __woverflow, _IO_getc, _IO_putc, _IO_peekc_locked, _IO_padn, _IO_sgetn, _IO_seekoff, _IO_seekpos, _IO_getwc, _IO_putwc, _IO_wpadn): Remove __THROW. * libio/fileops.c (new_do_write, _IO_file_xsgetn_mmap, _IO_file_xsgetn_maybe_mmap): Likewise. * libio/oldfileops.c (old_do_write): Likewise. * libio/libioP.h (_IO_switch_to_get_mode, _IO_switch_to_wget_mode, _IO_init_marker, _IO_init_wmarker, _IO_default_uflow, _IO_wdefault_uflow, _IO_default_setbuf, _IO_default_seekpos, _IO_do_write, _IO_new_do_write, _IO_old_do_write, _IO_wdo_write, _IO_flush_all_lockp, _IO_flush_all, _IO_cleanup, _IO_flush_all_linebuffered, _IO_new_fgetpos, _IO_old_fgetpos, _IO_new_fsetpos, _IO_old_fsetpos, _IO_new_fgetpos64, _IO_old_fgetpos64, _IO_new_fsetpos64, _IO_old_fsetpos64, _IO_file_setbuf, _IO_file_seekoff, _IO_file_xsputn, _IO_file_xsgetn, _IO_file_underflow, _IO_file_underflow_mmap, _IO_file_underflow_maybe_mmap, _IO_file_overflow, _IO_file_attach, _IO_file_open, _IO_file_fopen, _IO_file_write, _IO_file_read, _IO_file_sync, _IO_file_close_it, _IO_file_finish, _IO_new_file_attach, _IO_new_file_close_it, _IO_new_file_finish, _IO_new_file_fopen, _IO_new_file_setbuf, _IO_file_setbuf_mmap, _IO_new_file_sync, _IO_new_file_underflow, _IO_new_file_overflow, _IO_new_file_seekoff, _IO_new_file_write, _IO_new_file_xsputn, _IO_old_file_setbuf, _IO_old_file_seekoff, _IO_old_file_xsputn, _IO_old_file_underflow, _IO_old_file_overflow, _IO_old_file_attach, _IO_old_file_fopen, _IO_old_file_write, _IO_old_file_sync, _IO_old_file_close_it, _IO_old_file_finish, _IO_wfile_xsputn, _IO_wfile_setbuf, _IO_wfile_sync, _IO_wfile_underflow, _IO_wfile_overflow, _IO_wfile_seekoff, _IO_old_proc_open, _IO_old_proc_close, _IO_getdelim, _IO_flush_all_internal, _IO_adjust_column_internal, _IO_default_uflow_internal, _IO_default_xsgetn_internal, _IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal, _IO_wdefault_uflow_internal, _IO_file_setbuf_internal, _IO_file_seekoff_internal, _IO_file_xsputn_internal, _IO_file_xsgetn_internal, _IO_file_close_it_internal, _IO_file_underflow_internal, _IO_file_overflow_internal, _IO_file_attach_internal, _IO_file_fopen_internal, _IO_file_sync_internal, _IO_file_finish_internal, _IO_wfile_xsputn_internal, _IO_wfile_seekoff_internal, _IO_wfile_sync_internal, _IO_switch_to_wget_mode_internal, _IO_padn_internal, _IO_switch_to_get_mode_internal, _IO_seekoff_unlocked, _IO_seekpos_unlocked): Likewise. (_IO_strtod, _IO_dtoa, _IO_outfloat, _IO_read, _IO_write, _IO_lseek, _IO_close, _IO_fstat): Remove unused prototypes.
* (__underflow, __uflow, __overflow, __wunderflow, __wuflow, __woverflow, ↵Ulrich Drepper2007-04-161-16/+16
| | | | _IO_getc, _IO_putc, _IO_peekc_locked, _IO_padn, _IO_sgetn, _IO_seekoff, _IO_seekpos, _IO_getwc, _IO_putwc, _IO_wpadn): Remove __THROW.
* * locale/programs/locarchive.c (show_archive_content): Fix sizeof Jakub Jelinek2007-04-162-2/+7
| | | | | | | | argument in xmalloc size computation. 2007-04-16 Jakub Jelinek <jakub@redhat.com> * locale/programs/locarchive.c (show_archive_content): Fix sizeof argument in xmalloc size computation.
* * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): UseUlrich Drepper2007-04-165-38/+43
| | | | math_opt_barrier and math_force_eval macros.
* [BZ #3306]Ulrich Drepper2007-04-1617-122/+740
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-03-27 Jakub Jelinek <jakub@redhat.com> [BZ #3306] * math/math_private.h (math_opt_barrier, math_force_eval): Define. * sysdeps/i386/fpu/math_private.h: New file. * sysdeps/x86_64/fpu/math_private.h: New file. * math/s_nexttowardf.c (__nexttowardf): Use math_opt_barrier and math_force_eval macros. Use "+m" constraint on asm rather than "=m" and "m". * math/s_nextafter.c (__nextafter): Likewise. * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise. * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise. * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Likewise. * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise. * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Use math_opt_barrier and math_force_eval macros. * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl): Likewise. * sysdeps/ieee754/ldbl-96/s_nextafterl.c (__nextafterl): Likewise. * sysdeps/i386/fpu/s_nexttoward.c: Include float.h. (__nexttoward): Use math_opt_barrier and math_force_eval macros. Use "+m" constraint on asm rather than "=m" and "m". Only use asm to force double result if FLT_EVAL_METHOD is 2. * sysdeps/i386/fpu/s_nexttowardf.c: Include float.h. (__nexttowardf): Use math_opt_barrier and math_force_eval macros. Use "+m" constraint on asm rather than "=m" and "m". Only use asm to force double result if FLT_EVAL_METHOD is not 0. * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include float.h. (__nexttowardf): Use math_opt_barrier and math_force_eval macros. If FLT_EVAL_METHOD is not 0, force x to float using asm. * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include float.h. (__nldbl_nexttowardf): Use math_opt_barrier and math_force_eval macros. If FLT_EVAL_METHOD is not 0, force x to float using asm. * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include float.h. (__nexttowardf): Use math_opt_barrier and math_force_eval macros. If FLT_EVAL_METHOD is not 0, force x to float using asm. * math/bug-nextafter.c (zero, inf): New variables. (main): Add new tests. * math/bug-nexttoward.c (zero, inf): New variables. (main): Add new tests.
* [BZ #3427]Ulrich Drepper2007-04-169-28/+220
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-03-22 Jakub Jelinek <jakub@redhat.com> [BZ #3427] * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Clear all exceptions both in SW and MXCSR. * sysdeps/x86_64/fpu/feupdateenv.c: New file. * sysdeps/x86_64/fpu/feenablxcpt.c (feenableexcept): Remove dead code. * sysdeps/x86_64/fpu/fedisblxcpt.c (fedisableexcept): Likewise. * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Clear all exceptions in MXCSR if SSE is available. * sysdeps/i386/fpu/feupdateenv.c: Include unistd.h, dl-procinfo.h and ldsodefs.h. (__feupdateenv): Query exceptions also from MXCSR if SSE is available. Fix comment typo. * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Clear all exceptions. Return 0 rather than 1. * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Fix comment typo. Remove incorrect part of a comment. Fix argument to feraiseexcept. * math/test-fenv.c (feholdexcept_tests): New function. (main): Call it. 2007-01-05 Richard B. Kreckel <kreckel@ginac.de> [BZ #3427] * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Clear all exceptions in SW.
* (feholdexcept): Clear all exceptions in SW.Ulrich Drepper2007-04-161-7/+13
|
* [BZ #4344] Jakub Jelinek2007-04-132-4/+10
| | | | | | | | | | * elf/ldconfig.c (search_dir): Fix 2 off-by-2 errors. Reported by David Anderson <davea42@earthlink.net>. 2007-04-13 Jakub Jelinek <jakub@redhat.com> [BZ #4344] * elf/ldconfig.c (search_dir): Fix 2 off-by-2 errors. Reported by David Anderson <davea42@earthlink.net>.
* * posix/sys/wait.h: Remove unnecessary forward declaration.Ulrich Drepper2007-04-072-5/+5
|
* * tst-locale1.c: Avoid warnings.Ulrich Drepper2007-04-061-0/+5
| | | | * tst-locale2.c: Likewise.
* Avoid warnings.Ulrich Drepper2007-04-062-4/+6
|
* * nis/nis_call.c (__nisfind_server): Replace (*dir)->do_servers Jakub Jelinek2007-04-052-3/+8
| | | | | | | | with obj->do_servers after first_shoot. 2007-04-05 Jakub Jelinek <jakub@redhat.com> * nis/nis_call.c (__nisfind_server): Replace (*dir)->do_servers with obj->do_servers after first_shoot.
* * bits/sched.h: Define __CPU_COUNT. Declare __sched_cpucount.Ulrich Drepper2007-04-045-10/+21
| | | | | * sysdeps/unix/sysv/linux/bits/sched.h: Likewise. * posix/sched.h: Define CPU_COUNT.
* * posix/Makefile (routines): Add sched_cpucount.Ulrich Drepper2007-04-035-2/+92
| | | | | | | (tests): Add tst-cpucount. * posix/sched_cpucount.c: New file. * posix/tst-cpucount.c: New file. * posix/Versions: Export __sched_cpucount with version GLIBC_2.6.
* * posix/fnmatch.c (STRUCT): Define.Ulrich Drepper2007-04-014-30/+77
| | | | | | | | | | | | (fnmatch): Pass NULL as last argument to internal_fn{,w}match. * posix/fnmatch_loop.c (struct STRUCT): New type. (FCT): Add ends argument. If ends != NULL and normal * is seen in the pattern, store current pattern and string pointers and return. Adjust recursive calls. (EXT): Adjust FCT callers. (STRUCT): Undef at the end of the file. * posix/Makefile (tests): Add tst-fnmatch2. * posix/tst-fnmatch2.c: New test.
* Test of fnmatch with patterns using lots of *.Ulrich Drepper2007-04-011-0/+35
|
* * sysdeps/ia64/fpu/fesetround.c (fesetround): Return 0 on success Jakub Jelinek2007-04-012-3/+6
| | | | | | and 1 on failure. * sysdeps/ia64/fpu/fesetround.c (fesetround): Return 0 on success and 1 on failure.
* * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range): Jakub Jelinek2007-04-012-3/+8
| | | | | | | | Change last argument to unsigned int. 2007-04-01 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range): Change last argument to unsigned int.
* * scripts/check-local-headers.sh: Filter out sys/capability.h. cvs/fedora-glibc-20070331T1609Ulrich Drepper2007-03-266-8/+33
| | | | | | | | | | 2007-03-22 Jakub Jelinek <jakub@redhat.com> * config.h.in (HAVE_LIBCAP): Add. * nscd/selinux.h: Include sys/capability.h rather than non-existent sys/capabilities.h. * nscd/selinux.c (preserve_capabilities): Use cap_free instead of free_caps. Cast away const from 4th cap_set_flag argument.
* * sysdeps/unix/sysv/linux/Versions: Move sync_file_range toUlrich Drepper2007-03-263-3/+12
| | | | | | | GLIBC_2.6. * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines): Add sync_file_range. Reported by Atsushi Nemoto <anemo@mba.ocn.ne.jp>.
* * sysdeps/powerpc/bits/atomic.hUlrich Drepper2007-03-265-46/+108
| | | | | | | | | | | | | | | | | | | | | | | | | [!MUTEX_HINT_ACQ]: Define MUTEX_HINT_ACQ. [!MUTEX_HINT_REL]: Define MUTEX_HINT_REL. (__arch_compare_and_exchange_val_32_acq): Add MUTEX_HINT_ACQ to lwarx. (__arch_compare_and_exchange_val_32_rel): Add MUTEX_HINT_REL to lwarx. (__arch_atomic_exchange_val_32_acq): Add MUTEX_HINT_ACQ to lwarx. (__arch_atomic_exchange_rel_32_rel): Add MUTEX_HINT_REL to lwarx. * sysdeps/powerpc/powerpc32/bits/atomic.h [_ARCH_PWR6 || _ARCH_PWR6X]: Define MUTEX_HINT_ACQ as ",1" and MUTEX_HINT_REL as ",0". (__arch_compare_and_exchange_bool_32_acq): Add MUTEX_HINT_ACQ to lwarx. (__arch_compare_and_exchange_bool_32_rel): Add MUTEX_HINT_REL to lwarx. * sysdeps/powerpc/powerpc64/bits/atomic.h [_ARCH_PWR6 || _ARCH_PWR6D]: Define MUTEX_HINT_ACQ as ",1" and MUTEX_HINT_REL as ",0". (__arch_compare_and_exchange_bool_32_acq): Add MUTEX_HINT_ACQ to lwarx. (__arch_compare_and_exchange_bool_32_rel): Add MUTEX_HINT_REL to lwarx. (__arch_compare_and_exchange_bool_64_acq): Add MUTEX_HINT_ACQ to lwarx. (__arch_compare_and_exchange_bool_64_rel): Add MUTEX_HINT_REL to lwarx. (__arch_compare_and_exchange_val_64_acq): Add MUTEX_HINT_ACQ to lwarx. (__arch_compare_and_exchange_val_64_rel): Add MUTEX_HINT_REL to lwarx. (__arch_atomic_exchange_val_64_acq): Add MUTEX_HINT_ACQ to lwarx. (__arch_atomic_exchange_rel_64_rel): Add MUTEX_HINT_REL to lwarx. 2007-03-20 Jakub Jelinek <jakub@redhat.com>
* 007-03-20 Jakub Jelinek <jakub@redhat.com>Ulrich Drepper2007-03-265-37/+33
| | | | | | | | | | | | | | | | | | | | * sysdeps/unix/sysv/linux/powerpc/libc-start.c (__cache_line_size): Define the variable here. Add attribute_hidden, remove weak_extern. (__libc_start_main): Set __cache_line_size unconditionally. * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c (__cache_line_size): Define the variable here. Add attribute_hidden, remove weak_extern. (DL_PLATFORM_AUXV): Set __cache_line_size unconditionally. * sysdeps/powerpc/powerpc32/dl-machine.c (__cache_line_size): Remove weak_extern, add attribute_hidden. (__elf_machine_runtime_setup): Assume __cache_line_size is always defined in ld.so. * sysdeps/powerpc/powerpc32/memset.S (__cache_line_size): Remove definition. * sysdeps/powerpc/powerpc64/memset.S (__cache_line_size): Likewise.
* (__cache_line_size): Define the variable here. Add attribute_hidden, remove ↵Ulrich Drepper2007-03-261-8/+4
| | | | weak_extern. (__libc_start_main): Set __cache_line_size unconditionally.