platform/upstream/glibc.git
17 years ago* sysdeps/alpha/fpu/s_ceil.c: Rewrite without branches.
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.

17 years ago * sysdeps/ieee754/ldbl-128/Makefile: New file.
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>

17 years ago * sysdeps/alpha/Makefile (sysdep-CFLAGS): Force dynamic rounding. ...
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>

17 years ago * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Use two
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.

17 years ago * elf/dl-support.c (_dl_aux_init): Honor DL_PLATFORM_AUXV.
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>

17 years ago * sysdeps/unix/sysv/linux/alpha/sigsuspend.S: Add support for
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.

17 years ago* sysdeps/posix/getaddrinfo.c (get_scope): Correct test for
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.

17 years ago* sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Retry with
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.

17 years ago[BZ #4069]
Ulrich Drepper [Mon, 5 Mar 2007 19:40:18 +0000 (19:40 +0000)]
[BZ #4069]

17 years ago[BZ #4096]
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.

17 years ago* sysdeps/unix/sysv/linux/sh/Makefile: Remove sys/io.h
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.

17 years ago* time/tzfile.c (find_transition): Instead of a linear search try to
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.

17 years ago(find_transition): Instead of a linear search try to guess the transition index,...
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.

17 years ago* sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Fix
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.

17 years ago* sysdeps/unix/sysv/linux/fork.c (__libc_fork): Reset refcntr in
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>.

17 years ago* stdlib/strtod_l.c (____STRTOF_INTERNAL): Add branch predictions
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.

17 years ago* stdlib/strtod_l.c (____STRTOF_INTERNAL): 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.

17 years ago[BZ #3325]
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.

17 years ago[BZ #3458]
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.

17 years ago[BZ #4076] cvs/fedora-glibc-20070221T1011
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.

17 years ago* nscd/hstcache.c (cache_addhst): Remove unnecessary conditional.
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.

17 years ago[BZ #4074]
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.

17 years ago[BZ #4070]
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.

17 years ago* stdio-common/printf_fp.c (___printf_fp): Cleanups and minor
Ulrich Drepper [Tue, 20 Feb 2007 01:11:40 +0000 (01:11 +0000)]
* stdio-common/printf_fp.c (___printf_fp): Cleanups and minor

optimization.

17 years ago* stdio-common/vfscanf.c: Small cleanups throughout.
Ulrich Drepper [Mon, 19 Feb 2007 21:20:09 +0000 (21:20 +0000)]
* stdio-common/vfscanf.c: Small cleanups throughout.

17 years ago[BZ #3325]
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>.

17 years ago* sysdeps/unix/closedir.c: Outside libc don't use locking.
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.

17 years ago[BZ #2211]
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>.

17 years ago* stdio-common/vfscanf.c: Fix problems in width accounting.
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.

17 years ago..
Ulrich Drepper [Sun, 18 Feb 2007 09:43:44 +0000 (09:43 +0000)]
..

More simplifications of floating-point reader.

17 years ago* stdio-common/vfscanf.c: Remove unused WIDTH handling.
Ulrich Drepper [Sun, 18 Feb 2007 09:25:25 +0000 (09:25 +0000)]
* stdio-common/vfscanf.c: Remove unused WIDTH handling.

17 years ago* stdio-common/Makefile (tests): Add tst-swscanf.
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.

17 years ago* SUPPORTED (SUPPORTED-LOCALES): Remove sr_CS locales.
Ulrich Drepper [Sun, 18 Feb 2007 04:52:16 +0000 (04:52 +0000)]
* SUPPORTED (SUPPORTED-LOCALES): Remove sr_CS locales.

17 years ago[BZ #1430]
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>.

17 years ago[BZ #672]
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.

17 years ago[BZ #58]
Ulrich Drepper [Sun, 18 Feb 2007 03:59:48 +0000 (03:59 +0000)]
[BZ #58]

* locales/uk_UA: New version.

17 years ago[BZ #2633]
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.

17 years ago[BZ #3842]
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.

17 years ago[BZ #2648]
Ulrich Drepper [Sat, 17 Feb 2007 18:58:25 +0000 (18:58 +0000)]
[BZ #2648]

* locales/pl_PL: Fix currency_symbol and its placement.

17 years ago[BZ #3818]
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.

17 years ago[BZ #3745]
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.

17 years ago[BZ #3348]
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.

17 years ago* locale/iso-3166.def: Update entry for Serbia.
Ulrich Drepper [Sat, 17 Feb 2007 08:08:19 +0000 (08:08 +0000)]
* locale/iso-3166.def: Update entry for Serbia.

17 years ago* locale/iso-4217.def: Define RSD, remove CSD.
Ulrich Drepper [Sat, 17 Feb 2007 08:03:11 +0000 (08:03 +0000)]
* locale/iso-4217.def: Define RSD, remove CSD.

17 years ago[BZ #3322]
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.

17 years ago[BZ #4040]
Ulrich Drepper [Sat, 17 Feb 2007 07:26:50 +0000 (07:26 +0000)]
[BZ #4040]

* sysdeps/x86_64/bits/atomic.h: One more change, this time for 16-
and 64-bit operations.

[BZ #4040]
* sysdeps/i386/i486/bits/atomic.h: One more change, this time for
16-bit operations.

17 years ago[BZ #3885]
Ulrich Drepper [Sat, 17 Feb 2007 07:15:36 +0000 (07:15 +0000)]
[BZ #3885]

2007-02-16  Ulrich Drepper  <drepper@redhat.com>
[BZ #3885]
* locales/i18n: Updates for Unicode 5.0.
* charmaps/UTF-8: Likewise.
Patch by Pablo Saratxaga <pablo@walon.org>

* locales/sl_SI: Slovenia joined the Euro zone.

17 years ago[BZ #3884]
Ulrich Drepper [Sat, 17 Feb 2007 06:52:02 +0000 (06:52 +0000)]
[BZ #3884]

2007-01-12  Gwenole Beauchesne  <gbeauchesne@mandriva.com>
[BZ #3884]
* localedata/locales/sl_SI: Slovenia joined the Euro zone.
Fix negative number format.

17 years ago[BZ #3851]
Ulrich Drepper [Sat, 17 Feb 2007 06:47:13 +0000 (06:47 +0000)]
[BZ #3851]

2007-02-16  Ulrich Drepper  <drepper@redhat.com>
[BZ #3851]
* locales/bn_BD: Fix full name of January and February.
Patch by Jamil Ahmed <jamil@bengalinux.org>.

17 years ago* nscd/nscd.c (parse_opt): One more conversion to use send instead
Ulrich Drepper [Fri, 16 Feb 2007 19:15:07 +0000 (19:15 +0000)]
* nscd/nscd.c (parse_opt): One more conversion to use send instead

of writev.

17 years ago[BZ #3991]
Ulrich Drepper [Fri, 16 Feb 2007 07:58:29 +0000 (07:58 +0000)]
[BZ #3991]

* assert/assert.h (assert): Simplify.
(assert_perror): Likewise.
Patch by Israel G. Lugo <ilugo@bridonsecurity.com>.

17 years ago* nscd/nscd_helper.c (open_socket): Don't send padding bytes from
Ulrich Drepper [Fri, 16 Feb 2007 06:34:26 +0000 (06:34 +0000)]
* nscd/nscd_helper.c (open_socket): Don't send padding bytes from

reqdata.

17 years ago* sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Cosmetic
Ulrich Drepper [Fri, 16 Feb 2007 06:22:14 +0000 (06:22 +0000)]
* sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Cosmetic

change: don't pass NULL in place of an integer.

17 years ago[BZ #3954]
Ulrich Drepper [Fri, 16 Feb 2007 01:25:28 +0000 (01:25 +0000)]
[BZ #3954]

* iconvdata/ksc5601.c (__ksc5601_sym_to_ucs, __ksc5601_sym_from_ucs):
Add mapping for U+327E.
* iconvdata/ksc5601.h (KSC5601_SYMBOL): Increment.
* iconvdata/johab.c (BODY for FROM_LOOP, BODY for TO_LOOP): Enable
mapping of 0xD9 0xE8.
* iconvdata/uhc.c (BODY for FROM_LOOP, BODY for TO_LOOP): Disable
mapping of U+327E.
Reported by Jungshik Shin <jungshik@google.com>.

[BZ #3955]

17 years ago* iconvdata/johab.c (BODY for FROM_LOOP, BODY for TO_LOOP): Enable
Ulrich Drepper [Fri, 16 Feb 2007 01:04:59 +0000 (01:04 +0000)]
* iconvdata/johab.c (BODY for FROM_LOOP, BODY for TO_LOOP): Enable

mapping of 0xD9 0xE6 and of 0xD9 0xE7.
Reported by Jungshik Shin <jungshik@google.com>.

17 years ago[BZ #4040]
Ulrich Drepper [Thu, 15 Feb 2007 06:25:55 +0000 (06:25 +0000)]
[BZ #4040]

2007-02-14  Ulrich Drepper  <drepper@redhat.com>
* sysdeps/x86_64/bits/atomic;h: Fix asm parameters for some
byte variants.

[BZ #4040]
* sysdeps/i386/i486/bits/atomic.h: Fix asm parameters for some
byte variants.  Patch mostly be tom@tommay.net.

17 years ago[BZ #3996]
Ulrich Drepper [Wed, 14 Feb 2007 19:52:38 +0000 (19:52 +0000)]
[BZ #3996]

2007-02-14  Jakub Jelinek  <jakub@redhat.com>
[BZ #3996]
* posix/glob.c (attribute_hidden): Define if not defined.
(glob): Unescape dirname, filename or username when needed and not
GLOB_NOESCAPE.  Handle \/ correctly.  Handle GLOB_MARK if filename
is NULL.  Handle unescaped [ in pattern without closing ].
Don't pass GLOB_CHECK down to recursive glob for directories.
(__glob_pattern_type): New function.
(__glob_pattern_p): Implement using __glob_pattern_type.
(glob_in_dir): Handle GLOB_NOCHECK patterns containing no meta
characters and backslashes if not GLOB_NOESCAPE or unterminated [.
Remove unreachable code.
* posix/globtest.sh: Add a couple of new tests.

17 years ago* po/ru.po: Update from translation team.
Ulrich Drepper [Tue, 13 Feb 2007 15:19:49 +0000 (15:19 +0000)]
* po/ru.po: Update from translation team.

17 years agoUpdate from translation team.
Ulrich Drepper [Tue, 13 Feb 2007 15:18:42 +0000 (15:18 +0000)]
Update from translation team.

17 years ago* sysdeps/i386/bits/byteswap.h (__bswap_32): Add __amdfam10__
Jakub Jelinek [Mon, 12 Feb 2007 21:21:03 +0000 (21:21 +0000)]
* sysdeps/i386/bits/byteswap.h (__bswap_32): Add __amdfam10__

to the list of i486+ CPUs.
* sysdeps/x86_64/bits/byteswap.h (__bswap_32): Likewise.
2007-02-12  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/i386/bits/byteswap.h (__bswap_32): Add __amdfam10__
to the list of i486+ CPUs.
* sysdeps/x86_64/bits/byteswap.h (__bswap_32): Likewise.

17 years ago* elf/rtld.c (RESOLVE_MAP): Always return bootstrap_map reference.
Ulrich Drepper [Mon, 12 Feb 2007 15:17:30 +0000 (15:17 +0000)]
* elf/rtld.c (RESOLVE_MAP): Always return bootstrap_map reference.

* elf/Makefile ($(objpfx)ld.so): Check that ld.so has no undefined
references.

17 years ago* sysdeps/unix/sysv/linux/x86_64/sysdep.h: Remove incorrect comment. cvs/fedora-glibc-20070211T1607
Ulrich Drepper [Sat, 10 Feb 2007 00:10:39 +0000 (00:10 +0000)]
* sysdeps/unix/sysv/linux/x86_64/sysdep.h: Remove incorrect comment.

17 years ago* resolv/res_init.c (res_setoptions): Recognize edns0 option.
Ulrich Drepper [Fri, 9 Feb 2007 23:46:29 +0000 (23:46 +0000)]
* resolv/res_init.c (res_setoptions): Recognize edns0 option.

* resolv/res_mkquery.c: Define __res_nopt.
* resolv/res_query.c (__libc_res_nquery): If RES_USE_EDNS0 is set
try adding EDNS0 record.
* resolv/res_send.c (send_dg): If request failed with FORMERR and
EDNS0 record was send make sure we don't try it again.
* resolv/resolv.h: Define RES_F_EDNS0ERR and RES_USE_EDNS0.
* include/resolv.h: Declare __res_nopt.

17 years ago[BZ #3944]
Ulrich Drepper [Fri, 9 Feb 2007 01:33:57 +0000 (01:33 +0000)]
[BZ #3944]

2007-02-08  Jakub Jelinek  <jakub@redhat.com>
[BZ #3944]
* time/strptime_l.c (__strptime_internal): Set have_mon for
%b/%B/%h.  Set have_mon and have_mday if tm_mon and tm_mday
have been computed from tm_yday and tm_year.  Don't crash
in day_of_the_week or day_of_the_year if not have_mon
and tm_mon contains bogus value.
* time/Makefile (tests): Add tst-strptime3.
* time/tst-strptime3.c: New test.

17 years ago[BZ #3957]
Ulrich Drepper [Mon, 5 Feb 2007 15:23:55 +0000 (15:23 +0000)]
[BZ #3957]

2007-02-05  Jakub Jelinek  <jakub@redhat.com>
[BZ #3957]
* posix/regcomp.c (parse_bracket_exp): Set '\n' bit rather than '\0'
bit for RE_HAT_LISTS_NOT_NEWLINE.
(build_charclass_op): Remove bogus comment.
* posix/Makefile (tests): Add bug-regex27 and bug-regex28.
* posix/bug-regex27.c: New test.
* posix/bug-regex28.c: New test.

17 years ago* po/sv.po: Update from translation team.
Ulrich Drepper [Sat, 3 Feb 2007 23:30:16 +0000 (23:30 +0000)]
* po/sv.po: Update from translation team.

17 years ago* nscd/nscd_helper.c (open_socket): Minor size optimization.
Ulrich Drepper [Fri, 2 Feb 2007 15:53:48 +0000 (15:53 +0000)]
* nscd/nscd_helper.c (open_socket): Minor size optimization.

17 years ago* include/locale.h (__uselocale): Add libc_hidden_proto.
Ulrich Drepper [Fri, 2 Feb 2007 15:37:16 +0000 (15:37 +0000)]
* include/locale.h (__uselocale): Add libc_hidden_proto.

* locale/uselocale.c (__uselocale): Add libc_hidden_def.

2007-02-02  Jakub Jelinek  <jakub@redhat.com>

17 years ago(__uselocale): Add libc_hidden_proto.
Ulrich Drepper [Fri, 2 Feb 2007 15:29:40 +0000 (15:29 +0000)]
(__uselocale): Add libc_hidden_proto.

17 years ago* nscd/nscd_helper.c (open_socket): Use __gettimeofday instead of
Jakub Jelinek [Fri, 2 Feb 2007 14:57:14 +0000 (14:57 +0000)]
* nscd/nscd_helper.c (open_socket): Use __gettimeofday instead of

gettimeofday.
2007-02-02  Jakub Jelinek  <jakub@redhat.com>

* nscd/nscd_helper.c (open_socket): Use __gettimeofday instead of
gettimeofday.

17 years ago* sysdeps/unix/sysv/linux/i386/sysdep.h (PTR_MANGLE): Roll value before cvs/fedora-glibc-20070202T0923
Ulrich Drepper [Thu, 1 Feb 2007 16:14:15 +0000 (16:14 +0000)]
* sysdeps/unix/sysv/linux/i386/sysdep.h (PTR_MANGLE): Roll value before

returning.
(PTR_DEMANGLE): Real definition now that it's not the same as
PRT_MANGLE anymore.
* sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.

* string/strerror_l.c: New file.
* string/Makefile (routines): Add strerror_l.
* string/string.h: Declare strerror_l.
* string/Versions: Export strerror_l for GLIBC_2.6.

* nscd/connections.c (nscd_run): Don't define MAXKEYLEN here.

17 years ago* nscd/nscd_helper.c (open_socket): Now takes request type and key
Ulrich Drepper [Wed, 31 Jan 2007 23:24:54 +0000 (23:24 +0000)]
* nscd/nscd_helper.c (open_socket): Now takes request type and key

as parameter.  Construct request record.  Try sending request
before the first poll use, it usually succeeds.  Adjust all
callers.
* nscd/nscd-client.h: Define MAXKEYLEN.

17 years agoDefine MAXKEYLEN.
Ulrich Drepper [Wed, 31 Jan 2007 23:16:14 +0000 (23:16 +0000)]
Define MAXKEYLEN.

17 years agoDo recend check before realigning on strict alignment arches, as otherwise it was...
Jakub Jelinek [Wed, 31 Jan 2007 10:45:15 +0000 (10:45 +0000)]
Do recend check before realigning on strict alignment arches, as otherwise it was comparing a stack address + offset with a mmap address.

17 years ago* nscd/nscd-client.h (__nscd_cache_search): Remove const qualifier
Jakub Jelinek [Wed, 31 Jan 2007 09:14:21 +0000 (09:14 +0000)]
* nscd/nscd-client.h (__nscd_cache_search): Remove const qualifier

from return value.
* nscd/nscd_helper.c: Include string.h.
(__nscd_cache_search): Remove const qualifier from return value.
On strict alignment architectures check hash entry and data head
alignment.
* nscd/nscd_getpw_r.c (nscd_getpw_r): Don't crash or fail because
mmapped data during GC cycle contains garbage.  If
__nscd_drop_map_ref fails, decrement mapped->counter when returning
error or if retrying with NO_MAPPING, only __nscd_unmap if counter
dropped to 0.
* nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
* nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
* nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
* nscd/nscd_getai.c (__nscd_getai): Likewise.
* nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
2007-01-31  Jakub Jelinek  <jakub@redhat.com>

* nscd/nscd-client.h (__nscd_cache_search): Remove const qualifier
from return value.
* nscd/nscd_helper.c: Include string.h.
(__nscd_cache_search): Remove const qualifier from return value.
On strict alignment architectures check hash entry and data head
alignment.
* nscd/nscd_getpw_r.c (nscd_getpw_r): Don't crash or fail because
mmapped data during GC cycle contains garbage.  If
__nscd_drop_map_ref fails, decrement mapped->counter when returning
error or if retrying with NO_MAPPING, only __nscd_unmap if counter
dropped to 0.
* nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
* nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
* nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
* nscd/nscd_getai.c (__nscd_getai): Likewise.
* nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.

17 years ago* misc/hsearch_r.c (hdestroy_r): Remove unnecessary test.
Ulrich Drepper [Wed, 31 Jan 2007 03:18:03 +0000 (03:18 +0000)]
* misc/hsearch_r.c (hdestroy_r): Remove unnecessary test.

17 years ago* sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Use register
Ulrich Drepper [Fri, 26 Jan 2007 20:05:16 +0000 (20:05 +0000)]
* sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Use register

names not numbers in cfi_*.

ADDR_LIMIT_3GB, PER_LINUX_32BIT, PER_LINUX32_3GB): Add.

17 years agoNo need for FDPIC_FUNCPTRS.
Ulrich Drepper [Fri, 26 Jan 2007 15:26:05 +0000 (15:26 +0000)]
No need for FDPIC_FUNCPTRS.

17 years ago* sysdeps/unix/sysv/linux/sys/personality.h (ADDR_NO_RANDOMIZE,
Andreas Jaeger [Fri, 26 Jan 2007 08:32:47 +0000 (08:32 +0000)]
* sysdeps/unix/sysv/linux/sys/personality.h (ADDR_NO_RANDOMIZE,

FDPIC_FUNCPTRS, ADDR_LIMIT_3GB, PER_LINUX_32BIT, PER_LINUX32_3GB):
Add.
Correct values of PER_HPUX and PER_OSF4.
2007-01-26  Andreas Jaeger  <aj@suse.de>

* sysdeps/unix/sysv/linux/sys/personality.h (ADDR_NO_RANDOMIZE,
FDPIC_FUNCPTRS, ADDR_LIMIT_3GB, PER_LINUX_32BIT, PER_LINUX32_3GB):
Add.
Correct values of PER_HPUX and PER_OSF4.

17 years ago* elf/dl-minimal.c: Undefine _itoa first.
Ulrich Drepper [Thu, 25 Jan 2007 17:10:56 +0000 (17:10 +0000)]
* elf/dl-minimal.c: Undefine _itoa first.

17 years ago* stdio-common/_itoa.h: Define _itoa and _fitoa for 64-bit platforms.
Ulrich Drepper [Thu, 25 Jan 2007 00:45:00 +0000 (00:45 +0000)]
* stdio-common/_itoa.h: Define _itoa and _fitoa for 64-bit platforms.

* malloc/mtrace.c: Revert last change.
* posix/wordexp.c: Likewise.

17 years ago* sysdeps/i386/bits/byteswap.h (__bswap_32): Add __nocona__, __core2__
Ulrich Drepper [Thu, 25 Jan 2007 00:18:05 +0000 (00:18 +0000)]
* sysdeps/i386/bits/byteswap.h (__bswap_32): Add __nocona__, __core2__

and __geode__ to the list of i486+ CPUs.
* sysdeps/x86_64/bits/byteswap.h (__bswap_32): Likewise.

17 years ago* stdio-common/_itoa.c: Include <limits.h>.
Ulrich Drepper [Tue, 23 Jan 2007 16:39:34 +0000 (16:39 +0000)]
* stdio-common/_itoa.c: Include <limits.h>.

* stdio-common/_itowa.c: Likewise.

17 years ago* stdio-common/_itowa.c: Don't compile _itowa for 64-bit
Ulrich Drepper [Mon, 22 Jan 2007 21:21:52 +0000 (21:21 +0000)]
* stdio-common/_itowa.c: Don't compile _itowa for 64-bit

platforms.
* stdio-common/_itoa.c: Don't compile in _itoa and _fitoa for
64-bit platforms.
* malloc/mtrace.c (tr_where): Use _fitoa_word instead of _fitoa if
possible.
* posix/wordexp.c (parse_arith): Use _itoa_word instead of _itoa
if possible.

17 years ago[BZ #3902]
Ulrich Drepper [Mon, 22 Jan 2007 16:18:03 +0000 (16:18 +0000)]
[BZ #3902]

2007-01-22  Ulrich Drepper  <drepper@redhat.com>
[BZ #3902]
* stdio-common/_itoa.c (_itoa): Make sure at least a zero is emitted.
* stdio-common/Makefile (tests): Add bug17.
* stdio-common/bug17.c: New file.

17 years ago* iconvdata/testdata/BRF: New file.
Ulrich Drepper [Sat, 20 Jan 2007 00:24:13 +0000 (00:24 +0000)]
* iconvdata/testdata/BRF: New file.

* iconvdata/testdata/BRF..UTF8: New file.
Contributed by Samuel Thibault <samuel.thibault@ens-lyon.org>.

17 years ago* iconvdata/brf.c: New file.
Ulrich Drepper [Sat, 20 Jan 2007 00:23:01 +0000 (00:23 +0000)]
* iconvdata/brf.c: New file.

* iconvdata/Makefile: Add rules to build BRF.
* iconvdata/TESTS: Add BRF entry.
* iconvdata/gconv-modules: Likewise.
* iconvdata/tst-tables.sh: Likewise.
* iconvdata/testdata/BRF: New file.
* iconvdata/testdata/BRF..UTF8: New file.

17 years ago* wcsmbs/wchar.h (wcstoll): Fix comment, function returns value of
Ulrich Drepper [Fri, 19 Jan 2007 22:59:32 +0000 (22:59 +0000)]
* wcsmbs/wchar.h (wcstoll): Fix comment, function returns value of

type `long long int', not `long int'.
(wcstoq): Likewise.

17 years ago* tst-initializers1.c: We want to test the initializers as seen
Ulrich Drepper [Fri, 19 Jan 2007 06:58:04 +0000 (06:58 +0000)]
* tst-initializers1.c: We want to test the initializers as seen

outside of libc, so undefined _LIBC.

17 years ago* scripts/gen-as-const.awk: Add cast to long to avoid int promotion
Ulrich Drepper [Fri, 19 Jan 2007 01:02:19 +0000 (01:02 +0000)]
* scripts/gen-as-const.awk: Add cast to long to avoid int promotion

of values on 64-bit platforms which are too large.

17 years ago* pthread_join.c (cleanup): Avoid warning.
Ulrich Drepper [Thu, 18 Jan 2007 22:19:48 +0000 (22:19 +0000)]
* pthread_join.c (cleanup): Avoid warning.

17 years ago(cleanup): Avoid warning.
Ulrich Drepper [Thu, 18 Jan 2007 22:19:38 +0000 (22:19 +0000)]
(cleanup): Avoid warning.

17 years ago[BZ #2749]
Jakub Jelinek [Wed, 17 Jan 2007 13:00:11 +0000 (13:00 +0000)]
[BZ #2749]

* sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Include
<math_ldbl_opt.h>.  Remove weak_alias.  Use long_double_symbol macro.
(__copysignl): Use signbit() for comparison.
* sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Correct parms for
SET_LDOUBLE_WORDS64.
[BZ #2423, #2749]
* sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Don't include <fenv_libc.h>.
(__ceill): Remove calls to fegetround(), fesetround().
* sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
* sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
* sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
2007-01-12  Steven Munroe  <sjmunroe@us.ibm.com>
    Joe Kerian  <jkerian@us.us.ibm.com>

[BZ #2749]
* sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Include
<math_ldbl_opt.h>.  Remove weak_alias.  Use long_double_symbol macro.
(__copysignl): Use signbit() for comparison.
* sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Correct parms for
SET_LDOUBLE_WORDS64.

[BZ #2423, #2749]
* sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Don't include <fenv_libc.h>.
(__ceill): Remove calls to fegetround(), fesetround().
* sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
* sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
* sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.

17 years ago* nscd/nscd_getserv_r.c (nscd_getserv_r): Fix pastos.
Jakub Jelinek [Wed, 17 Jan 2007 12:56:51 +0000 (12:56 +0000)]
* nscd/nscd_getserv_r.c (nscd_getserv_r): Fix pastos.

* nscd/nscd_getserv_r.c (nscd_getserv_r): Fix pastos.

17 years ago* sysdeps/unix/sysv/linux/getdents.c (offsetof): Remove.
Jakub Jelinek [Wed, 17 Jan 2007 11:42:36 +0000 (11:42 +0000)]
* sysdeps/unix/sysv/linux/getdents.c (offsetof): Remove.

2007-01-17  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/unix/sysv/linux/getdents.c (offsetof): Remove.

17 years ago* sysdeps/unix/sysv/linux/fatal-prepare.h: Use PTHFCT_CALL to cvs/fedora-glibc-20070117T0857 cvs/fedora-glibc-20070117T1043
Ulrich Drepper [Wed, 17 Jan 2007 09:33:32 +0000 (09:33 +0000)]
* sysdeps/unix/sysv/linux/fatal-prepare.h: Use PTHFCT_CALL to

demangle pointer.
* csu/libc-start.c: Likewise.

17 years ago* sysdeps/unix/sysv/linux/libc_pthread_init.c: Don't just copy the
Ulrich Drepper [Wed, 17 Jan 2007 08:37:26 +0000 (08:37 +0000)]
* sysdeps/unix/sysv/linux/libc_pthread_init.c: Don't just copy the

function table, mangle the pointers.
* sysdeps/pthread/pthread-functions.h: Define PTHFCT_CALL.
* forward.c: Use PTHFCT_CALL and __libc_pthread_functions_init.
* sysdeps/pthread/bits/libc-lock.h: When using __libc_pthread_functions
demangle pointers before use.
* sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Use PTHFCT_CALL to
demangle pointer.
* sysdeps/unix/sysv/linux/jmp-unwind.c: Likewise.
* sysdeps/pthread/setxid.h: Likewise.

17 years ago* sysdeps/posix/system.c: Remove NO_WAITPID support, it cannot
Ulrich Drepper [Wed, 17 Jan 2007 04:39:59 +0000 (04:39 +0000)]
* sysdeps/posix/system.c: Remove NO_WAITPID support, it cannot

really work anyway.

17 years ago* nscd/connections.c (servinfo): Renamed to reqinfo. Change all
Ulrich Drepper [Tue, 16 Jan 2007 01:27:56 +0000 (01:27 +0000)]
* nscd/connections.c (servinfo): Renamed to reqinfo.  Change all

users.
(handle_request): Remove unnecessary tests.

17 years ago..
Ulrich Drepper [Tue, 16 Jan 2007 00:24:35 +0000 (00:24 +0000)]
..

2007-01-15  Ulrich Drepper  <drepper@redhat.com>

* nscd/cache.c (cache_add): Record the failure to add to the cache.