summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
* .Ulrich Drepper2007-03-151-4/+0
|
* [BZ #3919]Ulrich Drepper2007-03-159-10/+71
| | | | | | | | | | | | | | | | | * 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>
* [BZ #4101]Ulrich Drepper2007-03-154-6/+118
| | | | | | | | | | | * 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>
* [BZ #4130]Ulrich Drepper2007-03-152-4/+9
| | | | | | * login/utmp_file.c (setutent_file): Use O_LARGEFILE for open_not_cancel_2. (updwtmp_file): Likewise.
* [BZ #4181]Ulrich Drepper2007-03-156-114/+293
| | | | | | | | | | | | | | | | | 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.
* * Makefile: Define tst-sscanf-ENV.Ulrich Drepper2007-03-142-0/+7
| | | | * tst-sscanf.c: Use fa_IR.UTF-8 which exists internally.
* Use fa_IR.UTF-8 which exists internally.Ulrich Drepper2007-03-141-1/+1
|
* * sysdeps/alpha/fpu/s_llround.c: New file. Richard Henderson2007-03-1411-6/+290
| | | | | | | | | | | | | | | | | | * 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.
* * sysdeps/alpha/fpu/s_ceil.c: Rewrite without branches. Richard Henderson2007-03-1420-201/+484
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* * sysdeps/ieee754/ldbl-128/Makefile: New file.Richard Henderson2007-03-142-0/+5
| | | | | | * sysdeps/ieee754/ldbl-128/Makefile: New file. 2007-03-13 Richard Henderson <rth@redhat.com>
* * sysdeps/alpha/Makefile (sysdep-CFLAGS): Force dynamic rounding. ↵Richard Henderson2007-03-147-75/+460
| | | | | | | | | | | | | * 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>
* * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Use two Richard Henderson2007-03-132-1/+8
| | | | | | | | 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.
* * elf/dl-support.c (_dl_aux_init): Honor DL_PLATFORM_AUXV. Richard Henderson2007-03-136-59/+55
| | | | | | | | | | | | | | | | | | | | | | * 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>
* * sysdeps/unix/sysv/linux/alpha/sigsuspend.S: Add support for Richard Henderson2007-03-132-0/+18
| | | | | | | | __sigsuspend_nocancel. 2007-03-13 Richard Henderson <rth@redhat.com> * sysdeps/unix/sysv/linux/alpha/sigsuspend.S: Add support for __sigsuspend_nocancel.
* * sysdeps/posix/getaddrinfo.c (get_scope): Correct test forUlrich Drepper2007-03-062-1/+6
| | | | 172.16/12 address range.
* * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Retry withUlrich Drepper2007-03-052-0/+37
| | | | | a new netlink socket if NLMSG_ERR -EBUSY is seen after some MSG_TRUNC message.
* [BZ #4069]Ulrich Drepper2007-03-051-1/+1
|
* [BZ #4096]Ulrich Drepper2007-03-057-43/+76
| | | | | | | | | | | | | | 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.
* * sysdeps/unix/sysv/linux/sh/Makefile: Remove sys/io.hUlrich Drepper2007-03-052-4/+5
| | | | from sysdep_headers.
* * time/tzfile.c (find_transition): Instead of a linear search try toUlrich Drepper2007-03-051-0/+6
| | | | | guess the transition index, use a linear search if the result is at most 10 transitions away from the guess or binary search otherwise.
* (find_transition): Instead of a linear search try to guess the transition ↵Ulrich Drepper2007-03-051-3/+50
| | | | index, use a linear search if the result is at most 10 transitions away from the guess or binary search otherwise.
* * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Fix Jakub Jelinek2007-02-272-2/+7
| | | | | | | | memory reallocation. 2007-02-27 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Fix memory reallocation.
* * sysdeps/unix/sysv/linux/fork.c (__libc_fork): Reset refcntr inUlrich Drepper2007-02-253-5/+14
| | | | | new thread, don't just decrement it. Patch by Suzuki K P <suzuki@in.ibm.com>.
* * stdlib/strtod_l.c (____STRTOF_INTERNAL): Add branch predictionsUlrich Drepper2007-02-222-10/+13
| | | | | and fix some typos. Optimize use of TOLOWER.
* * stdlib/strtod_l.c (____STRTOF_INTERNAL): Optimize use of TOLOWER.Ulrich Drepper2007-02-212-14/+22
|
* [BZ #3325]Ulrich Drepper2007-02-215-7/+12
| | | | | | * 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.
* [BZ #3458]Ulrich Drepper2007-02-213-2/+43
| | | | | | | * 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.
* [BZ #4076] cvs/fedora-glibc-20070221T1011Ulrich Drepper2007-02-215-8/+60
| | | | | | | * 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.
* * nscd/hstcache.c (cache_addhst): Remove unnecessary conditional.Ulrich Drepper2007-02-214-4/+11
| | | | | | | * nscd/servicescache.c (cache_addserv): Likewise. * nscd/grpcache.c (cache_addgr): In case a record changed on refresh, adjust key_copy.
* [BZ #4074]Ulrich Drepper2007-02-212-0/+5
| | | | | * nscd/pwdcache.c (cache_addpw): In case a record changed on refresh, adjust key_copy.
* [BZ #4070]Ulrich Drepper2007-02-214-35/+72
| | | | | | | | 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.
* * stdio-common/printf_fp.c (___printf_fp): Cleanups and minorUlrich Drepper2007-02-203-27/+29
| | | | optimization.
* * stdio-common/vfscanf.c: Small cleanups throughout.Ulrich Drepper2007-02-192-52/+44
|
* [BZ #3325]Ulrich Drepper2007-02-195-3/+14
| | | | | | | * 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>.
* * sysdeps/unix/closedir.c: Outside libc don't use locking.Ulrich Drepper2007-02-195-5/+23
| | | | | * sysdeps/unix/opendir.c: Likewise. * sysdeps/unix/readdir.c: Likewise.
* [BZ #2211]Ulrich Drepper2007-02-195-17/+296
| | | | | | * stdio-common/vfscanf.c: Handle localized digits etc for floating point numbers. Patch mostly by Hamed Malek <hamed@farsiweb.info>.
* * stdio-common/vfscanf.c: Fix problems in width accounting.Ulrich Drepper2007-02-183-3/+37
| | | | | * stdio-common/tst-sscanf.c (double_tests): New tests. (main): Hook them up.
* ..Ulrich Drepper2007-02-182-57/+1
| | | | More simplifications of floating-point reader.
* * stdio-common/vfscanf.c: Remove unused WIDTH handling.Ulrich Drepper2007-02-183-4/+8
|
* * stdio-common/Makefile (tests): Add tst-swscanf.Ulrich Drepper2007-02-187-56/+70
| | | | | | * stdio-common/tst-sscanf.c: Make tests usable for swscanf testing. * stdio-common/tst-swscanf.c: New file.
* * SUPPORTED (SUPPORTED-LOCALES): Remove sr_CS locales.Ulrich Drepper2007-02-182-2/+2
|
* [BZ #1430]Ulrich Drepper2007-02-182-41/+15
| | | | | | | | 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>.
* [BZ #672]Ulrich Drepper2007-02-188-13092/+1923
| | | | | | | | | | | | | | | | | 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.
* [BZ #58]Ulrich Drepper2007-02-182-114/+1243
| | | | * locales/uk_UA: New version.
* [BZ #2633]Ulrich Drepper2007-02-173-15/+36
| | | | | | | | * 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.
* [BZ #3842]Ulrich Drepper2007-02-173-2/+10
| | | | | * sysdeps/posix/euidaccess.c [_LIBC] (euidaccess): Remove shortcut using __libc_enable_secure.
* [BZ #2648]Ulrich Drepper2007-02-177-20/+28
| | | | * locales/pl_PL: Fix currency_symbol and its placement.
* [BZ #3818]Ulrich Drepper2007-02-172-20/+55
| | | | * sysdeps/unix/sysv/linux/sys/acct.h (struct acct_v3): Define.
* [BZ #3745]Ulrich Drepper2007-02-172-4/+8
| | | | | * locale/programs/ld-collate.c (handle_ellipsis): Fix generation of names for ellipsises.
* [BZ #3348]Ulrich Drepper2007-02-176-18/+221
| | | | | | | | | 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.