aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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
2007-04-17[BZ #4368]Ulrich Drepper2-6/+10
2007-04-17 Ulrich Drepper <drepper@redhat.com> [BZ #4368] * stdlib/stdlib.h: Remove obsolete part of comment for realpath.
2007-04-16[BZ #4364]cvs/fedora-glibc-20070416T2350Ulrich Drepper2-2/+9
2007-04-16 Ulrich Drepper <drepper@redhat.com> [BZ #4364] * posix/unistd.h (_XOPEN_VERSION): Define appropriately for SUSv3.
2007-04-16* locale/programs/locarchive.c (INITIAL_NUM_NAMES,Ulrich Drepper2-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.
2007-04-16* libio/genops.c (_IO_default_finish): Call _IO_lock_finiUlrich Drepper2-3/+6
after _IO_un_link, not before it.
2007-04-16* stdio-common/printf_fp.c (___printf_fp): Fix exponent -4Ulrich Drepper3-4/+16
special case handling when wcp == wstartp + 1. Fix a comment typo. * stdio-common/tfformat.c (sprint_doubles): Add a new testcase.
2007-04-16* libio/libio.h (__underflow, __uflow, __overflow, __wunderflow,Ulrich Drepper4-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.
2007-04-16(__underflow, __uflow, __overflow, __wunderflow, __wuflow, __woverflow, ↵Ulrich Drepper1-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.
2007-04-16* locale/programs/locarchive.c (show_archive_content): Fix sizeof Jakub Jelinek2-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.
2007-04-16* sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): UseUlrich Drepper5-38/+43
math_opt_barrier and math_force_eval macros.
2007-04-16[BZ #3306]Ulrich Drepper17-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.
2007-04-16[BZ #3427]Ulrich Drepper9-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.
2007-04-16(feholdexcept): Clear all exceptions in SW.Ulrich Drepper1-7/+13
2007-04-13[BZ #4344] Jakub Jelinek2-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>.
2007-04-07* posix/sys/wait.h: Remove unnecessary forward declaration.Ulrich Drepper2-5/+5
2007-04-06* tst-locale1.c: Avoid warnings.Ulrich Drepper1-0/+5
* tst-locale2.c: Likewise.
2007-04-06Avoid warnings.Ulrich Drepper2-4/+6
2007-04-05* nis/nis_call.c (__nisfind_server): Replace (*dir)->do_servers Jakub Jelinek2-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.
2007-04-04* bits/sched.h: Define __CPU_COUNT. Declare __sched_cpucount.Ulrich Drepper5-10/+21
* sysdeps/unix/sysv/linux/bits/sched.h: Likewise. * posix/sched.h: Define CPU_COUNT.
2007-04-03* posix/Makefile (routines): Add sched_cpucount.Ulrich Drepper5-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.
2007-04-01* posix/fnmatch.c (STRUCT): Define.Ulrich Drepper4-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.
2007-04-01Test of fnmatch with patterns using lots of *.Ulrich Drepper1-0/+35
2007-04-01* sysdeps/ia64/fpu/fesetround.c (fesetround): Return 0 on success Jakub Jelinek2-3/+6
and 1 on failure. * sysdeps/ia64/fpu/fesetround.c (fesetround): Return 0 on success and 1 on failure.
2007-04-01* sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range): Jakub Jelinek2-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.