Jakub Jelinek [Wed, 25 Apr 2007 14:35:54 +0000 (14:35 +0000)]
* libio/bits/stdio.h (fgetc_unlocked): Add extern inline optimized
version.
2007-04-25 Jakub Jelinek <jakub@redhat.com>
* libio/bits/stdio.h (fgetc_unlocked): Add extern inline optimized
version.
Ulrich Drepper [Tue, 24 Apr 2007 19:04:27 +0000 (19:04 +0000)]
[BZ #4411]
2007-04-24 Ulrich Drepper <drepper@redhat.com>
[BZ #4411]
* locales/en_ZA: Update int_select.
Patch by Dwayne Bailey <dwayne@translate.org.za>.
Ulrich Drepper [Mon, 23 Apr 2007 15:17:21 +0000 (15:17 +0000)]
[BZ #4381]
* 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>
Ulrich Drepper [Mon, 23 Apr 2007 15:15:53 +0000 (15:15 +0000)]
(HOST_DB_LOOKUP): Ensure sufficient alignment of buffer and tmp_buffer.
Jakub Jelinek [Mon, 23 Apr 2007 09:22:10 +0000 (09:22 +0000)]
[BZ #4405]
* 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>.
Roland McGrath [Sun, 22 Apr 2007 10:36:25 +0000 (10:36 +0000)]
* elf/elf.h (NT_PRXFPREG): New macro.
Roland McGrath [Sun, 22 Apr 2007 10:36:16 +0000 (10:36 +0000)]
2007-04-22 Roland McGrath <roland@redhat.com>
* elf/elf.h (NT_PRXFPREG): New macro.
Andreas Jaeger [Fri, 20 Apr 2007 16:02:16 +0000 (16:02 +0000)]
[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 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.
Ulrich Drepper [Thu, 19 Apr 2007 17:42:47 +0000 (17:42 +0000)]
* misc/madvise.c: Add libc_hidden_def.
Ulrich Drepper [Thu, 19 Apr 2007 17:41:07 +0000 (17:41 +0000)]
* include/sys/mman.h: Mark madvise hidden.
Ulrich Drepper [Thu, 19 Apr 2007 14:28:01 +0000 (14:28 +0000)]
* nis/nis_domain_of.c (__nis_domain_of): New function.
* 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.
Ulrich Drepper [Wed, 18 Apr 2007 23:46:35 +0000 (23:46 +0000)]
* sysdeps/posix/getaddrinfo.c: Remove commented-out code.
Ulrich Drepper [Tue, 17 Apr 2007 18:36:00 +0000 (18:36 +0000)]
[BZ #4368]
2007-04-17 Ulrich Drepper <drepper@redhat.com>
[BZ #4368]
* stdlib/stdlib.h: Remove obsolete part of comment for realpath.
Ulrich Drepper [Mon, 16 Apr 2007 23:44:21 +0000 (23:44 +0000)]
[BZ #4364]
2007-04-16 Ulrich Drepper <drepper@redhat.com>
[BZ #4364]
* posix/unistd.h (_XOPEN_VERSION): Define appropriately for SUSv3.
Ulrich Drepper [Mon, 16 Apr 2007 23:31:03 +0000 (23:31 +0000)]
* locale/programs/locarchive.c (INITIAL_NUM_NAMES,
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.
Ulrich Drepper [Mon, 16 Apr 2007 23:29:46 +0000 (23:29 +0000)]
* libio/genops.c (_IO_default_finish): Call _IO_lock_fini
after _IO_un_link, not before it.
Ulrich Drepper [Mon, 16 Apr 2007 23:28:39 +0000 (23:28 +0000)]
* stdio-common/printf_fp.c (___printf_fp): Fix exponent -4
special case handling when wcp == wstartp + 1. Fix a comment typo.
* stdio-common/tfformat.c (sprint_doubles): Add a new testcase.
Ulrich Drepper [Mon, 16 Apr 2007 23:15:58 +0000 (23:15 +0000)]
* libio/libio.h (__underflow, __uflow, __overflow, __wunderflow,
__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.
Ulrich Drepper [Mon, 16 Apr 2007 23:14:04 +0000 (23:14 +0000)]
(__underflow, __uflow, __overflow, __wunderflow, __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.
Jakub Jelinek [Mon, 16 Apr 2007 23:02:04 +0000 (23:02 +0000)]
* locale/programs/locarchive.c (show_archive_content): Fix sizeof
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.
Ulrich Drepper [Mon, 16 Apr 2007 20:42:23 +0000 (20:42 +0000)]
* sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Use
math_opt_barrier and math_force_eval macros.
Ulrich Drepper [Mon, 16 Apr 2007 20:41:42 +0000 (20:41 +0000)]
[BZ #3306]
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.
Ulrich Drepper [Mon, 16 Apr 2007 20:15:57 +0000 (20:15 +0000)]
[BZ #3427]
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.
Ulrich Drepper [Mon, 16 Apr 2007 20:13:01 +0000 (20:13 +0000)]
(feholdexcept): Clear all exceptions in SW.
Jakub Jelinek [Fri, 13 Apr 2007 19:53:20 +0000 (19:53 +0000)]
[BZ #4344]
* 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>.
Ulrich Drepper [Sat, 7 Apr 2007 18:21:35 +0000 (18:21 +0000)]
* posix/sys/wait.h: Remove unnecessary forward declaration.
Ulrich Drepper [Fri, 6 Apr 2007 22:19:54 +0000 (22:19 +0000)]
* tst-locale1.c: Avoid warnings.
* tst-locale2.c: Likewise.
Ulrich Drepper [Fri, 6 Apr 2007 22:19:46 +0000 (22:19 +0000)]
Avoid warnings.
Jakub Jelinek [Thu, 5 Apr 2007 13:59:03 +0000 (13:59 +0000)]
* nis/nis_call.c (__nisfind_server): Replace (*dir)->do_servers
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.
Ulrich Drepper [Wed, 4 Apr 2007 18:51:36 +0000 (18:51 +0000)]
* bits/sched.h: Define __CPU_COUNT. Declare __sched_cpucount.
* sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
* posix/sched.h: Define CPU_COUNT.
Ulrich Drepper [Tue, 3 Apr 2007 23:29:18 +0000 (23:29 +0000)]
* posix/Makefile (routines): Add sched_cpucount.
(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.
Ulrich Drepper [Sun, 1 Apr 2007 19:44:33 +0000 (19:44 +0000)]
* posix/fnmatch.c (STRUCT): Define.
(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.
Ulrich Drepper [Sun, 1 Apr 2007 19:43:35 +0000 (19:43 +0000)]
Test of fnmatch with patterns using lots of *.
Jakub Jelinek [Sun, 1 Apr 2007 16:37:33 +0000 (16:37 +0000)]
* sysdeps/ia64/fpu/fesetround.c (fesetround): Return 0 on success
and 1 on failure.
* sysdeps/ia64/fpu/fesetround.c (fesetround): Return 0 on success
and 1 on failure.
Jakub Jelinek [Sun, 1 Apr 2007 16:35:03 +0000 (16:35 +0000)]
* sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
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.
Ulrich Drepper [Mon, 26 Mar 2007 20:41:09 +0000 (20:41 +0000)]
* scripts/check-local-headers.sh: Filter out sys/capability.h.
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.
Ulrich Drepper [Mon, 26 Mar 2007 20:38:57 +0000 (20:38 +0000)]
* sysdeps/unix/sysv/linux/Versions: Move sync_file_range to
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>.
Ulrich Drepper [Mon, 26 Mar 2007 20:16:39 +0000 (20:16 +0000)]
* sysdeps/powerpc/bits/atomic.h
[!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>
Ulrich Drepper [Mon, 26 Mar 2007 20:09:10 +0000 (20:09 +0000)]
007-03-20 Jakub Jelinek <jakub@redhat.com>
* 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.
Ulrich Drepper [Mon, 26 Mar 2007 20:08:13 +0000 (20:08 +0000)]
(__cache_line_size): Define the variable here. Add attribute_hidden, remove weak_extern. (__libc_start_main): Set __cache_line_size unconditionally.
Jakub Jelinek [Mon, 26 Mar 2007 12:57:50 +0000 (12:57 +0000)]
[BZ #4276]
* timezone/africa: Update from tzdata2007d.
* timezone/asia: Likewise.
* timezone/australasia: Likewise.
* timezone/backward: Likewise.
* timezone/europe: Likewise.
* timezone/iso3166.tab: Likewise.
* timezone/leapseconds: Likewise.
* timezone/northamerica: Likewise.
* timezone/southamerica: Likewise.
* timezone/zone.tab: Likewise.
* timezone/private.h: Update from tzcode2007d.
* timezone/zdump.c: Likewise.
* timezone/zic.c: Likewise.
2007-03-26 Jakub Jelinek <jakub@redhat.com>
[BZ #4276]
* timezone/africa: Update from tzdata2007d.
* timezone/asia: Likewise.
* timezone/australasia: Likewise.
* timezone/backward: Likewise.
* timezone/europe: Likewise.
* timezone/iso3166.tab: Likewise.
* timezone/leapseconds: Likewise.
* timezone/northamerica: Likewise.
* timezone/southamerica: Likewise.
* timezone/zone.tab: Likewise.
* timezone/private.h: Update from tzcode2007d.
* timezone/zdump.c: Likewise.
* timezone/zic.c: Likewise.
Jakub Jelinek [Wed, 21 Mar 2007 20:24:59 +0000 (20:24 +0000)]
* nis/nis_call.c: Include bits/libc-lock.h, sys/stat.h, unistd.h.
(nis_server_cache, nis_server_cache_lock, nis_cold_start_mtime): New
variables.
(nis_server_cache_search, nis_server_cache_add): New functions.
(__nisfind_server): Use them. Add dbp and flags argument, if
call __nisbind_create.
(__nisbind_create): Add server_used and current_ep arguments,
only call __nis_findfastest if server_used is ~0.
(__do_niscall2, __prepare_niscall): Adjust callers.
(ckey_cache, ckey_cache_size, ckey_cache_allocated, ckey_cache_pid,
ckey_cache_euid, ckey_cache_lock): New variables.
(get_ckey): New function.
(__nisbind_connect): If not dbp->use_udp, pass IPPROTO_TCP to
__pmap_getnisport. Save __pmap_getnisport result in
dbp->addr.sin_port if non-zero. Use get_ckey to create conversation
key.
* nis/nis_lookup.c (nis_lookup): Likewise.
* nis/nis_table.c (nis_list): Likewise.
* nis/rpcsvc/nislib.h (__nisbind_create, __nisfind_server): Adjust
prototypes.
* nis/nss_nisplus/nisplus-pwd.c (_nss_nisplus_getpwnam_r,
_nss_nisplus_getpwuid_r): Pass USE_DGRAM flag to nis_list.
* nis/nss_nisplus/nisplus-service.c (_nss_nisplus_getservbyname_r,
_nss_nisplus_getservbyport_r): Likewise.
* nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r,
_nss_nisplus_getnetbyaddr_r): Likewise.
* nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_getspnam_r): Likewise.
* nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r,
_nss_nisplus_getntohost_r): Likewise.
* nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r,
_nss_nisplus_getrpcbynumber_r): Likewise.
2007-03-21 Jakub Jelinek <jakub@redhat.com>
* nis/nis_call.c: Include bits/libc-lock.h, sys/stat.h, unistd.h.
(nis_server_cache, nis_server_cache_lock, nis_cold_start_mtime): New
variables.
(nis_server_cache_search, nis_server_cache_add): New functions.
(__nisfind_server): Use them. Add dbp and flags argument, if
call __nisbind_create.
(__nisbind_create): Add server_used and current_ep arguments,
only call __nis_findfastest if server_used is ~0.
(__do_niscall2, __prepare_niscall): Adjust callers.
(ckey_cache, ckey_cache_size, ckey_cache_allocated, ckey_cache_pid,
ckey_cache_euid, ckey_cache_lock): New variables.
(get_ckey): New function.
(__nisbind_connect): If not dbp->use_udp, pass IPPROTO_TCP to
__pmap_getnisport. Save __pmap_getnisport result in
dbp->addr.sin_port if non-zero. Use get_ckey to create conversation
key.
* nis/nis_lookup.c (nis_lookup): Likewise.
* nis/nis_table.c (nis_list): Likewise.
* nis/rpcsvc/nislib.h (__nisbind_create, __nisfind_server): Adjust
prototypes.
* nis/nss_nisplus/nisplus-pwd.c (_nss_nisplus_getpwnam_r,
_nss_nisplus_getpwuid_r): Pass USE_DGRAM flag to nis_list.
* nis/nss_nisplus/nisplus-service.c (_nss_nisplus_getservbyname_r,
_nss_nisplus_getservbyport_r): Likewise.
* nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r,
_nss_nisplus_getnetbyaddr_r): Likewise.
* nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_getspnam_r): Likewise.
* nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r,
_nss_nisplus_getntohost_r): Likewise.
* nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r,
_nss_nisplus_getrpcbynumber_r): Likewise.
Jakub Jelinek [Tue, 20 Mar 2007 12:11:23 +0000 (12:11 +0000)]
* configure.in (libc_cv_gnu89_inline): Only do compile test.
* configure: Rebuilt.
* configure.in (libc_cv_gnu89_inline): Only do compile test.
* configure: Rebuilt.
Jakub Jelinek [Tue, 20 Mar 2007 12:10:36 +0000 (12:10 +0000)]
[BZ #2831]
* soft-fp/double.h (_FP_UNION_D): Use _FP_W_TYPE for frac
bit-fields.
* soft-fp/extended.h (_FP_UNION_E): Likewise.
[BZ #2831]
* soft-fp/quad.h (_FP_UNION_Q): Use _FP_W_TYPE for frac
bit-fields.
2007-03-20 Jakub Jelinek <jakub@redhat.com>
* soft-fp/double.h (_FP_UNION_D): Use _FP_W_TYPE for frac
bit-fields.
* soft-fp/extended.h (_FP_UNION_E): Likewise.
2006-06-07 Joseph Myers <joseph@codesourcery.com>
[BZ #2831]
* soft-fp/quad.h (_FP_UNION_Q): Use _FP_W_TYPE for frac
bit-fields.
Ulrich Drepper [Sun, 18 Mar 2007 17:55:52 +0000 (17:55 +0000)]
* nscd/gai.c: Include alloca.h.
(__libc_use_alloca): Define.
Ulrich Drepper [Sat, 17 Mar 2007 17:09:13 +0000 (17:09 +0000)]
* elf/dl-open.c (dl_open_worker): Declare l in 2 different
smaller scopes.
* elf/dl-dst.h (DL_DST_REQ_STATIC): Add l as macro argument.
(DL_DST_REQUIRED): Adjust user.
* include/dlfcn.h (struct link_map): New forward decl.
* inet/getnameinfo.c: Include stddef.h.
(getnameinfo): Use offsetof.
* time/tst-mktime2.c (do_test): Don't rely on signed wrap.
* stdio-common/vfprintf.c (_itoa): Undef before redefining.
* string/strerror_l.c: Include stdlib.h.
Ulrich Drepper [Sat, 17 Mar 2007 17:04:28 +0000 (17:04 +0000)]
* configure.in (libc_cv_gnu89_inline): Test for -fgnu89-inline.
* config.make.in (gnu89-inline-CFLAGS): New variable.
* Makeconfig (CFLAGS): Use $(gnu89-inline-CFLAGS) together with
-std=gnu99.
* misc/sys/cdefs.h (__extern_inline, __extern_always_inline): Define.
* argp/argp.h: Use it.
* bits/mathinline.h: Likewise.
* bits/sigset.h: Likewise.
* bits/string.h: Likewise.
* ctype/ctype.h: Likewise.
* hurd/hurd.h: Likewise.
* hurd/hurd/fd.h: Likewise.
* hurd/hurd/port.h: Likewise.
* hurd/hurd/signal.h: Likewise.
* hurd/hurd/threadvar.h: Likewise.
* hurd/hurd/userlink.h: Likewise.
* io/sys/stat.h: Likewise.
* libio/bits/stdio.h: Likewise.
* libio/bits/stdio2.h: Likewise.
* mach/lock-intern.h: Likewise.
* mach/mach/mig_support.h: Likewise.
* math/bits/cmathcalls.h: Likewise.
* posix/bits/unistd.h: Likewise.
* socket/bits/socket2.h: Likewise.
* stdlib/bits/stdlib.h: Likewise.
* stdlib/stdlib.h: Likewise.
* string/argz.h: Likewise.
* string/bits/string2.h: Likewise.
* string/bits/string3.h: Likewise.
* sysdeps/alpha/fpu/bits/mathinline.h: Likewise.
* sysdeps/generic/inttypes.h: Likewise.
* sysdeps/generic/machine-lock.h: Likewise.
* sysdeps/generic/machine-sp.h: Likewise.
* sysdeps/i386/fpu/bits/mathinline.h: Likewise.
* sysdeps/i386/i486/bits/string.h: Likewise.
* sysdeps/ia64/fpu/bits/mathinline.h: Likewise.
* sysdeps/mach/alpha/machine-lock.h: Likewise.
* sysdeps/mach/alpha/machine-sp.h: Likewise.
* sysdeps/mach/i386/machine-lock.h: Likewise.
* sysdeps/mach/powerpc/machine-lock.h: Likewise.
* sysdeps/mach/powerpc/machine-sp.h: Likewise.
* sysdeps/powerpc/fpu/bits/mathinline.h: Likewise.
* sysdeps/s390/bits/string.h: Likewise.
* sysdeps/s390/fpu/bits/mathinline.h: Likewise.
* sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
* sysdeps/unix/bsd/bsd4.4/bits/socket.h: Likewise.
* sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
* sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
* sysdeps/unix/sysv/linux/sys/sysmacros.h: Likewise.
* sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
* wcsmbs/bits/wchar2.h: Likewise.
* wcsmbs/wchar.h: Likewise.
* stdlib/gmp.h: Likewise. Include <features.h> to get
__extern_inline definition.
* locale/programs/ld-ctype.c (find_translit): Return NULL if ctype is
NULL.
Ulrich Drepper [Thu, 15 Mar 2007 20:12:43 +0000 (20:12 +0000)]
.
Ulrich Drepper [Thu, 15 Mar 2007 20:10:51 +0000 (20:10 +0000)]
[BZ #3919]
* math/libm-test.inc (log_test): Test -Inf and NaN.
(log10_test, log1p_test, log2_test): Test -Inf.
* sysdeps/i386/fpu/e_log.S (__ieee754_log): Don't raise
FE_INVALID when argument is qNaN.
* sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
* sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
* sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
* sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Replace
andb $1, %ah with testb $1, %ah, don't test for parity, instead
testb $4, %ah and jump if non-zero.
* sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
* sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
2007-03-15 Jakub Jelinek <jakub@redhat.com>
Ulrich Drepper [Thu, 15 Mar 2007 20:09:02 +0000 (20:09 +0000)]
[BZ #4101]
* argp/argp-help.c (hol_cluster_cmp): Fix comparisons used to find
ancestors with the same depths.
Patch by Niels Moeller <nisse@lysator.liu.se>.
(filter_doc): Don't crash if argp is NULL.
* argp/Makefile (tests): Add tst-argp2.
* argp/tst-argp2.c: New test.
2007-03-15 Jakub Jelinek <jakub@redhat.com>
Ulrich Drepper [Thu, 15 Mar 2007 20:06:22 +0000 (20:06 +0000)]
[BZ #4130]
* login/utmp_file.c (setutent_file): Use O_LARGEFILE for
open_not_cancel_2.
(updwtmp_file): Likewise.
Ulrich Drepper [Thu, 15 Mar 2007 20:05:19 +0000 (20:05 +0000)]
[BZ #4181]
2007-03-15 Jakub Jelinek <jakub@redhat.com>
[BZ #4181]
* inet/inet6_opt.c (add_padding): Only insert padding if npad > 0.
(inet6_opt_append): Don't check extlen is big enough if extbuf
is NULL.
(inet6_opt_finish): Likewise.
* inet/Makefile (tests): Add test-inet6_opt.
* inet/test-inet6_opt.c: New test.
* sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Never
reallocate the buffer, instead fail for MSG_TRUNC or for EBUSY
NLMSG_ERR. Instead use a page sized buffer.
* sysdeps/unix/sysv/linux/check_pf.c (make_request): Use page sized
buffer.
Ulrich Drepper [Wed, 14 Mar 2007 22:32:50 +0000 (22:32 +0000)]
* Makefile: Define tst-sscanf-ENV.
* tst-sscanf.c: Use fa_IR.UTF-8 which exists internally.
Ulrich Drepper [Wed, 14 Mar 2007 22:32:31 +0000 (22:32 +0000)]
Use fa_IR.UTF-8 which exists internally.
Richard Henderson [Wed, 14 Mar 2007 20:01:05 +0000 (20:01 +0000)]
* sysdeps/alpha/fpu/s_llround.c: New file.
* sysdeps/alpha/fpu/s_llroundf.c: New file.
* sysdeps/alpha/fpu/s_lround.c: New file.
* sysdeps/alpha/fpu/s_lroundf.c: New file.
* sysdeps/alpha/fpu/s_round.c: New file.
* sysdeps/alpha/fpu/s_roundf.c: New file.
* sysdeps/alpha/fpu/s_trunc.c: New file.
* sysdeps/alpha/fpu/s_truncf.c: New file.
* sysdeps/alpha/fpu/s_llround.c: New file.
* sysdeps/alpha/fpu/s_llroundf.c: New file.
* sysdeps/alpha/fpu/s_lround.c: New file.
* sysdeps/alpha/fpu/s_lroundf.c: New file.
* sysdeps/alpha/fpu/s_round.c: New file.
* sysdeps/alpha/fpu/s_roundf.c: New file.
* sysdeps/alpha/fpu/s_trunc.c: New file.
* sysdeps/alpha/fpu/s_truncf.c: New file.
Richard Henderson [Wed, 14 Mar 2007 17:44:14 +0000 (17:44 +0000)]
* sysdeps/alpha/fpu/s_ceil.c: Rewrite without branches.
* sysdeps/alpha/fpu/s_ceilf.c: Likewise.
* sysdeps/alpha/fpu/s_floor.c: Likewise.
* sysdeps/alpha/fpu/s_floorf.c: Likewise.
* sysdeps/alpha/fpu/s_rint.c: Likewise.
* sysdeps/alpha/fpu/s_rintf.c: Likewise.
* sysdeps/alpha/fpu/s_fmax.S: New file.
* sysdeps/alpha/fpu/s_fmaxf.S: New file.
* sysdeps/alpha/fpu/s_fmin.S: New file.
* sysdeps/alpha/fpu/s_fminf.S: New file.
* sysdeps/alpha/fpu/s_isnan.c: New file.
* sysdeps/alpha/fpu/s_isnanf.c: New file.
* sysdeps/alpha/fpu/s_llrint.c: New file.
* sysdeps/alpha/fpu/s_llrintf.c: New file.
* sysdeps/alpha/fpu/s_lrint.c: New file.
* sysdeps/alpha/fpu/s_lrintf.c: New file.
* sysdeps/alpha/fpu/s_nearbyint.c: New file.
* sysdeps/alpha/fpu/s_nearbyintf.c: New file.
* sysdeps/alpha/fpu/bits/mathinline.h (__floorf, __floor): Remove.
(__fdimf, fdimf, __fdim, fdim): Remove.
(__signbitf, __signbit, __signbitl): Use gcc builtin if available.
(__isnanf, __isnan, __isnanl): New.
2007-03-14 Richard Henderson <rth@redhat.com>
* sysdeps/alpha/fpu/s_ceil.c: Rewrite without branches.
* sysdeps/alpha/fpu/s_ceilf.c: Likewise.
* sysdeps/alpha/fpu/s_floor.c: Likewise.
* sysdeps/alpha/fpu/s_floorf.c: Likewise.
* sysdeps/alpha/fpu/s_rint.c: Likewise.
* sysdeps/alpha/fpu/s_rintf.c: Likewise.
* sysdeps/alpha/fpu/s_fmax.S: New file.
* sysdeps/alpha/fpu/s_fmaxf.S: New file.
* sysdeps/alpha/fpu/s_fmin.S: New file.
* sysdeps/alpha/fpu/s_fminf.S: New file.
* sysdeps/alpha/fpu/s_isnan.c: New file.
* sysdeps/alpha/fpu/s_isnanf.c: New file.
* sysdeps/alpha/fpu/s_llrint.c: New file.
* sysdeps/alpha/fpu/s_llrintf.c: New file.
* sysdeps/alpha/fpu/s_lrint.c: New file.
* sysdeps/alpha/fpu/s_lrintf.c: New file.
* sysdeps/alpha/fpu/s_nearbyint.c: New file.
* sysdeps/alpha/fpu/s_nearbyintf.c: New file.
* sysdeps/alpha/fpu/bits/mathinline.h (__floorf, __floor): Remove.
(__fdimf, fdimf, __fdim, fdim): Remove.
(__signbitf, __signbit, __signbitl): Use gcc builtin if available.
(__isnanf, __isnan, __isnanl): New.
Richard Henderson [Wed, 14 Mar 2007 17:36:18 +0000 (17:36 +0000)]
* sysdeps/ieee754/ldbl-128/Makefile: New file.
* sysdeps/ieee754/ldbl-128/Makefile: New file.
2007-03-13 Richard Henderson <rth@redhat.com>
Richard Henderson [Wed, 14 Mar 2007 00:40:50 +0000 (00:40 +0000)]
* sysdeps/alpha/Makefile (sysdep-CFLAGS): Force dynamic rounding. * sysdeps/alpha/fpu/bits/mathinline.h (__signbitl): New. * sysdeps/alpha/fpu/libm-test-ulps: Regenerate. * sysdeps/unix/sysv/linux/alpha/alphaev6/fpu/Implies: New file. * sysdeps/unix/sysv/linux/alpha/alphaev67/fpu/Implies: New file. * sysdeps/unix/sysv/linux/alpha/fpu/Implies: New file.
* sysdeps/alpha/Makefile (sysdep-CFLAGS): Force dynamic rounding.
* sysdeps/alpha/fpu/bits/mathinline.h (__signbitl): New.
* sysdeps/alpha/fpu/libm-test-ulps: Regenerate.
* sysdeps/unix/sysv/linux/alpha/alphaev6/fpu/Implies: New file.
* sysdeps/unix/sysv/linux/alpha/alphaev67/fpu/Implies: New file.
* sysdeps/unix/sysv/linux/alpha/fpu/Implies: New file.
2007-03-13 Richard Henderson <rth@redhat.com>
Richard Henderson [Tue, 13 Mar 2007 21:28:03 +0000 (21:28 +0000)]
* sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Use two
separate cfi regions for the two subsections.
2007-03-13 Richard Henderson <rth@redhat.com>
* sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Use two
separate cfi regions for the two subsections.
Richard Henderson [Tue, 13 Mar 2007 21:25:16 +0000 (21:25 +0000)]
* elf/dl-support.c (_dl_aux_init): Honor DL_PLATFORM_AUXV.
* sysdeps/unix/sysv/linux/alpha/dl-auxv.h: New file.
* sysdeps/unix/sysv/linux/alpha/dl-support.c: New file.
* sysdeps/unix/sysv/linux/alpha/dl-sysdep.c (__libc_alpha_cache_shape):
Move to dl-auxv.h; initialize instead of extern weak.
(DL_PLATFORM_AUXV): Move to dl-auxv.h; don't test for undef
weak symbol.
* sysdeps/unix/sysv/linux/alpha/sysconf.c (__libc_alpha_cache_shape):
Extern instead of initialized.
* elf/dl-support.c (_dl_aux_init): Honor DL_PLATFORM_AUXV.
* sysdeps/unix/sysv/linux/alpha/dl-auxv.h: New file.
* sysdeps/unix/sysv/linux/alpha/dl-support.c: New file.
* sysdeps/unix/sysv/linux/alpha/dl-sysdep.c (__libc_alpha_cache_shape):
Move to dl-auxv.h; initialize instead of extern weak.
(DL_PLATFORM_AUXV): Move to dl-auxv.h; don't test for undef
weak symbol.
* sysdeps/unix/sysv/linux/alpha/sysconf.c (__libc_alpha_cache_shape):
Extern instead of initialized.
2007-03-13 Richard Henderson <rth@redhat.com>
Richard Henderson [Tue, 13 Mar 2007 16:05:44 +0000 (16:05 +0000)]
* sysdeps/unix/sysv/linux/alpha/sigsuspend.S: Add support for
__sigsuspend_nocancel.
2007-03-13 Richard Henderson <rth@redhat.com>
* sysdeps/unix/sysv/linux/alpha/sigsuspend.S: Add support for
__sigsuspend_nocancel.
Ulrich Drepper [Tue, 6 Mar 2007 14:53:08 +0000 (14:53 +0000)]
* sysdeps/posix/getaddrinfo.c (get_scope): Correct test for
172.16/12 address range.
Ulrich Drepper [Mon, 5 Mar 2007 20:32:32 +0000 (20:32 +0000)]
* sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Retry with
a new netlink socket if NLMSG_ERR -EBUSY is seen after some MSG_TRUNC
message.
Ulrich Drepper [Mon, 5 Mar 2007 19:40:18 +0000 (19:40 +0000)]
[BZ #4069]
Ulrich Drepper [Mon, 5 Mar 2007 19:38:56 +0000 (19:38 +0000)]
[BZ #4096]
2007-03-01 Jakub Jelinek <jakub@redhat.com>
[BZ #4096]
* sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Check for NaN
earlier.
* math/libm-test.inc (pow_test): Add more tests involving NaNs.
* sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Avoid invalid exception
for x qNaN and y either +-inf or non-integer value.
* sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Likewise.
* sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
* sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
Ulrich Drepper [Mon, 5 Mar 2007 19:35:17 +0000 (19:35 +0000)]
* sysdeps/unix/sysv/linux/sh/Makefile: Remove sys/io.h
from sysdep_headers.
Ulrich Drepper [Mon, 5 Mar 2007 19:32:39 +0000 (19:32 +0000)]
* time/tzfile.c (find_transition): Instead of a linear search try to
guess the transition index, use a linear search if the result is at
most 10 transitions away from the guess or binary search otherwise.
Ulrich Drepper [Mon, 5 Mar 2007 19:32:03 +0000 (19:32 +0000)]
(find_transition): Instead of a linear search try to guess the transition index, use a linear search if the result is at most 10 transitions away from the guess or binary search otherwise.
Jakub Jelinek [Tue, 27 Feb 2007 11:20:39 +0000 (11:20 +0000)]
* sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Fix
memory reallocation.
2007-02-27 Jakub Jelinek <jakub@redhat.com>
* sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Fix
memory reallocation.
Ulrich Drepper [Sun, 25 Feb 2007 21:44:22 +0000 (21:44 +0000)]
* sysdeps/unix/sysv/linux/fork.c (__libc_fork): Reset refcntr in
new thread, don't just decrement it.
Patch by Suzuki K P <suzuki@in.ibm.com>.
Ulrich Drepper [Thu, 22 Feb 2007 00:45:40 +0000 (00:45 +0000)]
* stdlib/strtod_l.c (____STRTOF_INTERNAL): Add branch predictions
and fix some typos.
Optimize use of TOLOWER.
Ulrich Drepper [Wed, 21 Feb 2007 21:54:19 +0000 (21:54 +0000)]
* stdlib/strtod_l.c (____STRTOF_INTERNAL): Optimize use of TOLOWER.
Ulrich Drepper [Wed, 21 Feb 2007 19:13:15 +0000 (19:13 +0000)]
[BZ #3325]
* sysdeps/i386/fpu/e_fmodf.S: Revert last changes, keep using fprem.
* sysdeps/i386/fpu/e_fmodl.c: Likewise.
* sysdeps/i386/fpu/e_fmod.S: Likewise.
Ulrich Drepper [Wed, 21 Feb 2007 19:03:26 +0000 (19:03 +0000)]
[BZ #3458]
* sysdeps/unix/sysv/linux/posix_madvise.c: New file.
* sysdeps/unix/sysv/linux/syscalls.list: Remove posix_madvise entry.
* stdio-common/tfformat.c (sprint_doubles): Some more tests.
Ulrich Drepper [Wed, 21 Feb 2007 09:36:46 +0000 (09:36 +0000)]
[BZ #4076]
* io/ftw.c (ftw_startup): Handle special case of FTW_CHDIR in /.
(open_dir_stream): Likewise.
* io/Makefile (tests): Add bug-ftw5.
io/bug-ftw5.c: New file.
Ulrich Drepper [Wed, 21 Feb 2007 09:11:47 +0000 (09:11 +0000)]
* nscd/hstcache.c (cache_addhst): Remove unnecessary conditional.
* nscd/servicescache.c (cache_addserv): Likewise.
* nscd/grpcache.c (cache_addgr): In case a record changed on
refresh, adjust key_copy.
Ulrich Drepper [Wed, 21 Feb 2007 09:05:36 +0000 (09:05 +0000)]
[BZ #4074]
* nscd/pwdcache.c (cache_addpw): In case a record changed on
refresh, adjust key_copy.
Ulrich Drepper [Wed, 21 Feb 2007 08:57:44 +0000 (08:57 +0000)]
[BZ #4070]
2007-02-21 Ulrich Drepper <drepper@redhat.com>
[BZ #4070]
* stdio-common/printf_fp.c (___printf_fp): Handle a few more
* stdio-common/tfformat.c (sprint_doubles): Some more tests.
special cases.
Ulrich Drepper [Tue, 20 Feb 2007 01:11:40 +0000 (01:11 +0000)]
* stdio-common/printf_fp.c (___printf_fp): Cleanups and minor
optimization.
Ulrich Drepper [Mon, 19 Feb 2007 21:20:09 +0000 (21:20 +0000)]
* stdio-common/vfscanf.c: Small cleanups throughout.
Ulrich Drepper [Mon, 19 Feb 2007 05:48:54 +0000 (05:48 +0000)]
[BZ #3325]
* sysdeps/i386/fpu/e_fmodf.S: Use fprem1 instead of fprem.
* sysdeps/i386/fpu/e_fmodl.c: Likewise.
* sysdeps/i386/fpu/e_fmod.S: Likewise.
Patch by Jared Casper <jaredcasper@gmail.com>.
Ulrich Drepper [Mon, 19 Feb 2007 05:44:33 +0000 (05:44 +0000)]
* sysdeps/unix/closedir.c: Outside libc don't use locking.
* sysdeps/unix/opendir.c: Likewise.
* sysdeps/unix/readdir.c: Likewise.
Ulrich Drepper [Mon, 19 Feb 2007 04:40:58 +0000 (04:40 +0000)]
[BZ #2211]
* stdio-common/vfscanf.c: Handle localized digits etc for floating
point numbers.
Patch mostly by Hamed Malek <hamed@farsiweb.info>.
Ulrich Drepper [Sun, 18 Feb 2007 19:03:30 +0000 (19:03 +0000)]
* stdio-common/vfscanf.c: Fix problems in width accounting.
* stdio-common/tst-sscanf.c (double_tests): New tests.
(main): Hook them up.
Ulrich Drepper [Sun, 18 Feb 2007 09:43:44 +0000 (09:43 +0000)]
..
More simplifications of floating-point reader.
Ulrich Drepper [Sun, 18 Feb 2007 09:25:25 +0000 (09:25 +0000)]
* stdio-common/vfscanf.c: Remove unused WIDTH handling.
Ulrich Drepper [Sun, 18 Feb 2007 09:21:24 +0000 (09:21 +0000)]
* stdio-common/Makefile (tests): Add tst-swscanf.
* stdio-common/tst-sscanf.c: Make tests usable for swscanf
testing.
* stdio-common/tst-swscanf.c: New file.
Ulrich Drepper [Sun, 18 Feb 2007 04:52:16 +0000 (04:52 +0000)]
* SUPPORTED (SUPPORTED-LOCALES): Remove sr_CS locales.
Ulrich Drepper [Sun, 18 Feb 2007 04:43:17 +0000 (04:43 +0000)]
[BZ #1430]
2007-02-17 Ulrich Drepper <drepper@redhat.com>
[BZ #1430]
* locales/hu_HU: Revert
* locales/hu_HU: Better collation.
Patch by Gyuro Lehel <lehel@freemail.hu>.
Ulrich Drepper [Sun, 18 Feb 2007 04:34:28 +0000 (04:34 +0000)]
[BZ #672]
2005-01-16 Denis Barbier <barbier@linuxfr.org>
[BZ #672]
* locales/ca_ES: Replace current collation rules by including
iso14651_t1 and adding extra rules if needed. There should be
no noticeable changes in sorted text. only ligatures and
ignoreable characters have modified weights.
* locales/da_DK: Likewise.
* locales/en_CA: Likewise.
* locales/es_US: Likewise.
* locales/fi_FI: Likewise.
* locales/nb_NO: Likewise.
[BZ #672]
* locales/iso14651_t1: Simplified. Extended.
Ulrich Drepper [Sun, 18 Feb 2007 03:59:48 +0000 (03:59 +0000)]
[BZ #58]
* locales/uk_UA: New version.
Ulrich Drepper [Sat, 17 Feb 2007 19:37:51 +0000 (19:37 +0000)]
[BZ #2633]
* libio/stdio.h: Define struct _IO_FILE in global namespace.
* setjmp/setjmp.h: Define __jmp_buf_tag in global namespace.
Remove using for __jmp_buf_tag.
* locale/locale.h (struct lconv): Also define in std namespace.
* wcsmbs/wchar.h: Move using declaration for tm out of namespace.
Ulrich Drepper [Sat, 17 Feb 2007 19:08:46 +0000 (19:08 +0000)]
[BZ #3842]
* sysdeps/posix/euidaccess.c [_LIBC] (euidaccess): Remove shortcut
using __libc_enable_secure.
Ulrich Drepper [Sat, 17 Feb 2007 18:58:25 +0000 (18:58 +0000)]
[BZ #2648]
* locales/pl_PL: Fix currency_symbol and its placement.
Ulrich Drepper [Sat, 17 Feb 2007 17:13:58 +0000 (17:13 +0000)]
[BZ #3818]
* sysdeps/unix/sysv/linux/sys/acct.h (struct acct_v3): Define.
Ulrich Drepper [Sat, 17 Feb 2007 16:53:41 +0000 (16:53 +0000)]
[BZ #3745]
* locale/programs/ld-collate.c (handle_ellipsis): Fix generation
of names for ellipsises.
Ulrich Drepper [Sat, 17 Feb 2007 08:36:28 +0000 (08:36 +0000)]
[BZ #3348]
2007-02-17 Ulrich Drepper <drepper@redhat.com>
[BZ #3348]
* malloc/memusage.sh: Cleanups.
* debug/xtrace.sh: Quoting and trap changes.
* locale/iso-3166.def: Add Jersey, Guernsey, and Isle Of Man entries.
Ulrich Drepper [Sat, 17 Feb 2007 08:08:19 +0000 (08:08 +0000)]
* locale/iso-3166.def: Update entry for Serbia.
Ulrich Drepper [Sat, 17 Feb 2007 08:03:11 +0000 (08:03 +0000)]
* locale/iso-4217.def: Define RSD, remove CSD.
Ulrich Drepper [Sat, 17 Feb 2007 07:56:58 +0000 (07:56 +0000)]
[BZ #3322]
* SUPPORTED (SUPPORTED-LOCALES): Add sr_RS and sr_RS@latin.
* locales/sr_RS: New file.
* locales/sr_RS@latin: New file.