about summary refs log tree commit diff
path: root/ChangeLog
Commit message (Collapse)AuthorAgeFilesLines
* * stdio-common/vfprintf.c (process_string_arg): OptimizeUlrich Drepper2007-05-071-0/+4
| | | | | ridiculous precision in wide char code printing multi-byte string. Reported by Jim Meyering <jim@meyering.net>.
* [BZ #4131]Ulrich Drepper2007-05-061-0/+7
| | | | | | | | 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>.
* * stdio-common/vfprintf.c (process_string_arg): Adjust call toUlrich Drepper2007-05-051-0/+3
| | | | __mbsnrtowcs after last change.
* * soft-fp/op-2.h (_FP_FRAC_COPY_2_2): Define as alias toUlrich Drepper2007-05-051-2/+4
| | | | | | _FP_FRAC_COPY_2. * soft-fp/op-4.h (_FP_FRAC_COPY_2_2): Define as alias to _FP_FRAC_COPY_4.
* * locale/programs/linereader.c (get_symname): Fix adding final NUL.Ulrich Drepper2007-05-051-0/+5
| | | | (get_ident): Likewise.
* * soft-fp/op-common.h (FP_TRUNC): Replace raising of FP_EX_INEXACT cvs/fedora-glibc-20070504T0917Jakub Jelinek2007-05-031-0/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* * math/test-misc.c (main): Add tests for rounding long double Jakub Jelinek2007-05-031-0/+11
| | | | | | | | | | | | | | | | | 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.
* * stdio-common/vfprintf.c (process_string_arg): Use a VLA rather thanUlrich Drepper2007-05-021-0/+5
| | | | fixed length array for ignore.
* * stdio-common/test-vfprintf.c (main): Add test for largeUlrich Drepper2007-05-011-0/+2
| | | | precision.
* [BZ #4438]Ulrich Drepper2007-05-011-0/+6
| | | | | | | 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.
* * stdio-common/printf_fp.c (___printf_fp): Don't print negative signUlrich Drepper2007-04-301-0/+4
| | | | | for exponent 0. * stdio-common/tfformat.c (sprint_doubles): Add a new test.
* [BZ #4439]Ulrich Drepper2007-04-301-0/+8
| | | | | | | | | 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.
* [BZ #4349]Ulrich Drepper2007-04-301-0/+9
| | | | | | | | | | | 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>.
* [BZ #4102]Ulrich Drepper2007-04-281-0/+6
| | | | | | | 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.
* * locale/programs/ld-collate.c (collate_read): Allow order_startUlrich Drepper2007-04-281-0/+3
| | | | after copy.
* [BZ #3213]Ulrich Drepper2007-04-281-0/+6
| | | | | | | | * locale/programs/ld-collate.c (collate_read): Fix printing of error message. [BZ #3213] * locale/C-translit.h.in: Add entry for U2044.
* [BZ #4342]Ulrich Drepper2007-04-271-1/+8
| | | | | | | | | | 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/bug-ftw5.c: New file.Jakub Jelinek2007-04-261-1/+1
|
* * sysdeps/unix/sysv/linux/Makefile [subdir=posix] (sysdep_routines):Ulrich Drepper2007-04-261-0/+2
| | | | Add sched_getcpu.
* * sysdeps/unix/sysv/linux/bits/sched.h: Declare sched_getcpu.Ulrich Drepper2007-04-261-0/+8
| | | | | | | * 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.
* * sysdeps/unix/sysv/linux/check_pf.c (make_request): Return -1 instead Jakub Jelinek2007-04-251-0/+5
| | | | | | | | 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-251-0/+6
| | | | | | | 2007-04-25 Ulrich Drepper <drepper@redhat.com> [BZ #4406] * iconv/gconv_charset.h (strip): Allow ':' * iconv/iconv_open.c (iconv_open): Adjust comment.
* * libio/bits/stdio.h (fgetc_unlocked): Add extern inline optimized Jakub Jelinek2007-04-251-0/+5
| | | | | | | | version. 2007-04-25 Jakub Jelinek <jakub@redhat.com> * libio/bits/stdio.h (fgetc_unlocked): Add extern inline optimized version.
* [BZ #4381]Ulrich Drepper2007-04-231-0/+14
| | | | | | | | | | | | | | | * 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>
* [BZ #4405] Jakub Jelinek2007-04-231-0/+6
| | | | | | | | | | * 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
|
* [BZ #3905] Andreas Jaeger2007-04-201-0/+7
| | | | | | | | | | | | * 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-191-0/+1
|
* * include/sys/mman.h: Mark madvise hidden.Ulrich Drepper2007-04-191-0/+4
|
* * nis/nis_domain_of.c (__nis_domain_of): New function.Ulrich Drepper2007-04-191-0/+14
| | | | | | | | | | | | | * 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-181-0/+4
|
* [BZ #4368]Ulrich Drepper2007-04-171-0/+5
| | | | | | 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-161-0/+5
| | | | | | 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-161-0/+9
| | | | | | | | 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-161-0/+3
| | | | after _IO_un_link, not before it.
* * stdio-common/printf_fp.c (___printf_fp): Fix exponent -4Ulrich Drepper2007-04-161-0/+6
| | | | | 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-161-0/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | __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.
* * locale/programs/locarchive.c (show_archive_content): Fix sizeof Jakub Jelinek2007-04-161-0/+5
| | | | | | | | 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-161-0/+5
| | | | math_opt_barrier and math_force_eval macros.
* [BZ #3306]Ulrich Drepper2007-04-161-0/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-161-0/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* [BZ #4344] Jakub Jelinek2007-04-131-0/+6
| | | | | | | | | | * 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-071-0/+4
|
* * nis/nis_call.c (__nisfind_server): Replace (*dir)->do_servers Jakub Jelinek2007-04-051-0/+5
| | | | | | | | 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-041-0/+3
| | | | | * sysdeps/unix/sysv/linux/bits/sched.h: Likewise. * posix/sched.h: Define CPU_COUNT.
* * posix/Makefile (routines): Add sched_cpucount.Ulrich Drepper2007-04-031-0/+8
| | | | | | | (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-011-0/+13
| | | | | | | | | | | | (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.
* * sysdeps/ia64/fpu/fesetround.c (fesetround): Return 0 on success Jakub Jelinek2007-04-011-0/+3
| | | | | | 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-011-0/+5
| | | | | | | | 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-261-0/+12
| | | | | | | | | | 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.