external/glibc.git
18 years ago[BZ #1294]
Ulrich Drepper [Sat, 12 Nov 2005 02:11:32 +0000 (02:11 +0000)]
[BZ #1294]

2005-11-11  Ulrich Drepper  <drepper@redhat.com>
[BZ #1294]
* locales/pt_BR: Set p_cs_precedes and n_cs_precedes to 1.

18 years ago* io/Makefile (routines): Add fstatat, fstatat64, fxstatat, fxstatat64,
Ulrich Drepper [Fri, 11 Nov 2005 20:02:07 +0000 (20:02 +0000)]
* io/Makefile (routines): Add fstatat, fstatat64, fxstatat, fxstatat64,

fchownat, and unlinkat.
(static-only-routines): Add fstatat and fstatat64.
(tests): Add tst-unlinkat, tst-fstatat, tst-futimesat, tst-renameat,
and tst-fchownat.
* io/Versions [GLIBC_2.4]: Add fchownat, __fxstatat, __fxstatat64,
and unlinkat.
* io/fcntl.h: Define AT_FDCWD, AT_SYMLINK_NOFOLLOW, and AT_REMOVEDIR.
* io/fstatat.c: New file.
* io/fstatat64.c: New file.
* io/sys/stat.h: Declare fstatat, fstatat64, __fxstatat, __fxstatat64
and define fstatat and fstatat64 inline functions.
* libio/stdio.h: Declare renameat.
* misc/Makefile (routines): Add futimesat.
* misc/Versions [GLIBC_2.4]: Add futimesat.
* posix/unistd.h: Declare fchownat and unlinkat.
* stdio-common/Makefile (routines): Add renameat.
* stdio-common/Versions [GLIBC_2.4]: Add renameat.
* sysdeps/generic/fchownat.c: New file.
* sysdeps/generic/futimesat.c: New file.
* sysdeps/generic/fxstatat.c: New file.
* sysdeps/generic/fxstatat64.c: New file.
* sysdeps/generic/renameat.c: New file.
* sysdeps/generic/unlinkat.c: New file.
* sysdeps/unix/sysv/linux/fchownat.c: New file.
* sysdeps/unix/sysv/linux/futimesat.c: New file.
* sysdeps/unix/sysv/linux/fxstatat.c: New file.
* sysdeps/unix/sysv/linux/fxstatat64.c: New file.
* sysdeps/unix/sysv/linux/renameat.c: New file.
* sysdeps/unix/sysv/linux/unlinkat.c: New file.
* sysdeps/unix/sysv/linux/alpha/fxstatat.c: New file.
* sysdeps/unix/sysv/linux/i386/fchownat.c: New file.
* sysdeps/unix/sysv/linux/i386/fxstatat.c: New file.
* sysdeps/unix/sysv/linux/m68k/fchownat.c: New file.
* sysdeps/unix/sysv/linux/m68k/fxstatat.c: New file.
* sysdeps/unix/sysv/linux/powerpc/fchownat.c: New file.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/fxstatat.c: New file.
* sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: New file.
* sysdeps/unix/sysv/linux/s390/s390-32/fxstatat.c: New file.
* sysdeps/unix/sysv/linux/sh/fchownat.c: New file.
* sysdeps/unix/sysv/linux/sh/fxstatat.c: New file.
* sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: New file.
* sysdeps/unix/sysv/linux/sparc/sparc32/fxstatat.c: New file.
* sysdeps/unix/sysv/linux/sparc/sparc64/fxstatat.c: New file.
* sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: New file.
* sysdeps/unix/sysv/linux/wordsize-64/fxstatat64.c: New file.
* time/sys/time.h: Declare futimesat.
* include/fcntl.h: Declare __atfct_seterrno.
* sysdeps/unix/sysv/linux/openat.c (__atfct_seterrno): New function.
Split out from openat code and called.
(do_test): Allow openat to fail with ENOSYS.  Handle AT_FDCWD.
* sysdeps/generic/openat.c: Handle AT_FDCWD.
* sysdeps/generic/openat64.c: Likewise.
* io/tst-unlinkat.c: New file.
* io/tst-fstatat.c: New file.
* io/tst-futimesat.c: New file.
* io/tst-renameat.c: New file.
* io/tst-fchownat.c: New file.
* io/tst-openat.c: Don't fail if openat is not implemented.

* sysdeps/unix/sysv/linux/powerpc/chown.c: Don't provide backward
compatibility code if new kernel is guaranteed.

* time/sys/time.h: Add a few nonnull attributes.

19 years ago* io/fcntl.h: Declare openat and openat64.
Ulrich Drepper [Thu, 10 Nov 2005 00:12:21 +0000 (00:12 +0000)]
* io/fcntl.h: Declare openat and openat64.

* io/Makefile (routines): Add openat and openat64.
(tests): Add tst-openat.
* io/Versions: Add openat and openat64 for GLIBC_2.4.
* sysdeps/generic/openat.c: New file.
* sysdeps/generic/openat64.c: New file.
* sysdeps/unix/sysv/linux/openat.c: New file.
* sysdeps/unix/sysv/linux/openat64.c: New file.
* io/tst-openat.c: New file.

* sysdeps/unix/sysv/linux/device-nrs.h: Add info for /dev/full.

19 years ago(__libc_check_standard_fds): Reverse modes so that common operations on
Ulrich Drepper [Wed, 9 Nov 2005 19:36:12 +0000 (19:36 +0000)]
(__libc_check_standard_fds): Reverse modes so that common operations on

19 years ago* sysdeps/generic/check_fds.c (check_one_fd): For writable
Ulrich Drepper [Wed, 9 Nov 2005 19:32:40 +0000 (19:32 +0000)]
* sysdeps/generic/check_fds.c (check_one_fd): For writable

descriptors, use /dev/full.
(__libc_check_standard_fds): Revert modes so that common operations on
the descriptors fail.

19 years ago(check_one_fd): For writable descriptors, use /dev/full. (__libc_check_standard_fds...
Ulrich Drepper [Wed, 9 Nov 2005 19:26:07 +0000 (19:26 +0000)]
(check_one_fd): For writable descriptors, use /dev/full. (__libc_check_standard_fds): Revert modes so that common operations on the descriptors fail.

19 years ago* elf/elf.h (R_M32R_REL32): New macro.
Roland McGrath [Tue, 8 Nov 2005 01:53:36 +0000 (01:53 +0000)]
* elf/elf.h (R_M32R_REL32): New macro.

19 years ago* sysdeps/mach/hurd/bits/stat.h (S_IMMAP0): New macro.
Roland McGrath [Tue, 8 Nov 2005 01:23:02 +0000 (01:23 +0000)]
* sysdeps/mach/hurd/bits/stat.h (S_IMMAP0): New macro.

(S_ISPARE): Unset the S_IMMAP0 flag.

19 years ago* configure.in: Grok --with-cpu=CPU option. If given, search for
Roland McGrath [Tue, 8 Nov 2005 01:21:32 +0000 (01:21 +0000)]
* configure.in: Grok --with-cpu=CPU option.  If given, search for

sysdeps/.../machine/CPU subdirs, and give error if none are found.
* configure: Regenerated.
* config.make.in (with-cpu): New substituted variable.
* Makeconfig (+cflags): Add -mcpu=$(with-cpu) if set.

19 years ago* malloc/malloc.c (munmap_chunk): Suppress warnings from last change.
Roland McGrath [Mon, 7 Nov 2005 23:00:18 +0000 (23:00 +0000)]
* malloc/malloc.c (munmap_chunk): Suppress warnings from last change.

* sysdeps/unix/sysv/linux/tcflush.c: Rewritten.
* sysdeps/unix/sysv/linux/tcflow.c: Rewritten.

19 years agosysdeps/unix/bsd/sun moved to ports
Roland McGrath [Mon, 7 Nov 2005 22:37:55 +0000 (22:37 +0000)]
sysdeps/unix/bsd/sun moved to ports

2005-11-07  Roland McGrath  <roland@redhat.com>

* sysdeps/unix/bsd/sun: Directory and all subdirectories removed,
saved in ports repository.

19 years ago* malloc/malloc.c (munmap_chunk): Add sanity checks.
Ulrich Drepper [Sun, 6 Nov 2005 17:08:48 +0000 (17:08 +0000)]
* malloc/malloc.c (munmap_chunk): Add sanity checks.

* sysdeps/pthread/configure: Fix comment.

19 years ago* configure.in: Remove gnu_as definition and everything using it.
Ulrich Drepper [Sun, 6 Nov 2005 02:14:58 +0000 (02:14 +0000)]
* configure.in: Remove gnu_as definition and everything using it.

* config.make.in: Remove gnu-as.
* config.h.in: Remove HAVE_GNU_AS.

19 years ago* config.make.in: Remove gnu-ld.
Ulrich Drepper [Sun, 6 Nov 2005 02:08:44 +0000 (02:08 +0000)]
* config.make.in: Remove gnu-ld.

19 years ago* configure.in: Remove gnu_ld definition and everything using it.
Ulrich Drepper [Sun, 6 Nov 2005 02:06:06 +0000 (02:06 +0000)]
* configure.in: Remove gnu_ld definition and everything using it.

* config.h.in: Remove HAVE_GNU_LD.
* csu/Makefile: Remove use of gnu-ld.
* csu/munch.awk: Removed.
* csu/munch-tmpl.c: Removed.
* include/libc-symbols.h: Remove use of HAVE_GNU_LD.
* posix/execl.c: Likewise.
* posix/execv.c: Likewise.
* stdio-common/psignal.c: Likewise.
* stdlib/exit.c: Likewise.
* string/strsignal.c: Likewise.
* string/tester.c: Likewise.
* sysdeps/generic/errlist.c: Likewise.
* sysdeps/generic/getenv.c: Likewise.
* sysdeps/generic/getgroups.c: Likewise.
* sysdeps/generic/init-posix.c: Likewise.
* sysdeps/posix/gettimeofday.c: Likewise.
* sysdeps/posix/system.c: Likewise.
* sysdeps/unix/bsd/init-posix.c: Likewise.
* sysdeps/unix/bsd/ulimit.c: Likewise.
* sysdeps/unix/bsd/sun/m68k/brk.S: Likewise.
* sysdeps/unix/bsd/sun/m68k/sethostid.S: Likewise.
* sysdeps/unix/bsd/sun/sparc/sethostid.S: Likewise.
* sysdeps/unix/i386/brk.S: Likewise.
* sysdeps/unix/sparc/brk.S: Likewise.

19 years ago* config.h.in: Remove HAVE_SUBTRACT_LOCAL_LABELS.
Ulrich Drepper [Sat, 5 Nov 2005 21:52:08 +0000 (21:52 +0000)]
* config.h.in: Remove HAVE_SUBTRACT_LOCAL_LABELS.

19 years ago* configure.in: Remove test for support for subtracting local labels.
Ulrich Drepper [Sat, 5 Nov 2005 21:49:48 +0000 (21:49 +0000)]
* configure.in: Remove test for support for subtracting local labels.

* stdio-common/vfprintf.c: Remove test of
HAVE_SUBTRACT_LOCAL_LABELS.

19 years ago* configure.in: If init_array/fini_array support is not available,
Ulrich Drepper [Sat, 5 Nov 2005 17:46:24 +0000 (17:46 +0000)]
* configure.in: If init_array/fini_array support is not available,

bail out.
* config.h.in: Remove trace of optional init_array/fini_array support.
* config.make.in: Likewise.
* csu/elf-init.c: Likewise.
* dlfcn/dlfcn.c: Likewise.
* elf/soinit.c: Likewise.
* sysdeps/ia64/elf/initfinit.c: Likewise.

19 years ago* SUPPORTED (SUPPORTED-LOCALES): Fix typo in si_LK line.
Ulrich Drepper [Sat, 5 Nov 2005 16:26:30 +0000 (16:26 +0000)]
* SUPPORTED (SUPPORTED-LOCALES): Fix typo in si_LK line.

19 years ago(SUPPORTED-LOCALES): Fix typo in si_LK line.
Ulrich Drepper [Sat, 5 Nov 2005 16:25:49 +0000 (16:25 +0000)]
(SUPPORTED-LOCALES): Fix typo in si_LK line.

19 years ago* sysdeps/i386/configure.in (libc_mtune_example): Variable removed.
Roland McGrath [Sat, 5 Nov 2005 02:36:27 +0000 (02:36 +0000)]
* sysdeps/i386/configure.in (libc_mtune_example): Variable removed.

* sysdeps/i386/configure: Regenerated.

19 years ago[BZ #1089]
Roland McGrath [Sat, 5 Nov 2005 02:00:22 +0000 (02:00 +0000)]
[BZ #1089]

2005-11-04  Roland McGrath  <roland@redhat.com>
[BZ #1089]
* configure.in: Change order of add-on sysdeps directories,
so they are interleaved with main sysdeps directories.
* configure: Regenerated.

19 years ago* NEWS: Synch with 2.3 branch updates.
Roland McGrath [Fri, 4 Nov 2005 01:52:52 +0000 (01:52 +0000)]
* NEWS: Synch with 2.3 branch updates.

19 years ago2005-11-03 Roland McGrath <roland@redhat.com>
Roland McGrath [Fri, 4 Nov 2005 01:52:16 +0000 (01:52 +0000)]
2005-11-03  Roland McGrath  <roland@redhat.com>

* NEWS: Synch with 2.3 branch updates.

19 years ago* sunrpc/svc.c (svc_getreq_poll): Fix inefficient loop test.
Ulrich Drepper [Fri, 4 Nov 2005 00:56:13 +0000 (00:56 +0000)]
* sunrpc/svc.c (svc_getreq_poll): Fix inefficient loop test.

19 years ago(svc_getreq_poll): Fix inefficient loop test.
Ulrich Drepper [Fri, 4 Nov 2005 00:55:03 +0000 (00:55 +0000)]
(svc_getreq_poll): Fix inefficient loop test.

19 years ago* sunrpc/svc.c (svc_getreqset): Use ffsl instead of ffs on fd_mask,
Roland McGrath [Thu, 3 Nov 2005 23:30:51 +0000 (23:30 +0000)]
* sunrpc/svc.c (svc_getreqset): Use ffsl instead of ffs on fd_mask,

make sure constant is long.

19 years ago[BZ #1548]
Roland McGrath [Thu, 3 Nov 2005 21:39:43 +0000 (21:39 +0000)]
[BZ #1548]

2005-11-03  Roland McGrath  <roland@redhat.com>
[BZ #1548]
* sunrpc/svc.c (svc_getreqset): Use ffsl instead of ffs on fd_mask.
From Jay Lan <jlan@engr.sgi.com>.

19 years ago[BZ #1548]
Roland McGrath [Thu, 3 Nov 2005 21:39:36 +0000 (21:39 +0000)]
[BZ #1548]

2005-11-03  Roland McGrath  <roland@redhat.com>
[BZ #1548]
* sunrpc/svc.c (svc_getreqset): Use ffsl instead of ffs on fd_mask.
From Jay Lan <jlan@engr.sgi.com>.

19 years ago[BZ #1774]
Ulrich Drepper [Thu, 3 Nov 2005 18:56:56 +0000 (18:56 +0000)]
[BZ #1774]

2005-11-03  Ulrich Drepper  <drepper@redhat.com>
[BZ #1774]
* sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use simple
gethostbyname2 lookup if AI_V4MAPPED|AI_ALL is set.

* sysdeps/posix/getaddrinfo.c (gaih_inet): Avoid alloca when possible
while looking for scope delimiter.
Some pretty printing.

19 years ago* sysdeps/powerpc/powerpc64/Makefile
Ulrich Drepper [Tue, 1 Nov 2005 02:13:41 +0000 (02:13 +0000)]
* sysdeps/powerpc/powerpc64/Makefile

(sysdep_routines, elide-routines.os): Add hp-timing.
* sysdeps/powerpc/powerpc64/hp-timing.c: New file.
* sysdeps/powerpc/powerpc64/hp-timing.h: New file.
* sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: New file.

19 years ago* resolv/res_init.c (__res_iclose): New function. Broken out of
Ulrich Drepper [Tue, 1 Nov 2005 00:08:54 +0000 (00:08 +0000)]
* resolv/res_init.c (__res_iclose): New function.  Broken out of

res_nclose.  Take addition parameter which determines whether
addresses should be freed.
(res_nclose): Call __res_iclose.
(res_thread_freeres): Likewise.
* resolv/res_data.c (res_close): Call __res_iclose.
* resolv/res_libc.c (res_init): No need to separately free the
addresses.
(__res_maybe_init): Likewise.
* resolv/res_send.c: Use __res_iclose instead of res_nclose.
* resolv/Versions [GLIBC_PRIVATE]: Add __res_iclose.
* include/resolv.h: Declare __res_iclose.
Add libc_hidden_proto for __res_iclose.
* hesiod/hesiod.c (__hesiod_res_set): No need to free name server
addresses here again.

19 years ago* debug/execinfo.h: Change backtrace_symbols_fd comment.
Ulrich Drepper [Mon, 31 Oct 2005 15:30:02 +0000 (15:30 +0000)]
* debug/execinfo.h: Change backtrace_symbols_fd comment.

19 years ago[BZ #1579]
Ulrich Drepper [Mon, 31 Oct 2005 15:29:06 +0000 (15:29 +0000)]
[BZ #1579]

2005-10-31  Ulrich Drepper  <drepper@redhat.com>
[BZ #1579]
* debug/execinfo.h: Change backtrace+symbols_fd comment.

19 years agoChange backtrace+symbols_fd comment.
Ulrich Drepper [Mon, 31 Oct 2005 15:25:14 +0000 (15:25 +0000)]
Change backtrace+symbols_fd comment.

19 years ago* sysdeps/ia64/fpu/libm-symbols.h (WEAK_LIBM_ENTRY): Add "__"
Roland McGrath [Mon, 31 Oct 2005 01:41:48 +0000 (01:41 +0000)]
* sysdeps/ia64/fpu/libm-symbols.h (WEAK_LIBM_ENTRY): Add "__"

prefix to LOCAL_LIBM_ENTRY.
(WEAK_LIBM_END): Add "__" prefix to LOCAL_LIBM_END.

19 years ago* elf/dl-conflict.c (_dl_resolve_conflicts): Use _dl_debug_printf
Roland McGrath [Mon, 31 Oct 2005 01:28:52 +0000 (01:28 +0000)]
* elf/dl-conflict.c (_dl_resolve_conflicts): Use _dl_debug_printf

instead of _dl_printf to print conflict processing debug message.
Reported by John Reiser <jreiser@BitWagon.com>.

19 years ago2005-10-26 Jakub Jelinek <jakub@redhat.com>
Roland McGrath [Mon, 31 Oct 2005 01:28:48 +0000 (01:28 +0000)]
2005-10-26  Jakub Jelinek  <jakub@redhat.com>

* elf/dl-conflict.c (_dl_resolve_conflicts): Use _dl_debug_printf
instead of _dl_printf to print conflict processing debug message.
Reported by John Reiser <jreiser@BitWagon.com>.

19 years ago* misc/hsearch_r.c (hsearch_r): Remove duplicate test.
Ulrich Drepper [Sun, 30 Oct 2005 19:06:52 +0000 (19:06 +0000)]
* misc/hsearch_r.c (hsearch_r): Remove duplicate test.

Patch by Chris Caputo <ccaputo@alt.net>.

2005-10-28  Kaz Kojima  <kkojima@rr.iij4u.or.jp>

* sysdeps/unix/sh/sysdep.S: Remove unnecessary weak_alias.
* sysdeps/unix/sysv/linux/sh/socket.S: Honor NO_WEAK_ALIAS.

19 years ago* nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey): Fix off
Ulrich Drepper [Fri, 28 Oct 2005 22:42:52 +0000 (22:42 +0000)]
* nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey): Fix off

by one error.

19 years ago(_nss_nis_getpublickey): Fix off by one error.
Ulrich Drepper [Fri, 28 Oct 2005 22:38:59 +0000 (22:38 +0000)]
(_nss_nis_getpublickey): Fix off by one error.

19 years ago[BZ #721]
Roland McGrath [Mon, 24 Oct 2005 20:50:46 +0000 (20:50 +0000)]
[BZ #721]

2005-10-24  Roland McGrath  <roland@redhat.com>
* sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove unnecessary
versioned_symbol use.

[BZ #721]

19 years ago[BZ #1534]
Roland McGrath [Mon, 24 Oct 2005 19:31:20 +0000 (19:31 +0000)]
[BZ #1534]

2005-10-24  Roland McGrath  <roland@redhat.com>
[BZ #1534]
* include/string.h: Use libc_hidden_proto for strnlen,
not libc_hidden_builtin_proto.

19 years ago[BZ #1534]
Roland McGrath [Mon, 24 Oct 2005 19:31:12 +0000 (19:31 +0000)]
[BZ #1534]

2005-10-24  Roland McGrath  <roland@redhat.com>
[BZ #1534]
* include/string.h: Use libc_hidden_proto for strnlen,
not libc_hidden_builtin_proto.

19 years ago* rt/mqueue.h: Cleanups.
Ulrich Drepper [Sun, 23 Oct 2005 20:51:32 +0000 (20:51 +0000)]
* rt/mqueue.h: Cleanups.

19 years agoCleanups.
Ulrich Drepper [Sun, 23 Oct 2005 20:38:06 +0000 (20:38 +0000)]
Cleanups.

19 years agocopyright update
Roland McGrath [Sun, 23 Oct 2005 00:55:27 +0000 (00:55 +0000)]
copyright update

19 years ago[BZ #1254]
Roland McGrath [Sun, 23 Oct 2005 00:46:40 +0000 (00:46 +0000)]
[BZ #1254]

2005-10-22  Roland McGrath  <roland@redhat.com>
[BZ #1254]
* sysdeps/mach/hurd/getpeername.c (__getpeername): Fix last change.
From Samuel Thibault <samuel.thibault@ens-lyon.org>.

19 years ago[BZ #1252, BZ #1498]
Roland McGrath [Sun, 23 Oct 2005 00:43:23 +0000 (00:43 +0000)]
[BZ #1252, BZ #1498]

2005-10-17  Thomas Schwinge  <tschwinge@gnu.org>
[BZ #1252]
* hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Don't use ?: as lvalue.
* sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.

[BZ #1498]

19 years ago[BZ #1252]
Roland McGrath [Sun, 23 Oct 2005 00:43:15 +0000 (00:43 +0000)]
[BZ #1252]

2005-10-17  Thomas Schwinge  <tschwinge@gnu.org>
[BZ #1252]
* hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Don't use ?: as lvalue.
* sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.

19 years ago* iconvdata/ibm1364.h (__ucs4_to_ibm1364sb): Fix one mapping.
Ulrich Drepper [Fri, 21 Oct 2005 04:28:06 +0000 (04:28 +0000)]
* iconvdata/ibm1364.h (__ucs4_to_ibm1364sb): Fix one mapping.

* iconvdata/ibm1388.h (__ucs4_to_ibm1388sb): Likewise.
* iconvdata/testdata/IBM1364: Add missing valid input.
* iconvdata/testdata/IBM1388: Likewise.
* iconvdata/testdata/IBM1364..UTF8: Adjust appropriately.
* iconvdata/testdata/IBM1388..UTF8: Likewise.
Patch by Masahide Washizawa <washi@jp.ibm.com>.

19 years ago* sysdeps/alpha/remqu.S: Return the correct result when the same
Ulrich Drepper [Thu, 20 Oct 2005 05:25:40 +0000 (05:25 +0000)]
* sysdeps/alpha/remqu.S: Return the correct result when the same

dividend and divisor are provided, and they're negative numbers.
* sysdeps/alpha/divqu.S: Likewise.

19 years ago* sysdeps/unix/sysv/linux/powerpc/powerpc32/ucontext_i.h (TESTS):
Ulrich Drepper [Thu, 20 Oct 2005 00:09:39 +0000 (00:09 +0000)]
* sysdeps/unix/sysv/linux/powerpc/powerpc32/ucontext_i.h (TESTS):

Define.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.h (TESTS):
Likewise.

19 years ago..
Ulrich Drepper [Wed, 19 Oct 2005 23:58:35 +0000 (23:58 +0000)]
..

2005-10-19  Ulrich Drepper  <drepper@redhat.com>

* iconvdata/Makefile (modules): Add IBM1364, IBM1371, IBM1388, IBM1390,
and IBM1399.
(distribute): Add ibm1364.c, ibm1364.h, ibm1371.c, ibm1371.h,
ibm1388.c, ibm1388.h, ibm1390.c, ibm1390.h, ibm1399.c, and ibm1399.h.
* iconvdata/TESTS: Add entries for IBM1364, IBM1371, IBM1388, IBM1390,
and IBM1399.
* iconvdata/gconv-modules: Likewise.
* iconvdata/ibm1364.c: New file.
* iconvdata/ibm1364.h: New file.
* iconvdata/ibm1371.c: New file.
* iconvdata/ibm1371.h: New file.
* iconvdata/ibm1388.c: New file.
* iconvdata/ibm1388.h: New file.
* iconvdata/ibm1390.c: New file.
* iconvdata/ibm1390.h: New file.
* iconvdata/ibm1399.c: New file.
* iconvdata/ibm1399.h: New file.
* iconvdata/testdata/IBM1364: New file.
* iconvdata/testdata/IBM1364..UTF8: New file.
* iconvdata/testdata/IBM1371: New file.
* iconvdata/testdata/IBM1371..UTF8: New file.
* iconvdata/testdata/IBM1388: New file.
* iconvdata/testdata/IBM1388..UTF8: New file
* iconvdata/testdata/IBM1390: New file.
* iconvdata/testdata/IBM1390..UTF8: New file.
* iconvdata/testdata/IBM1399: New file.
* iconvdata/testdata/IBM1399..UTF8: New file.
Original patch by Masahide Washizawa <washi@jp.ibm.com>.

19 years agoiconv module for IBM1364.
Ulrich Drepper [Wed, 19 Oct 2005 23:31:17 +0000 (23:31 +0000)]
iconv module for IBM1364.

19 years ago[BZ #721]
Roland McGrath [Mon, 17 Oct 2005 20:59:32 +0000 (20:59 +0000)]
[BZ #721]

2005-10-17  Roland McGrath  <roland@redhat.com>
* elf/dl-load.c (MAP_COPY): When undefined, define to
MAP_PRIVATE|MAP_DENYWRITE instead of just MAP_PRIVATE.
(_dl_map_object_from_fd): Don't use MAP_DENYWRITE explicitly.

[BZ #721]
[BZ #721]
[BZ #721]
[BZ #721]
[BZ #721]
[BZ #721]
[BZ #721]
[BZ #721]

19 years ago2005-10-17 Roland McGrath <roland@redhat.com>
Roland McGrath [Mon, 17 Oct 2005 20:59:28 +0000 (20:59 +0000)]
2005-10-17  Roland McGrath  <roland@redhat.com>

* elf/dl-load.c (MAP_COPY): When undefined, define to
MAP_PRIVATE|MAP_DENYWRITE instead of just MAP_PRIVATE.
(_dl_map_object_from_fd): Don't use MAP_DENYWRITE explicitly.

19 years ago* sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.h (SC_STSZ, TESTS):
Ulrich Drepper [Mon, 17 Oct 2005 17:01:06 +0000 (17:01 +0000)]
* sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.h (SC_STSZ, TESTS):

Define.
* sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.h (SC_STSZ, TESTS):
Likewise.

19 years agoallow EACCES errors when opening /proc for now.
Ulrich Drepper [Mon, 17 Oct 2005 16:07:28 +0000 (16:07 +0000)]
allow EACCES errors when opening /proc for now.

19 years ago* libio/oldfileops.c (_IO_old_file_xsputn): Fix last patch.
Ulrich Drepper [Mon, 17 Oct 2005 16:05:54 +0000 (16:05 +0000)]
* libio/oldfileops.c (_IO_old_file_xsputn): Fix last patch.

Return EOF not 0.

* sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Also
allow EACCES errors when opening /rpco for now.

* wctype/wcfuncs.c: Don't use expensive wide char lookups in isw*
functions if character is in ASCII range.
* wctype/wcfuncs_l.c: Likewise.

19 years agoDon't use expensive wide char lookups in isw* functions if character is in ASCII...
Ulrich Drepper [Mon, 17 Oct 2005 15:48:30 +0000 (15:48 +0000)]
Don't use expensive wide char lookups in isw* functions if character is in ASCII range.

19 years ago* abi-tags (.*-.*-knetbsd.*-gnu.*): New match, with ABI value 4.
Roland McGrath [Mon, 17 Oct 2005 02:44:01 +0000 (02:44 +0000)]
* abi-tags (.*-.*-knetbsd.*-gnu.*): New match, with ABI value 4.

* elf/cache.c (print_entry): Match the kNetBSD ABI tag.

19 years ago* sysdeps/generic/bits/mman.h
Roland McGrath [Mon, 17 Oct 2005 02:39:56 +0000 (02:39 +0000)]
* sysdeps/generic/bits/mman.h

[__USE_GNU] (MREMAP_MAYMOVE, REMAP_FIXED): New macros.

19 years ago2005-10-16 Alfred M. Szmidt <ams@gnu.org>
Roland McGrath [Mon, 17 Oct 2005 02:39:51 +0000 (02:39 +0000)]
2005-10-16  Alfred M. Szmidt  <ams@gnu.org>

* sysdeps/generic/bits/mman.h
[__USE_GNU] (MREMAP_MAYMOVE, REMAP_FIXED): New macros.

19 years ago* sysdeps/unix/sysv/linux/sh/makecontext.S: New file.
Ulrich Drepper [Sun, 16 Oct 2005 15:49:27 +0000 (15:49 +0000)]
* sysdeps/unix/sysv/linux/sh/makecontext.S: New file.

* sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: New file.
* sysdeps/unix/sysv/linux/sh/sh4/getcontext.S: New file.
* sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: New file.
* sysdeps/unix/sysv/linux/sh/sh4/setcontext.S: New file.
* sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: New file.
* sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S: New file.
* sysdeps/unix/sysv/linux/sh/sh3/ucontext_i.h: New file.
* sysdeps/unix/sysv/linux/sh/sh4/ucontext_i.h: New file.
* sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Removed.
* sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: New file.
* sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: New file.

19 years ago[BZ #1228]
Ulrich Drepper [Sun, 16 Oct 2005 15:35:46 +0000 (15:35 +0000)]
[BZ #1228]

..
2005-09-13  Jakub Jelinek  <jakub@redhat.com>

[BZ #1228]
* include/limits.h (LLONG_MIN, LLONG_MAX, ULLONG_MAX): Make sure these
are defined for -D_GNU_SOURCE or -D_ISOC99_SOURCE even when not
-std=c99.

19 years ago(LLONG_MIN, LLONG_MAX, ULLONG_MAX): Make sure these are defined for -D_GNU_SOURCE...
Ulrich Drepper [Sun, 16 Oct 2005 15:32:33 +0000 (15:32 +0000)]
(LLONG_MIN, LLONG_MAX, ULLONG_MAX): Make sure these are defined for -D_GNU_SOURCE or -D_ISOC99_SOURCE even when not -std=c99.

19 years ago* sysdeps/unix/sysv/linux/sh/bits/mman.h: Define MREMAP_FIXED.
Roland McGrath [Sun, 16 Oct 2005 11:38:59 +0000 (11:38 +0000)]
* sysdeps/unix/sysv/linux/sh/bits/mman.h: Define MREMAP_FIXED.

19 years ago[BZ #1249, BZ #1252]
Roland McGrath [Sun, 16 Oct 2005 10:32:31 +0000 (10:32 +0000)]
[BZ #1249, BZ #1252]

2005-08-05  Alfred M. Szmidt  <ams@gnu.org>
[BZ #1252]
* sysdeps/mach/hurd/setitimer.c (restart_itimer): Move static fn
forward decl out of function body.
* sysdeps/mach/hurd/profil.c: Likewise.

[BZ #1249]

19 years ago[BZ #1350]
Roland McGrath [Sun, 16 Oct 2005 10:16:09 +0000 (10:16 +0000)]
[BZ #1350]

bz tag
[BZ #1350]

19 years ago[BZ #1254]
Roland McGrath [Sun, 16 Oct 2005 10:09:35 +0000 (10:09 +0000)]
[BZ #1254]

* sysdeps/mach/hurd/getpeername.c (__getpeername): Respect *LEN
byte limit when setting ADDR->sa_family.
Reported by Samuel Thibault <samuel.thibault@ens-lyon.org>.

19 years ago[BZ #1253]
Roland McGrath [Sun, 16 Oct 2005 09:57:50 +0000 (09:57 +0000)]
[BZ #1253]

* sysdeps/mach/hurd/dl-sysdep.h
[SHARED] (DL_ARGV_NOT_RELRO): New macro.

[BZ #1253]

19 years ago[BZ #1253]
Roland McGrath [Sun, 16 Oct 2005 09:53:04 +0000 (09:53 +0000)]
[BZ #1253]

2005-10-16  Roland McGrath  <roland@frob.com>
[BZ #1253]
* sysdeps/mach/hurd/i386/init-first.c (init): Make cast kosher.
(_hurd_stack_setup): Don't declare with arguments and ellipsis.
Use __builtin_frame_address and __builtin_return_address.
(_dl_init_first): Likewise.

* sysdeps/mach/hurd/i386/init-first.c (_cthread_init_routine): Declare
as weak extern.
(init): Check for it being undefined.

19 years ago[BZ #1076, BZ #1250, BZ #1251]
Roland McGrath [Sun, 16 Oct 2005 09:46:24 +0000 (09:46 +0000)]
[BZ #1076, BZ #1250, BZ #1251]

BZ tags
2005-08-05  Roland McGrath  <roland@frob.com>
[BZ #1251]
[BZ #1250]
[BZ #1076]

19 years ago[BZ #1394]
Roland McGrath [Sun, 16 Oct 2005 09:34:17 +0000 (09:34 +0000)]
[BZ #1394]

bz tag
[BZ #1394]

19 years ago2005-10-16 Daniel Jacobowitz <dan@codesourcery.com>
Roland McGrath [Sun, 16 Oct 2005 09:25:59 +0000 (09:25 +0000)]
2005-10-16  Daniel Jacobowitz  <dan@codesourcery.com>

    Roland McGrath  <roland@redhat.com>

* Makerules [module-names] (extra-modules-build): New variable.
($(extra-modules-build:%=$(objpfx)%.so)): New static pattern rule.
Depend on libc.so and libc_nonshared.a.
* dlfcn/Makefile ($(test-modules)): Remove static pattern rule.
* elf/Makefile (modules-names-nobuild): New variable, add filtmod1.
($(test-modules)): Remove static pattern rule.

19 years ago* include/dirent.h: Include <stdbool.h>.
Roland McGrath [Sun, 16 Oct 2005 08:34:09 +0000 (08:34 +0000)]
* include/dirent.h: Include <stdbool.h>.

* sysdeps/mach/hurd/fdopendir.c: Include <fcntl.h>.
(fdopendir): Correct argument to _hurd_fd_get().
* sysdeps/mach/hurd/opendir.c (__opendir): Remove stray `}'.

19 years ago2005-10-15 Thomas Schwinge <tschwinge@gnu.org>
Roland McGrath [Sun, 16 Oct 2005 08:34:04 +0000 (08:34 +0000)]
2005-10-15  Thomas Schwinge  <tschwinge@gnu.org>

* include/dirent.h: Include <stdbool.h>.
* sysdeps/mach/hurd/fdopendir.c: Include <fcntl.h>.
(fdopendir): Correct argument to _hurd_fd_get().
* sysdeps/mach/hurd/opendir.c (__opendir): Remove stray `}'.

19 years ago[BZ #1224]
Ulrich Drepper [Sat, 15 Oct 2005 21:14:58 +0000 (21:14 +0000)]
[BZ #1224]

2005-08-20  Paul Eggert  <eggert@cs.ucla.edu>
[BZ #1224]
* posix/regcomp.c (init_word_char, duplicate_node_closure,
fetch_token, peek_token_bracket, build_range_exp,
build_collating_symbol): Remove forward decls; no longer needed
now that we use prototypes.

19 years ago[BZ #1221]
Ulrich Drepper [Sat, 15 Oct 2005 20:59:51 +0000 (20:59 +0000)]
[BZ #1221]

* posix/regex_internal.h: Remove last traces of
RE_NO_INTERNAL_PROTOTYPES.

19 years ago[BZ #968]
Ulrich Drepper [Sat, 15 Oct 2005 20:51:49 +0000 (20:51 +0000)]
[BZ #968]

* string/strxfrm_l.c (STRXFRM): Fix exit conditions of two loops.

19 years ago* sysdeps/unix/fdopendir.c (fdopendir): Make sure descriptor
Ulrich Drepper [Sat, 15 Oct 2005 17:28:08 +0000 (17:28 +0000)]
* sysdeps/unix/fdopendir.c (fdopendir): Make sure descriptor

allows reading.

19 years ago* wcsmbs/tst-mbrtowc2.c: Use de_DE.UTF-8 instead of en_US.UTF-8.
Ulrich Drepper [Sat, 15 Oct 2005 15:38:52 +0000 (15:38 +0000)]
* wcsmbs/tst-mbrtowc2.c: Use de_DE.UTF-8 instead of en_US.UTF-8.

* wcsmbs/Makefile: Define tst-mbrtowc2-ENV.

19 years ago* posix/regexec.c: Finish prototyping of static functions.
Ulrich Drepper [Sat, 15 Oct 2005 15:23:33 +0000 (15:23 +0000)]
* posix/regexec.c: Finish prototyping of static functions.

* posix/regex_internal.c: Likewise.

19 years ago[BZ #119]
Ulrich Drepper [Sat, 15 Oct 2005 14:15:52 +0000 (14:15 +0000)]
[BZ #119]

2005-10-15  Ulrich Drepper  <drepper@redhat.com>
[BZ #119]
* locales/es_AR: Fix thousands_sep and grouping.

19 years ago[BZ #451]
Ulrich Drepper [Sat, 15 Oct 2005 04:31:19 +0000 (04:31 +0000)]
[BZ #451]

* locales/rw_RW: New file.
* SUPPORTED (SUPPORTED-LOCALES): Add rw_RW.UTF-8.

19 years ago[BZ #367]
Ulrich Drepper [Sat, 15 Oct 2005 04:14:39 +0000 (04:14 +0000)]
[BZ #367]

* locales/si_LK: New file.
* SUPPORTED (SUPPORTED-LOCALES): Add si_LK.UTF-8.

19 years ago[BZ #297]
Ulrich Drepper [Sat, 15 Oct 2005 04:08:42 +0000 (04:08 +0000)]
[BZ #297]

* locales/fi_FI: Change date_fmt.

19 years agoChange date_fmt.
Ulrich Drepper [Sat, 15 Oct 2005 04:08:13 +0000 (04:08 +0000)]
Change date_fmt.

19 years ago* sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): New function, broken
Roland McGrath [Sat, 15 Oct 2005 02:23:56 +0000 (02:23 +0000)]
* sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): New function, broken

out of ...
(__opendir): ... here.  Call it.
* sysdeps/mach/hurd/fdopendir.c: New file.

19 years agoComment fix.
Roland McGrath [Sat, 15 Oct 2005 02:10:29 +0000 (02:10 +0000)]
Comment fix.

19 years ago[BZ #71, BZ #305]
Ulrich Drepper [Sat, 15 Oct 2005 01:27:21 +0000 (01:27 +0000)]
[BZ #71, BZ #305]

* locales/te_IN: Fix noexpr, replace yY with nN.
[BZ #305]
* locales/bn_BD: Add yY and nN to yesexpr and noexpr respectively.
* locales/ml_IN: Likewise.
* locales/ta_IN: Likewise.
* locales/kw_GB: Add yY to yesexpr.
* locales/oc_FR: Likewise.

* locales/bn_IN: Use copy "bn_BD" in LC_MESSAGES definition.

[BZ #71]
[BZ #305]
* locales/ar_EG: Add yY and nN to yesexpr and noexpr respectively.
Define yesstr and nostr.
* locales/ar_AE: Use copy "ar_EG" in LC_MESSAGES definition.
* locales/ar_BH: Likewise.
* locales/ar_DZ: Likewise.
* locales/ar_IN: Likewise.
* locales/ar_IQ: Likewise.
* locales/ar_JO: Likewise.
* locales/ar_KW: Likewise.
* locales/ar_LB: Likewise.
* locales/ar_LY: Likewise.
* locales/ar_MA: Likewise.
* locales/ar_OM: Likewise.
* locales/ar_QA: Likewise.
* locales/ar_SA: Likewise.
* locales/ar_SD: Likewise.
* locales/ar_SY: Likewise.
* locales/ar_TN: Likewise.
* locales/ar_YE: Likewise.

19 years ago[BZ #865]
Ulrich Drepper [Sat, 15 Oct 2005 00:39:12 +0000 (00:39 +0000)]
[BZ #865]

* math/tgmath.h: Correctly determine result type for
__TGMATH_BINARY_REAL_ONLY,
__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY,
__TGMATH_TERNARY_REAL_ONLY, and __TGMATH_BINARY_REAL_IMAG.

2005-09-17  Andreas Jaeger  <aj@suse.de>

[BZ #865]
* math/test-tgmath-int.c: New file.
* math/Makefile (tests): Add test-tgmath-int.

2005-10-14  Ulrich Drepper  <drepper@redhat.com>

19 years ago[BZ #804]
Ulrich Drepper [Fri, 14 Oct 2005 23:42:04 +0000 (23:42 +0000)]
[BZ #804]

* malloc/tst-mtrace.sh: Work around for bootstraping.

19 years ago* locale/programs/ld-collate.c (collate_output): Fix counting of
Ulrich Drepper [Fri, 14 Oct 2005 23:14:12 +0000 (23:14 +0000)]
* locale/programs/ld-collate.c (collate_output): Fix counting of

elements.  Don't limit table size.  Use correct secondary hash
function.
* locale/localeinfo.h (LIMAGIC): Change value returned for LC_COLLATE.
* posix/fnmatch_loop.c: Adjust for changed secondary hash function.
* posix/regcomp.c: Likewise.

* sysdeps/unix/sysv/linux/x86_64/ucontext_i.h (TESTS): Define.

19 years ago* SUPPORTED (SUPPORTED-LOCALES): Add dz_BT.UTF-8.
Ulrich Drepper [Fri, 14 Oct 2005 22:58:29 +0000 (22:58 +0000)]
* SUPPORTED (SUPPORTED-LOCALES): Add dz_BT.UTF-8.

19 years ago[BZ #368]
Ulrich Drepper [Fri, 14 Oct 2005 22:56:25 +0000 (22:56 +0000)]
[BZ #368]

* SUPPORTED (SUPPORTED-LOCALES): Add dz_BT.UTF-8.
[BZ #368]
* locales/dz_BT: New file.

19 years ago* time/asctime.c (asctime_internal): Use __snprintf instead of
Ulrich Drepper [Fri, 14 Oct 2005 21:17:04 +0000 (21:17 +0000)]
* time/asctime.c (asctime_internal): Use __snprintf instead of

snprintf to avoid PLT entry.

19 years ago* sysdeps/unix/opendir.c (__opendir): Pass extra argument to
Ulrich Drepper [Fri, 14 Oct 2005 21:11:09 +0000 (21:11 +0000)]
* sysdeps/unix/opendir.c (__opendir): Pass extra argument to

__alloc_dir.
(__alloc_dir): Only close descriptor on error if new parameter is true.
* sysdeps/unix/fdopendir.c (fdopendir): Pass extra argument to
__alloc_dir.  Don't close fd on error.
* include/dirent.h (__alloc_dir): Adjust prototype.

* include/sys/mman.h (__mremap): Add ellipsis.
* malloc/memusage.c: Adjust mremap wrapper for optional additional
parameter.

19 years ago[BZ #982]
Ulrich Drepper [Fri, 14 Oct 2005 18:51:58 +0000 (18:51 +0000)]
[BZ #982]

* locales/ml_IN: Fix title.