Ulrich Drepper [Sun, 30 Jun 2002 08:58:21 +0000 (08:58 +0000)]
Update.
2002-05-29 H.J. Lu <hjl@gnu.org>
* elf/dl-error.c (_dl_signal_cerror): Report error if ld.so debug
is turned on.
Ulrich Drepper [Sun, 30 Jun 2002 08:26:20 +0000 (08:26 +0000)]
Update.
2002-05-28 H.J. Lu <hjl@gnu.org>
* elf/dl-deps.c (_dl_map_object_deps): Don't add objects which
are not dlopened on the dependency list of a dlopened object.
Ulrich Drepper [Sun, 30 Jun 2002 07:17:02 +0000 (07:17 +0000)]
Update.
2002-06-30 Ulrich Drepper <drepper@redhat.com>
* elf/dl-lookup.c (add_dependency): It is not necessary to add
dependencies if they are created between objects which are created
while processing RTLD_NOW for objects loaded as part of the same
dlopen call.
2002-06-14 H.J. Lu <hjl@gnu.org>
* elf/Makefile (tests): Add circleload1.
(modules-names): Add circlemod1, circlemod2, circlemod3,
circlemod1a, circlemod2a and circlemod3a.
($(objpfx)circleload1): New target.
($(objpfx)circleload1.out): Likewise.
($(objpfx)circlemod1.so): Likewise.
($(objpfx)circlemod2.so): Likewise.
($(objpfx)circlemod1a.so): Likewise.
($(objpfx)circlemod2a.so): Likewise.
* elf/circleload1.c: New file.
* elf/circlemod1.c: New file.
* elf/circlemod1a.c: New file.
* elf/circlemod2.c: New file.
* elf/circlemod2a.c: New file.
* elf/circlemod3.c: New file.
* elf/circlemod3a.c: New file.
Ulrich Drepper [Sun, 30 Jun 2002 04:04:20 +0000 (04:04 +0000)]
Update.
2002-06-19 Steven Munroe <sjmunroe@vnet.ibm.com>
* Examples/ex9.c (main): Use list of children and join them.
(thread): Do not call exit.
Ulrich Drepper [Sat, 29 Jun 2002 23:35:02 +0000 (23:35 +0000)]
Update.
2002-06-18 Amos Waterland <apw@us.ibm.com>
* sysdeps/pthread/aio_cancel.c (aio_cancel): Add check for invalid
file descriptor.
* sysdeps/pthread/aio_fsync.c (aio_fsync): Add check for invalid fd;
add check for fd not open for writing.
* sysdeps/pthread/aio_suspend.c (aio_suspend): Add check for
completed element(s) and do not suspend thread if so. Patch
heavily modified by drepper.
* rt/tst-aio7.c: New file. Regression test for problems which the
above three changes fix.
* rt/Makefile (tests): Add tst-aio7.
* rt/tst-aio6.c: Fix comment.
Ulrich Drepper [Sat, 29 Jun 2002 21:08:13 +0000 (21:08 +0000)]
Update.
2002-06-29 Ulrich Drepper <drepper@redhat.com>
* catgets/gencat.c (read_input_file): Handle more than one slash
at end of line correctly [PR libc/3926].
Based on a patch by Steven Kim <steven.kim@peregrine.com>.
* catgets/sample.SJIS: Add test case for above bug.
* catgets/test-gencat.c: Adjust test code.
* catgets/test-gencat.sh: Adjust expected results.
* elf/do-rel.h (elf_dynamic_do_rel): Avoid overflow in computation
to skip relative relocations.
Patch by Geoff Keating <geoffk@redhat.com>.
Ulrich Drepper [Sat, 29 Jun 2002 17:20:10 +0000 (17:20 +0000)]
Update.
2002-06-29 Ulrich Drepper <drepper@redhat.com>
* locales/en_AU: Add am/pm support.
Patch partly by maffew@cat.org.au [PR libc/3911].
Ulrich Drepper [Fri, 28 Jun 2002 21:23:06 +0000 (21:23 +0000)]
Update.
2002-05-26 Bruno Haible <bruno@clisp.org>
* iconv/loop.c (STANDARD_FROM_LOOP_ERR_HANDLER): New macro.
(STANDARD_TO_LOOP_ERR_HANDLER): Renamed from STANDARD_ERR_HANDLER.
All callers changed.
* iconv/gconv_simple.c (ascii_internal_loop): For error handling use
STANDARD_FROM_LOOP_ERR_HANDLER.
(utf8_internal_loop): Likewise.
(ucs2_internal_loop): Likewise.
(internal_ucs2_loop): Perform error handling like in
STANDARD_FROM_LOOP_ERR_HANDLER.
* iconvdata/unicode.c (BODY for TO_LOOP): Perform error handling like
in STANDARD_FROM_LOOP_ERR_HANDLER.
(BODY for FROM_LOOP): Use STANDARD_FROM_LOOP_ERR_HANDLER for error
handling.
* iconvdata/utf-16.c (BODY for TO_LOOP): Perform error handling like
in STANDARD_FROM_LOOP_ERR_HANDLER.
(BODY for FROM_LOOP): Use STANDARD_FROM_LOOP_ERR_HANDLER for error
handling.
* iconvdata/utf-32.c (BODY for TO_LOOP): Perform error handling like
in STANDARD_FROM_LOOP_ERR_HANDLER.
(BODY for FROM_LOOP): Use STANDARD_FROM_LOOP_ERR_HANDLER for error
handling.
* iconvdata/big5.c (BODY for FROM_LOOP): For error handling use
STANDARD_FROM_LOOP_ERR_HANDLER.
* iconvdata/iso-2022-jp.c (BODY for FROM_LOOP): Likewise.
* iconvdata/8bit-gap.c (BODY for FROM_LOOP): Likewise.
* iconvdata/8bit-generic.c (BODY for FROM_LOOP): Likewise.
* iconvdata/ansi_x3.110.c (BODY for FROM_LOOP): Likewise.
* iconvdata/armscii-8.c (BODY for FROM_LOOP): Likewise.
* iconvdata/cp1255.c (BODY for FROM_LOOP): Likewise.
* iconvdata/cp1258.c (BODY for FROM_LOOP): Likewise.
* iconvdata/euc-cn.c (BODY for FROM_LOOP): Likewise.
* iconvdata/euc-jisx0213.c (BODY for FROM_LOOP): Likewise.
* iconvdata/euc-jp.c (BODY for FROM_LOOP): Likewise.
* iconvdata/euc-kr.c (BODY for FROM_LOOP): Likewise.
* iconvdata/euc-tw.c (BODY for FROM_LOOP): Likewise.
* iconvdata/big5hkscs.c (BODY for FROM_LOOP): Likewise.
* iconvdata/gb18030.c (BODY for FROM_LOOP): Likewise.
* iconvdata/gbk.c (BODY for FROM_LOOP): Likewise.
* iconvdata/iso-2022-cn-ext.c (BODY for FROM_LOOP): Likewise.
* iconvdata/iso-2022-cn.c (BODY for FROM_LOOP): Likewise.
* iconvdata/iso-2022-jp-3.c (BODY for FROM_LOOP): Likewise.
* iconvdata/iso-2022-kr.c (BODY for FROM_LOOP): Likewise.
* iconvdata/iso646.c (BODY for FROM_LOOP): Likewise.
* iconvdata/iso_6937-2.c (BODY for FROM_LOOP): Likewise.
* iconvdata/iso_6937.c (BODY for FROM_LOOP): Likewise.
* iconvdata/johab.c (BODY for FROM_LOOP): Likewise.
* iconvdata/shift_jisx0213.c (BODY for FROM_LOOP): Likewise.
* iconvdata/sjis.c (BODY for FROM_LOOP): Likewise.
* iconvdata/t.61.c (BODY for FROM_LOOP): Likewise.
* iconvdata/uhc.c (BODY for FROM_LOOP): Likewise.
* iconvdata/utf-7.c (BODY for FROM_LOOP): Likewise.
* iconvdata/gbbig5.c (BODY for FROM_LOOP): Likewise. When ignoring
an error, still set result = __GCONV_ILLEGAL_INPUT.
(BODY for TO_LOOP): Likewise.
* iconvdata/ibm930.c (BODY for FROM_LOOP): For error handling use
STANDARD_FROM_LOOP_ERR_HANDLER.
(BODY for TO_LOOP): Here use STANDARD_TO_LOOP_ERR_HANDLER.
* iconvdata/ibm932.c: Include <dlfcn.h> and <stdint.h>.
(BODY for FROM_LOOP): Use STANDARD_FROM_LOOP_ERR_HANDLER for error
handling.
(BODY for TO_LOOP): Here use STANDARD_TO_LOOP_ERR_HANDLER.
* iconvdata/ibm933.c (BODY for FROM_LOOP): For error handling use
STANDARD_FROM_LOOP_ERR_HANDLER.
(BODY for TO_LOOP): Here use STANDARD_TO_LOOP_ERR_HANDLER.
* iconvdata/ibm935.c (BODY for FROM_LOOP): For error handling use
STANDARD_FROM_LOOP_ERR_HANDLER.
(BODY for TO_LOOP): Here use STANDARD_TO_LOOP_ERR_HANDLER.
* iconvdata/ibm937.c (BODY for FROM_LOOP): For error handling use
STANDARD_FROM_LOOP_ERR_HANDLER.
(BODY for TO_LOOP): Here use STANDARD_TO_LOOP_ERR_HANDLER.
* iconvdata/ibm939.c (BODY for FROM_LOOP): For error handling use
STANDARD_FROM_LOOP_ERR_HANDLER.
(BODY for TO_LOOP): Here use STANDARD_TO_LOOP_ERR_HANDLER.
* iconvdata/ibm943.c: Include <dlfcn.h> and <stdint.h>.
(BODY for FROM_LOOP): Use STANDARD_FROM_LOOP_ERR_HANDLER for error
handling.
(BODY for TO_LOOP): Here use STANDARD_TO_LOOP_ERR_HANDLER.
* iconvdata/gbgbk.c (BODY for FROM_LOOP): Update.
* iconvdata/iso8859-1.c (BODY for TO_LOOP): Update.
* iconvdata/tcvn5712-1.c (BODY for TO_LOOP): Update.
2002-06-28 Kaz Kojima <kkojima@rr.iij4u.or.jp>
* sysdeps/sh/dl-machine.h (elf_machine_load_address): Use local
labels in assembler instructions.
Ulrich Drepper [Wed, 26 Jun 2002 15:31:36 +0000 (15:31 +0000)]
Update.
2002-06-26 Ulrich Drepper <drepper@redhat.com>
* sysdeps/powerpc/Versions: Export libgcc functions for GLIBC_2.0.
* sysdeps/powerpc/libgcc-compat.c: Fix function names.
Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
* libio/fileops.c (_IO_file_xsgetn_mmap): Always set EOF flag if
Ulrich Drepper [Tue, 25 Jun 2002 19:33:56 +0000 (19:33 +0000)]
Update.
* libio/fileops.c (_IO_file_xsgetn_mmap): Always set EOF flag is
not enough content is available.
* libio/tst-eof.c: New file.
* libio/Makefile (tests): Add tst-eof.
* libio/fileops.c (_IO_file_underflow_mmap): Read a single byte to
update atime.
* libio/tst-atime.c: New file.
* libio/Makefile (tests): Add tst-atime.
Ulrich Drepper [Tue, 25 Jun 2002 18:21:11 +0000 (18:21 +0000)]
Update.
2002-06-25 Ulrich Drepper <drepper@redhat.com>
* argp/argp-fmtstream.c (__argp_fmtstream_update): Avoid crash in
handling of overly long words.
Ulrich Drepper [Tue, 25 Jun 2002 18:16:11 +0000 (18:16 +0000)]
(__argp_fmtstream_update): Avoid crash in handling of overly long words.
Andreas Jaeger [Tue, 25 Jun 2002 12:33:11 +0000 (12:33 +0000)]
Update.
2002-06-25 Andreas Jaeger <aj@suse.de>
* sysdeps/x86-64/dl-machine.h (elf_machine_load_address): Rewrite
to not use 32-bit pc relative relocations.
(elf_machine_dynamic): Likewise.
Andreas Jaeger [Tue, 25 Jun 2002 12:32:52 +0000 (12:32 +0000)]
* sysdeps/x86-64/dl-machine.h (elf_machine_load_address): Rewrite
to not use 32-bit pc relative relocations.
(elf_machine_dynamic): Likewise.
Ulrich Drepper [Sat, 22 Jun 2002 05:58:14 +0000 (05:58 +0000)]
Update.
2002-06-21 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/getdents.c [__ASSUME_GETDENTS64_SYSCALL]
(__GETDENTS): Check for failed getdents64 syscall.
* dirent/Makefile (tests): Add bug-readdir1.
* dirent/bug-readdir1.c: New file.
Ulrich Drepper [Sat, 22 Jun 2002 05:24:45 +0000 (05:24 +0000)]
Update.
2002-06-17 Jakub Jelinek <jakub@redhat.com>
* elf/dl-lookup.c (_dl_debug_bindings): Use type_class 4 for TLS
lookups.
* elf/rtld.c (dl_main): Move TLS setup code before LD_TRACE_PRELINKING
code. Print TLS modid and offset for modules containing PT_TLS
segments.
2002-06-09 Jakub Jelinek <jakub@redhat.com>
* sysdeps/unix/sysv/linux/i386/dl-brk.c: Move...
* sysdeps/unix/sysv/linux/dl-brk.c: ...here.
* sysdeps/unix/sysv/linux/i386/dl-sbrk.c: Move...
* sysdeps/unix/sysv/linux/dl-sbrk.c: ...here.
2002-06-07 Jakub Jelinek <jakub@redhat.com>
* nss/getXXbyYY_r.c (NEW, NEW1): Define.
(NEW (REENTRANT_NAME)): Strong alias to INTERNAL (REENTRANT_NAME).
(REENTRANT_NAME@@GLIBC_2.1.2): Use NEW (REENTRANT_NAME).
* nss/getXXent_r.c (NEW, NEW1): Define.
(NEW (REENTRANT_GETNAME)): Strong alias to
INTERNAL (REENTRANT_GETNAME).
(REENTRANT_GETNAME@@GLIBC_2.1.2): Use NEW (REENTRANT_GETNAME).
2002-06-21 Ulrich Drepper <drepper@redhat.com>
* libio/fileops.c (_IO_file_setbuf_mmap): New function.
(_IO_file_jumps_mmap): Use it.
* libio/iosetvbuf.c: Don't call _IO_WSETBUF.
* libio/libioP.h: Remove _IO_wdefault_setbuf and
_IO_wdefault_setbuf_internal prorotypes. Add _IO_file_setbuf_mmap
prototype.
* libio/wfileops.c (_IO_wfile_setbuf): Removed.
(_IO_wfile_jumps_mmap): Don't use it anymore.
* libio/wgenops.c (_IO_wdefault_setbuf): Removed.
* libio/memstream.c (_IO_wmem_jumps): Use _IO_default_setbuf not
_IO_wdefault_setbuf.
* libio/vswprintf.c (_IO_wstrn_jumps): Likewise.
* libio/wstrops.c (_IO_wstr_jumps): Likewise.
* stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
2002-06-05 Jakub Jelinek <jakub@redhat.com>
* libio/Makefile (tests): Add tst-mmap-setvbuf.
* libio/tst-mmap-setvbuf.c: New test.
Ulrich Drepper [Fri, 21 Jun 2002 21:03:30 +0000 (21:03 +0000)]
(td_thr_tls_get_addr): Don't include "tls.h". Return TD_ERR if USE_TLS is not defined.
Andreas Jaeger [Fri, 21 Jun 2002 12:13:12 +0000 (12:13 +0000)]
Update.
2002-06-21 Andreas Jaeger <aj@suse.de>
* sysdeps/i386/fpu/libm-test-ulps: Add some ulps from my P3.
Andreas Jaeger [Fri, 21 Jun 2002 12:12:50 +0000 (12:12 +0000)]
Add some ulps from my P3.
Ulrich Drepper [Fri, 21 Jun 2002 05:32:43 +0000 (05:32 +0000)]
Update.
2002-06-20 Ulrich Drepper <drepper@redhat.com>
* spinlock.c (wait_node_alloc): We cannot use compare-and-exchange.
Unconditionally use the code using spinlock. Use __pthread_release
to free a spinlock.
(wait_node_free): Likewise.
(__pthread_acquire, __pthread_release): Unconditionally define.
Ulrich Drepper [Thu, 20 Jun 2002 22:48:53 +0000 (22:48 +0000)]
Update.
2002-06-18 Jakub Jelinek <jakub@redhat.com>
* include/unistd.h (__fork_internal): Remove.
(__fork): Don't define to __fork_internal.
* sysdeps/mach/hurd/fork.c (__fork): Remove INTDEF.
* sysdeps/unix/sysv/aix/fork.c (__fork): Likewise.
* sysdeps/unix/sysv/linux/ia64/fork.S (__fork_internal): Remove alias.
* sysdeps/unix/sysv/linux/sparc/fork.S (__fork_internal): Likewise.
* sysdeps/unix/sysv/linux/syscalls.list (__fork_internal): Likewise.
2002-06-20 Ulrich Drepper <drepper@redhat.com>
* po/hr.po: New file.
2002-06-11 Wolfram Gloger <wg@malloc.de>
* malloc/malloc.c: Fix error path when new_heap() returns NULL.
Reported by Michael Meissner <meissner@redhat.com>.
2002-06-20 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/ia64/getcontext.S: Fix typo.
Patch by Hans Boehm <hans_boehm@hp.com>.
Ulrich Drepper [Thu, 20 Jun 2002 22:14:00 +0000 (22:14 +0000)]
Fix typo.
Andreas Jaeger [Thu, 20 Jun 2002 10:32:13 +0000 (10:32 +0000)]
Regenerated.
Andreas Jaeger [Thu, 20 Jun 2002 10:31:53 +0000 (10:31 +0000)]
Update.
* sysdeps/ia64/fpu/libm-test-ulps: Regenerated.
Andreas Jaeger [Thu, 20 Jun 2002 08:34:01 +0000 (08:34 +0000)]
Update.
2002-06-20 Andreas Jaeger <aj@suse.de>
* math/libm-test.inc: Use exact values as input parameters,
compute output parameters with 36 digits for 128-bit long doubles.
* sysdeps/i386/fpu/libm-test-ulps: Regenerated.
* sysdeps/x86-64/fpu/libm-test-ulps: Regenerated.
Andreas Jaeger [Thu, 20 Jun 2002 08:33:17 +0000 (08:33 +0000)]
Use exact values as input parameters, compute output parameters with 36 digits for 128-bit long doubles.
Ulrich Drepper [Thu, 20 Jun 2002 07:23:23 +0000 (07:23 +0000)]
Update.
2002-06-13 Stephen L Moshier <steve@moshier.net>
* sysdeps/ieee754/ldbl-96/s_scalbnl.c: Fix cases in which
argument or result is subnormal.
2002-06-19 Ulrich Drepper <drepper@redhat.com>
* sysdeps/i386/fpu/s_remquo.S: Fix three mistakes in computing the
quotient.
* sysdeps/i386/fpu/s_remquof.S: Likewise.
* sysdeps/i386/fpu/s_remquol.S: Likewise.
* sysdeps/hppa/dl-machine.h: Don't use multi-line string literals.
* sysdeps/unix/sysv/linux/alpha/sendfile64.c: New file.
* sysdeps/unix/sysv/linux/ia64/sendfile64.c: New file.
* sysdeps/unix/sysv/linux/sparc/sparc64/sendfile64.c: New file.
* sysdeps/unix/sysv/linux/x86_64/sendfile64.c: New file.
Ulrich Drepper [Thu, 20 Jun 2002 06:23:14 +0000 (06:23 +0000)]
Don't use multi-line string literals.
Andreas Jaeger [Wed, 19 Jun 2002 07:22:40 +0000 (07:22 +0000)]
Update.
2002-06-17 David Mosberger <davidm@hpl.hp.com>
* sysdeps/unix/sysv/linux/ia64/sys/ucontext.h (uc_sigmask): Fix
typo: corresponding sigcontext field is called sc_mask, not sc_sigmask.
Reported by Peter A. Buhr.
Andreas Jaeger [Wed, 19 Jun 2002 07:22:14 +0000 (07:22 +0000)]
(uc_sigmask): Fix typo: corresponding sigcontext field is called sc_mask, not sc_sigmask.
Roland McGrath [Sat, 15 Jun 2002 22:19:53 +0000 (22:19 +0000)]
* sysdeps/mach/hurd/mmap.c (__mmap): Add a dead case that quiets a
warning.
* sysdeps/mach/hurd/getcwd.c
(_hurd_canonicalize_directory_name_internal): unsigned int -> size_t
Roland McGrath [Sat, 15 Jun 2002 22:05:19 +0000 (22:05 +0000)]
* sysdeps/unix/sysv/linux/bits/ustat.h: Moved to ...
* sysdeps/generic/bits/ustat.h: ... here (was almost identical).
Roland McGrath [Sat, 15 Jun 2002 20:53:53 +0000 (20:53 +0000)]
* sysdeps/alpha/divrem.h: Use local label instead of global one for
jump to local subroutine.
Roland McGrath [Sat, 15 Jun 2002 20:08:42 +0000 (20:08 +0000)]
* sysdeps/mach/hurd/i386/Makeconfig: File moved to ...
* sysdeps/mach/hurd/Makeconfig: ... here.
Roland McGrath [Sat, 15 Jun 2002 20:08:25 +0000 (20:08 +0000)]
2002-06-14 Roland McGrath <roland@frob.com>
* sysdeps/mach/hurd/i386/Makeconfig: File moved to ...
* sysdeps/mach/hurd/Makeconfig: ... here.
Richard Henderson [Fri, 14 Jun 2002 23:17:07 +0000 (23:17 +0000)]
/castro/street/H-alpha-linux/bin/bison --yacc --name-prefix=__gettext --output plural.c plural.y
Andreas Schwab [Thu, 13 Jun 2002 12:39:36 +0000 (12:39 +0000)]
* sysdeps/m68k/fpu/s_finite.c: Remove INTDEF.
* sysdeps/m68k/fpu/s_finitef.c: Likewise.
* sysdeps/m68k/fpu/s_finitel.c: Likewise.
Andreas Schwab [Thu, 13 Jun 2002 12:38:20 +0000 (12:38 +0000)]
Remove INTDEF.
Roland McGrath [Thu, 13 Jun 2002 09:02:29 +0000 (09:02 +0000)]
* sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start: go): Fix arg type.
* sysdeps/mach/hurd/if_index.c (if_nameindex): Use size_t for AMOUNT
argument to pfinet_siocgifconf RPC.
Roland McGrath [Thu, 13 Jun 2002 08:57:15 +0000 (08:57 +0000)]
* hurd/hurdstartup.h (_hurd_startup): int -> intptr_t in MAIN arg type.
* hurd/hurdstartup.c (_hurd_startup): Likewise.
Use intptr_t instead of int for argc in stack layout.
* sysdeps/mach/hurd/alpha/init-first.c (init): Fix argument type.
(_dl_init_first): Likewise.
(_hurd_stack_setup): Likewise.
(init1): Add a cast.
Roland McGrath [Thu, 13 Jun 2002 08:56:05 +0000 (08:56 +0000)]
2002-06-13 Roland McGrath <roland@frob.com>
* hurd/hurdstartup.h (_hurd_startup): int -> intptr_t in MAIN arg type.
* hurd/hurdstartup.c (_hurd_startup): Likewise.
Use intptr_t instead of int for argc in stack layout.
* sysdeps/mach/hurd/alpha/init-first.c (init): Fix argument type.
(_dl_init_first): Likewise.
(_hurd_stack_setup): Likewise.
(init1): Add a cast.
Andreas Schwab [Thu, 13 Jun 2002 07:52:55 +0000 (07:52 +0000)]
* sysdeps/m68k/fpu/s_isinf.c (INTDEFX): Define to get correct
expansion order.
Andreas Schwab [Thu, 13 Jun 2002 07:52:09 +0000 (07:52 +0000)]
(INTDEFX): Define to get correct expansion order.
Ulrich Drepper [Wed, 12 Jun 2002 21:02:37 +0000 (21:02 +0000)]
Update.
Ulrich Drepper [Wed, 12 Jun 2002 21:00:23 +0000 (21:00 +0000)]
Function to get address of thread local variable.
Roland McGrath [Wed, 12 Jun 2002 20:36:22 +0000 (20:36 +0000)]
* sysdeps/generic/tmpfile.c [USE_IN_LIBIO] (tmpfile): Don't #define
if already defined.
[USE_IN_LIBIO]: Conditionalize versioned_symbol use on
[GEN_THIS == __GT_FILE] so that tmpfile64.c's inclusion doesn't get it.
Roland McGrath [Tue, 11 Jun 2002 23:04:51 +0000 (23:04 +0000)]
* sysdeps/mach/hurd/xstat64.c: Conditionalize entire contents of the
file on [!RTLD_STAT64].
* sysdeps/mach/hurd/fxstat64.c: Likewise.
* sysdeps/mach/hurd/tmpfile.c (tmpfile64): Define as alias of tmpfile.
(__fdopen): Use INTUSE.
* sysdeps/mach/hurd/tmpfile64.c: New file, empty placeholder.
* stdio-common/tmpfile64.c: File removed.
* sysdeps/generic/tmpfile64.c: New file.
* sysdeps/generic/tmpfile.c (GEN_THIS): New macro, define to __GT_FILE
if not already defined.
(tmpfile): Use it in place of __GT_FILE.
* include/unistd.h: Declare __chown_internal.
* sysdeps/mach/hurd/sendfile64.c (sendfile64): Do real work here.
* sysdeps/mach/hurd/sendfile.c (sendfile): Call that.
2002-06-09 Roland McGrath <roland@frob.com>
Update to new Hurd RPC interfaces supporting 64-bit file sizes.
* sysdeps/mach/hurd/configure.in: Check for <hurd/version.h> with
value of HURD_INTERFACE_VERSION >=
20020609.
* sysdeps/mach/hurd/configure: Regenerated.
* shlib-versions (.*-.*-gnu-gnu.*): Set libhurduser=0.3.
* sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Rewritten to
convert a struct stat64 into a struct stat and return 0 or -1
with errno set to EOVERFLOW.
* sysdeps/mach/hurd/statfsconv.c (statfs64_conv): Likewise
for struct statfs64 to struct statfs.
* sysdeps/mach/hurd/xstat.c (__xstat): Use converter and call ...
* sysdeps/mach/hurd/xstat64.c (__xstat64): ... this, real work here.
* sysdeps/mach/hurd/fxstat.c (__fxstat): Likewise.
* sysdeps/mach/hurd/fxstat64.c (__fxstat64): Likewise.
* sysdeps/mach/hurd/lxstat.c (__lxstat): Likewise.
* sysdeps/mach/hurd/lxstat64.c (__lxstat64): Likewise.
* sysdeps/mach/hurd/statfs.c (__statfs): Likewise.
* sysdeps/mach/hurd/statfs64.c (__statfs64): Likewise.
* sysdeps/mach/hurd/fstatfs.c (__fstatfs): Likewise.
* sysdeps/mach/hurd/fstatfs64.c (__fstatfs64): Likewise.
* sysdeps/mach/hurd/pwrite64.c (__libc_pwrite64): Do real work here.
* sysdeps/mach/hurd/pwrite.c (__libc_pwrite): Call that.
* sysdeps/mach/hurd/pread64.c (__libc_pread64): Do real work here.
* sysdeps/mach/hurd/pread.c (__libc_pread): Call that.
* sysdeps/mach/hurd/lseek64.c (__libc_lseek64): Do real work here.
* sysdeps/mach/hurd/lseek.c (__libc_lseek): Call that.
* sysdeps/mach/hurd/readdir64.c (__readdir64): Do real work here.
* sysdeps/mach/hurd/readdir.c (__readdir): Call that.
* sysdeps/mach/hurd/readdir64_r.c (__readdir64_r): Do real work here.
* sysdeps/mach/hurd/readdir_r.c (__readdir64_r): Call that.
* hurd/lookup-retry.c (__hurd_file_name_lookup_retry):
Use struct stat64 for io_stat argument.
* sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
* hurd/fopenport.c (seekio): Remove EOVERFLOW check, pass POS directly
to io_seek.
* hurd/fd-read.c (_hurd_fd_read): Use loff_t for OFFSET argument.
* hurd/fd-write.c (_hurd_fd_write): Likewise.
* hurd/hurd/fd.h: Update decls.
* sysdeps/mach/hurd/getcwd.c
(_hurd_canonicalize_directory_name_internal): Use ino64_t
and struct dirent64.
* sysdeps/mach/hurd/dl-sysdep.c (open_file): Use struct stat64.
(__xstat): Renamed to __xstat64, use struct stat64 for argument.
(__fxstat): Renamed to __fxstat64, use struct stat64 for argument.
(__lseek): Renamed to __libc_lseek64, use off64_t for argument.
2002-06-08 Roland McGrath <roland@frob.com>
* sysdeps/mach/hurd/dirstream.h (struct __dirstream): Use size_t
instead of unsigned long int for __allocation and __size members.
2002-05-19 Ulrich Drepper <drepper@redhat.com>
Roland McGrath [Tue, 11 Jun 2002 23:03:07 +0000 (23:03 +0000)]
2002-06-08 Roland McGrath <roland@frob.com>
* sysdeps/mach/hurd/dirstream.h (struct __dirstream): Use size_t
instead of unsigned long int for __allocation and __size members.
Andreas Jaeger [Sun, 9 Jun 2002 20:15:14 +0000 (20:15 +0000)]
Update.
2002-06-09 Jakub Jelinek <jakub@redhat.com>
* sysdeps/unix/sysv/linux/i386/dl-brk.c: Move...
* sysdeps/unix/sysv/linux/dl-brk.c: ...here.
* sysdeps/unix/sysv/linux/i386/dl-sbrk.c: Move...
* sysdeps/unix/sysv/linux/dl-sbrk.c: ...here.
Andreas Jaeger [Fri, 7 Jun 2002 20:12:11 +0000 (20:12 +0000)]
Update.
2002-06-07 Jakub Jelinek <jakub@redhat.com>
* sysdeps/ia64/pt-machine.h (MEMORY_BARRIER): Fix typo.
Andreas Jaeger [Fri, 7 Jun 2002 20:12:02 +0000 (20:12 +0000)]
(MEMORY_BARRIER): Fix typo.
Roland McGrath [Fri, 7 Jun 2002 19:34:09 +0000 (19:34 +0000)]
* sysdeps/mach/hurd/bits/environments.h: File removed.
Roland McGrath [Fri, 7 Jun 2002 19:33:59 +0000 (19:33 +0000)]
2002-06-07 Roland McGrath <roland@frob.com>
* sysdeps/mach/hurd/bits/environments.h: File removed.
Andreas Jaeger [Fri, 7 Jun 2002 12:34:22 +0000 (12:34 +0000)]
(__fxstat64, __lxstat64): Only define if not already defined.
Andreas Jaeger [Fri, 7 Jun 2002 12:34:08 +0000 (12:34 +0000)]
Update.
2002-06-07 Jakub Jelinek <jakub@redhat.com>
* sysdeps/unix/sysv/linux/alpha/sendfile64.c: New.
* sysdeps/unix/sysv/linux/ia64/sendfile64.c: New.
* sysdeps/unix/sysv/linux/sparc/sparc64/sendfile64.c: New.
* sysdeps/unix/sysv/linux/x86_64/sendfile64.c: New.
* sysdeps/unix/sysv/linux/syscalls.list (sendfile): Remove EXTRA.
(sendfile64): Likewise.
* sysdeps/unix/sysv/linux/alpha/syscalls.list (sendfile): Likewise.
* sysdeps/unix/sysv/linux/ia64/syscalls.list (sendfile): Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (sendfile):
Likewise.
* sysdeps/unix/sysv/linux/x86_64/syscalls.list (sendfile): Likewise.
* include/sys/stat.h (__fxstat64, __lxstat64): Only define if not
already defined.
Andreas Jaeger [Thu, 6 Jun 2002 14:16:41 +0000 (14:16 +0000)]
Update.
2002-06-04 Bruno Haible <bruno@clisp.org>
* sysdeps/cris/stackinfo.h: New file.
* sysdeps/hppa/dl-machine.h (elf_machine_rela): Cast reloc_addr
to an integer type before performing bit operations on it.
Andreas Jaeger [Thu, 6 Jun 2002 14:14:17 +0000 (14:14 +0000)]
Cris stack information.
Roland McGrath [Wed, 5 Jun 2002 20:38:48 +0000 (20:38 +0000)]
* sysdeps/generic/sendfile.c: Include <errno.h>.
* sysdeps/generic/sendfile64.c: Likewise.
Roland McGrath [Wed, 5 Jun 2002 08:56:41 +0000 (08:56 +0000)]
* io/Makefile (routines): Add sendfile and sendfile64.
(headers): Add sys/sendfile.h to the list.
* sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it here.
* sysdeps/unix/sysv/linux/sys/sendfile.h: Moved to ...
* io/sys/sendfile.h: ... here.
* sysdeps/generic/sendfile.c: New file.
* sysdeps/generic/sendfile64.c: New file.
* sysdeps/unix/sysv/linux/Versions (GLIBC_2.1, GLIBC_2.3):
Move sendfile, sendfile64 to ...
* io/Versions (GLIBC_2.1, GLIBC_2.3): ... here.
* sysdeps/mach/hurd/sendfile.c: New file.
* sysdeps/mach/hurd/sendfile64.c: New file.
* sysdeps/mach/nanosleep.c: New file.
Roland McGrath [Tue, 4 Jun 2002 19:03:41 +0000 (19:03 +0000)]
* sysdeps/alpha/elf/configure.in: New file. Check for TLS support.
* sysdeps/alpha/elf/configure: New file (generated).
Roland McGrath [Tue, 4 Jun 2002 18:35:24 +0000 (18:35 +0000)]
* include/link.h: Include <tls.h> to make sure USE_TLS is defined.
2002-06-01 Roland McGrath <roland@frob.com>
* sysdeps/mach/hurd/alpha/init-first.c: New file, modified from
i386/init-first.c by Andrew M. Miklic <miklic@attglobal.net>.
Roland McGrath [Tue, 4 Jun 2002 18:35:03 +0000 (18:35 +0000)]
2002-06-02 Roland McGrath <roland@frob.com>
* include/link.h: Include <tls.h> to make sure USE_TLS is defined.
Ulrich Drepper [Fri, 31 May 2002 07:54:02 +0000 (07:54 +0000)]
Update.
2002-05-21 Jakub Jelinek <jakub@redhat.com>
* resolv/resolv.h (struct __res_state): Remove unused nstimes.
Add nsmap.
* resolv/res_init.c (__res_vinit): Initialize nsmap array.
Remove nstimes setting.
(res_nclose): Check all MAXNS nameservers with non-NULL nsaddrs.
* resolv/res_send.c (res_nsend): Don't close unconditionally if
there is mix of IPv6 and IPv4 nameservers.
Use nsmap array to find free slots and preserve nameserver ordering.
Fix RES_ROTATE.
Ulrich Drepper [Fri, 31 May 2002 02:01:47 +0000 (02:01 +0000)]
Update.
* sysdeps/unix/sysv/linux/sys/sendfile.h: It is now possible to
use this header with LFS.
Ulrich Drepper [Fri, 31 May 2002 00:36:57 +0000 (00:36 +0000)]
Update.
* po/sk.po: Update from translation team.
2002-05-28 Andreas Schwab <schwab@suse.de>
* sysdeps/generic/readelflib.c (process_elf_file): Give correct
message when finding object of wrong class.
2002-05-28 Jakub Jelinek <jakub@redhat.com>
* sysdeps/wordsize-32/divdi3.c (__moddi3): Fix pasto.
Patch by <radu@netsoft.ro>.
2002-05-30 Ulrich Drepper <drepper@redhat.com>
Ulrich Drepper [Thu, 30 May 2002 23:35:59 +0000 (23:35 +0000)]
Update.
2002-05-30 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/Makefile [$(subdir)==misc] (sysdep_routines):
Add readahead.
* sysdeps/unix/sysv/linux/readahead.c: New file.
* sysdeps/unix/sysv/linux/syscalls.list: Add sendfile64 syscall.
* sysdeps/unix/sysv/linux/Versions: Export readahead and sendfile64.
* sysdeps/unix/sysv/linux/alpha/syscalls.list: Add readahead syscall.
Add sendfile64 alias to sendfile syscall.
* sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add s_readahead
syscall.
* sysdeps/unix/sysv/linux/i386/sysdep.h: Use __i686.get_pc_thunk.XX
special section for PIC register loading.
* sysdeps/unix/sysv/linux/i386/i686/sysdep.h: Likewise.
* config.h.in: Define HAVE_HIDDEN.
* configure.in: Also define HAVE_HIDDEN if HAVE_PROTECTED is defined.
* elf/elf.h: Correct Alpha TLS relocations according to last spec.
Ulrich Drepper [Thu, 30 May 2002 23:09:29 +0000 (23:09 +0000)]
Define HAVE_HIDDEN.
Roland McGrath [Wed, 29 May 2002 08:10:07 +0000 (08:10 +0000)]
* sysdeps/mach/alpha/setfpucw.c: New file.
2002-05-26 Roland McGrath <roland@frob.com>
* sysdeps/mach/hurd/ioctl.c (__ioctl): Don't use sizeof in _IOTS.
Use integer_t instead of int for IOC_VOID case.
Roland McGrath [Wed, 29 May 2002 08:09:20 +0000 (08:09 +0000)]
2002-05-28 Roland McGrath <roland@frob.com>
* sysdeps/mach/alpha/setfpucw.c: New file.
Ulrich Drepper [Tue, 28 May 2002 05:26:16 +0000 (05:26 +0000)]
Update.
2002-05-27 Alexandre Oliva <aoliva@redhat.com>
* configure.in (DO_STATIC_NSS): Define if --disable-shared.
2002-05-26 Bruno Haible <bruno@clisp.org>
* iconvdata/iso-2022-jp.c (BODY for TO_LOOP): Avoid running off the
end of the ISO-8859-7 from idx table.
2002-05-27 Ulrich Drepper <drepper@redhat.com>
* manual/lang.texi: Fix FLT_EPSILON description [PR libc/3649].
2002-05-24 David S. Miller <davem@redhat.com>
* string/bits/string2.h (memset): Do not try to optimize when
not _STRING_ARCH_unaligned if GCC will do the right thing.
Ulrich Drepper [Fri, 24 May 2002 08:49:00 +0000 (08:49 +0000)]
Update.
2002-05-21 Isamu Hasegawa <isamu@yamato.ibm.com>
* posix/regex.c: Define `inline' as a macro into nothing for the
compilers which lack the keyword.
* posix/regex.h: (RE_SYNTAX_GNU_AWK): Remove RE_CONTEXT_INVALID_OPS
for the compatibility of gawk.
* posix/regcomp.c: Add fake implementation of isblank() for the
environments which lack the function.
Don't use free_charset() in case of non-i18n envs.
(build_range_exp): Don't use i18n related code in case of non-i18n
envs.
(build_collating_symbol): Likewise.
(build_equiv_class): Likewise.
(build_charclass): Likewise.
(re_compile_fastmap_iter): Likewise.
(parse_bracket_exp): Likewise.
(build_word_op): Likewise.
(regfree): Don't use free_charset() in case of non-i18n envs.
* posix/regex_internal.h: Remove COMPLEX_BRACKET from
re_token_type_t in case of non-i18n envs.
Don't define re_charset_t in case of non-i18n envs.
Change the type of wcs of re_string_t from wchar_t to wint_t,
since we store also WEOF.
* posix/regex_internal.c: (re_string_realloc_buffers): Change
the type of wcs of re_string_t from wchar_t to wint_t.
(re_string_reconstruct): Likewise.
(create_ci_newstate): Don't use i18n related code in case of
non-i18n envs.
(create_cd_newstate): Likewise.
2002-05-24 Ulrich Drepper <drepper@redhat.com>
* iconv/loop.c: Fix typo.
2002-05-23 Jakub Jelinek <jakub@redhat.com>
* inet/ether_line.c (ether_line): Fix a typo causing only
lower 4 bits of each ethernet address byte being assigned.
Don't modify what line points to.
* inet/tst-ether_aton.c (main): Add ether_line tests.
2002-05-23 Marcus Brinkmann <marcus@gnu.org>
* manual/filesys.texi: Don't make readlink example leak memory
when readlink fails.
Ulrich Drepper [Tue, 21 May 2002 17:58:38 +0000 (17:58 +0000)]
Update.
2002-05-21 Ulrich Drepper <drepper@redhat.com>
* sysdeps/pthread/pthread.h (pthread_create): Rename first
parameter.
(pthread_cancel): Likewise.
* internals.h (__pthread_create_2_1): Likewise.
* sysdeps/unix/sysv/linux/bits/sigthread.h (pthread_kill): Likewise.
Ulrich Drepper [Tue, 21 May 2002 06:01:28 +0000 (06:01 +0000)]
Update.
2002-05-20 Ulrich Drepper <drepper@redhat.com>
* iconv/loop.c: Fix condition for defining unaligned loop. Add
some more security checks.
Ulrich Drepper [Tue, 21 May 2002 02:15:01 +0000 (02:15 +0000)]
Update.
2002-05-17 David S. Miller <davem@redhat.com>
* sysdeps/unix/sysv/linux/sparc/fork.S: Define _internal aliases.
2002-05-16 David S. Miller <davem@redhat.com>
* sysdeps/sparc/sparc32/dl-machine.h (LOAD_PIC_REG): Define.
(elf_machine_dynamic): Use it to force PIC register to be loaded.
(elf_machine_load_address): Likewise.
* sysdeps/sparc/sparc64/dl-machine.h: Mirror sparc32 changes.
* sysdeps/sparc/sparc64/strncmp.S: When second argument pointer
is unaligned, do not forget to fully initialize %g1 magic value.
* sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Fix 64-bit elf
register definitions and provide 32-bit variants of structures
during 64-bit builds.
* soft-fp/op-1.h (_FP_FRAC_CLEAR_OVERP_1): Define.
* soft-fp/op-2.h (_FP_FRAC_CLEAR_OVERP_2): Define.
* soft-fp/op-4.h (_FP_FRAC_CLEAR_OVERP_4): Define.
* soft-fp/op-common.h (_FP_PACK_CANONICAL): After rounding, if
_FP_FRAC_OVERP_X is set, use _FP_FRAC_CLEAR_OVERP_X to clear it.
(_FP_FROM_INT): Perform right shifts on unsigned integer type.
Do not clear implicit one bit here, it must be done post-rounding.
Only pad to the left using left shift if value uses less than the
available fractional bits.
Ulrich Drepper [Tue, 21 May 2002 00:22:34 +0000 (00:22 +0000)]
Update.
2002-05-20 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* sysdeps/powerpc/Makefile (sysdeps_routines): Use libgcc-compat
instead of cmpdi2, shdi3, fixdfdi, fixsfdi in csu dir.
(shared-only-routines): Likewise.
* sysdeps/powerpc/libgcc-compat.c: New file.
* sysdeps/wordsize-32/cmpdi2.c: Removed.
* sysdeps/wordsize-32/fixdfdi.c: Removed.
* sysdeps/wordsize-32/fixsfdi.c: Removed.
* sysdeps/wordsize-32/shdi3.c: Removed.
Ulrich Drepper [Mon, 20 May 2002 20:11:09 +0000 (20:11 +0000)]
Update.
2002-05-16 Bruno Haible <bruno@clisp.org>
* MakeTAGS (libc.pot): Don't sort the output.
* po/header.pot: Update to match xgettext 0.11 output.
2002-05-16 Bruno Haible <bruno@clisp.org>
* MakeTAGS (subdirs): Remove duplicates.
Ulrich Drepper [Mon, 20 May 2002 07:04:09 +0000 (07:04 +0000)]
Update.
2002-05-19 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/errlist.c: Remove extra weak alias
definiton of _old_sys_nerr. Define _old_sys_errlist as strong
alias.
Ulrich Drepper [Mon, 20 May 2002 06:56:53 +0000 (06:56 +0000)]
Remove extra weak alias definiton of _old_sys_nerr. Define _old_sys_errlist as strong alias.
Andreas Jaeger [Sun, 19 May 2002 18:37:30 +0000 (18:37 +0000)]
Regenerated.
Andreas Jaeger [Sun, 19 May 2002 18:37:21 +0000 (18:37 +0000)]
Warn against installing into /usr/local
2002-05-19 Andreas Jaeger <aj@suse.de>
* sysdeps/unix/sysv/linux/configure.in: Warn against an
installation in /usr/local.
Andreas Jaeger [Sun, 19 May 2002 16:26:27 +0000 (16:26 +0000)]
Update.
2002-05-16 Bruno Haible <bruno@clisp.org>
* sysdeps/unix/sysv/aix/bits/ioctl-types.h: Don't use multiline
string as argument of #error.
Andreas Jaeger [Sun, 19 May 2002 16:24:27 +0000 (16:24 +0000)]
Don't use multiline string as argument of #error.
Ulrich Drepper [Thu, 16 May 2002 06:38:36 +0000 (06:38 +0000)]
(Symbolic Links): Adjust description of realpath to new implementation.
Ulrich Drepper [Thu, 16 May 2002 06:14:36 +0000 (06:14 +0000)]
Update.
* stdlib/canonicalize.c (canonicalize): Rename to __realpath and
don't define static. Remove old __realpath function. TC1 of
POSIX 2001 will allow the second parameter to be NULL.
* stdlib/test-canon.c: Comment out test for NULL as second
parameter of realpath.
* time/offtime.c (__offtime): Set errno if overflow is detected.
Ulrich Drepper [Thu, 16 May 2002 05:58:20 +0000 (05:58 +0000)]
Update.
2002-05-15 Ulrich Drepper <drepper@redhat.com>
* elf/Makefile (rtld-routines): Remove dl-brk and dl-sbrk.
* sysdeps/unix/sysv/linux/Makefile (sysdep-rtld-routines): Add
dl-brk and dl-sbrk.
* sysdeps/sparc/fpu/bits/mathinline.h (fdim): Add __THROW.
(fdimf): Likewise.
Ulrich Drepper [Thu, 16 May 2002 05:51:41 +0000 (05:51 +0000)]
(sysdep-rtld-routines): Add dl-brk and dl-sbrk.
Roland McGrath [Thu, 16 May 2002 05:16:20 +0000 (05:16 +0000)]
* hurd/report-wait.c (_S_msg_report_wait): Use mach_msg_id_t for arg.
Roland McGrath [Thu, 16 May 2002 05:15:55 +0000 (05:15 +0000)]
2002-05-15 Roland McGrath <roland@frob.com>
* hurd/report-wait.c (_S_msg_report_wait): Use mach_msg_id_t for arg.
Ulrich Drepper [Thu, 16 May 2002 00:17:30 +0000 (00:17 +0000)]
Add __THROW to the declarations, too.
Ulrich Drepper [Wed, 15 May 2002 21:34:43 +0000 (21:34 +0000)]
Update.
2002-05-15 Ulrich Drepper <drepper@redhat.com>
* locales/be_BY: Fix int_curr_symbol.
Patch by Alexander Mikhailian <lowry@altern.org> [PR libc/3565].
Ulrich Drepper [Wed, 15 May 2002 06:02:35 +0000 (06:02 +0000)]
Update.
2002-05-12 Bruno Haible <bruno@clisp.org>
* iconvdata/testdata/EUC-JISX0213: New file.
* iconvdata/testdata/EUC-JISX0213..UTF8: New file.
* iconvdata/testdata/SHIFT_JISX0213: New file.
* iconvdata/testdata/SHIFT_JISX0213..UTF8: New file.
* iconvdata/testdata/ISO-2022-JP-3: New file.
* iconvdata/testdata/ISO-2022-JP-3..UTF8: New file.
* iconvdata/TESTS: Add EUC-JISX0213, SHIFT_JISX0213, ISO-2022-JP-3.
* iconvdata/run-iconv-test.sh: Skip the charmap test if the charmap
contains comments indicating precomposed characters.
2002-04-21 Bruno Haible <bruno@clisp.org>
* iconvdata/iso-2022-jp-3.c: New file.
* iconvdata/gconv-modules (ISO-2022-JP-3): New module.
* iconvdata/Makefile (modules): Add ISO-2022-JP-3.
(LDFLAGS-ISO-2022-JP-3.so): New variable.
(ISO-2022-JP-3.so): Depend on libJIS.so and libJISX0213.so.
(distribute): Add iso-2022-jp-3.c.
2002-05-12 Bruno Haible <bruno@clisp.org>
* iconvdata/tst-table-to.c (main): Restore handling of
transliterations, broken by last patch.
2002-05-12 Bruno Haible <bruno@clisp.org>
* iconvdata/TESTS: Add IBM922, IBM1124, IBM1129.
2002-05-12 Bruno Haible <bruno@clisp.org>
* iconvdata/euc-jisx0213.c (BODY for FROM_LOOP): Don't advance inptr
when there is not enough room in the output buffer.
* iconvdata/shift_jisx0213.c (BODY for FROM_LOOP): Likewise.
2002-04-20 Bruno Haible <bruno@clisp.org>
* iconv/skeleton.c ({FROM,TO}_LOOP_{MIN,MAX}_NEEDED_{FROM,TO}): New
macros.
(RESET_INPUT_BUFFER): Use them instead of {MIN,MAX}_NEEDED_{FROM,TO}.
Also make this macro work if FROM_DIRECTION evaluates to 0.
(gconv_init): Use the new macros instead of {MIN,MAX}_NEEDED_{FROM,TO}.
(FUNCTION_NAME): Likewise, in the handling of unaligned accesses and
of consume_incomplete.
* iconvdata/cp1255.c: Define {FROM,TO}_LOOP_{MIN,MAX}_NEEDED_{FROM,TO}
instead of {MIN,MAX}_NEEDED_{FROM,TO}. Set FROM_LOOP_MAX_NEEDED_TO to
4, not 8.
* iconvdata/cp1258.c: Likewise.
* iconvdata/ibm930.c: Define {FROM,TO}_LOOP_{MIN,MAX}_NEEDED_{FROM,TO}
instead of {MIN,MAX}_NEEDED_{FROM,TO}. Set TO_LOOP_MAX_NEEDED_TO to 3,
not 2.
* iconvdata/ibm933.c: Likewise.
* iconvdata/ibm935.c: Likewise.
* iconvdata/ibm937.c: Likewise.
* iconvdata/ibm939.c: Likewise.
* iconvdata/iso-2022-cn.c: Define
{FROM,TO}_LOOP_{MIN,MAX}_NEEDED_{FROM,TO} instead of
{MIN,MAX}_NEEDED_{FROM,TO}. Set TO_LOOP_MAX_NEEDED_TO to 6, not 4.
* iconvdata/iso-2022-cn-ext.c: Likewise.
* iconvdata/iso-2022-jp.c: Define
{FROM,TO}_LOOP_{MIN,MAX}_NEEDED_{FROM,TO} instead of
{MIN,MAX}_NEEDED_{FROM,TO}.
* iconvdata/tcvn5712-1.c: Define
{FROM,TO}_LOOP_{MIN,MAX}_NEEDED_{FROM,TO} instead of
{MIN,MAX}_NEEDED_{FROM,TO}. Set FROM_LOOP_MAX_NEEDED_FROM to 1, not 2.
* iconvdata/euc-jisx0213.c: Define
{FROM,TO}_LOOP_{MIN,MAX}_NEEDED_{FROM,TO} instead of
{MIN,MAX}_NEEDED_{FROM,TO}. Set FROM_LOOP_MAX_NEEDED_TO to 8, not 4.
* iconvdata/shift_jisx0213.c: Likewise.
2002-05-14 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* sysdeps/powerpc/Makefile (sysdeps_routines): Add divdi3, cmpdi2,
shdi3, fixdfdi, fixsfdi in csu dir.
(shared-only-routines): Likewise.
* sysdeps/wordsize-32/cmpdi2.c: New file.
* sysdeps/wordsize-32/shdi3.c: New file.
* sysdeps/wordsize-32/fixdfdi.c: New file.
* sysdeps/wordsize-32/fixsfdi.c: New file.
* sysdeps/powerpc/Versions (__divdi3, __moddi3, __udivdi3, __umoddi3,
__ashldi3, __ashrdi3, __lshrdi3, __cmpdi2, __ucmpdi2, __fixdfdi,
__fixsfdi, __fixunsdfdi, __fixunssfdi): Export at GLIBC_2.0.
* sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
Only use va_arg if the argument will be used [PR libc/3259].
2002-05-06 Michael A. Schmidt <mmaass@us.ibm.com>
* catgets/catgets.c (catopen): Free buffer if internal catalog
open fails.
2002-05-14 Ulrich Drepper <drepper@redhat.com>
* debug/xtrace.sh: Make more robust. For realtime tracking use
non-buffering methods.
* debug/pcprofiledump.c: Implement -u option.
Patch by Roger Luethi <rl@hellgate.ch>.
Ulrich Drepper [Wed, 15 May 2002 03:36:41 +0000 (03:36 +0000)]
Update.
2002-05-06 Jungshik Shin <jshin@mailaps.org>
* charmaps/UTF-8: Fix wcwidth for Hangul Conjoining medial vowels
and trailing consonant.
* charmaps/GB18030: Likewise
Ulrich Drepper [Wed, 15 May 2002 00:22:23 +0000 (00:22 +0000)]
Update.
2002-05-11 Jakub Jelinek <jakub@redhat.com>
* include/netinet/in.h (bindresvport_internal): Add prototype.
* include/rpc/auth.h (authunix_create_internal,
authunix_create_default_internal, authnone_create_internal,
authdes_pk_create_internal): Add prototypes.
* include/rpc/clnt.h (clnt_create_internal, clnttcp_create_internal,
clntudp_create_internal, clntudp_bufcreate_internal,
clntunix_create_internal): Add prototypes.
* include/rpc/svc.h (svc_sendreply_internal, svcerr_decode_internal,
svc_getreq_internal, svc_getreq_common_internal,
svc_getreqset_internal, svc_getreq_poll_internal,
svc_register_internal, svc_unregister_internal,
svcudp_create_internal, svcudp_bufcreate_internal): Add prototypes.
* include/rpc/svc_auth.h (_authenticate_internal): Add prototype.
* include/sys/socket.h (__sendto, __recvfrom, __sendmsg, __recvmsg,
__setsockopt, __getsockname, __bind, __listen): Add prototypes.
* inet/rexec.c (rexec_af): Use __listen and __getsockname.
* inet/rcmd.c (rcmd_af): Use __listen.
(rresvport_af): Use __bind.
* sunrpc/clnt_udp.c: Use INTUSE calls to bindresvport,
authunix_create, authunix_create_default, authnone_create,
authdes_pk_create, clnt_create, clnttcp_create, clntudp_create,
clntudp_bufcreate, clntunix_create svc_sendreply, svcerr_decode,
svc_getreq, svc_getreq_common, svc_getreqset, svc_getreq_poll,
svc_register, svc_unregister, svcudp_create, svcudp_bufcreate,
_authenticate, add INTDEF after such function definitions.
Use __listen, __bind, __sendto, __recvfrom, __sendmsg, __recvmsg,
__setsockopt, __getsockname instead of non-__ variants.
* sunrpc/pmap_rmt.c: Likewise.
* sunrpc/rtime.c: Likewise.
* sunrpc/svc_udp.c: Likewise.
* sunrpc/clnt_unix.c: Likewise.
* sunrpc/svc_unix.c: Likewise.
* sunrpc/bindrsvprt.c: Likewise.
* sunrpc/svc_tcp.c: Likewise.
* sunrpc/auth_none.c: Likewise.
* sunrpc/clnt_raw.c: Likewise.
* sunrpc/clnt_tcp.c: Likewise.
* sunrpc/auth_unix.c: Likewise.
* sunrpc/key_call.c: Likewise.
* sunrpc/clnt_gen.c: Likewise.
* sunrpc/pm_getmaps.c: Likewise.
* sunrpc/clnt_simp.c: Likewise.
* sunrpc/pmap_clnt.c: Likewise.
* sunrpc/svc_run.c: Likewise.
* sunrpc/svc.c: Likewise.
* sunrpc/svc_simple.c: Likewise.
* sunrpc/pm_getport.c: Likewise.
* sunrpc/auth_des.c: Likewise.
* sunrpc/svc_auth.c: Likewise.
* sysdeps/generic/unwind-dw2-fde.c (__register_frame_info_bases,
__register_frame_info_table_bases, __deregister_frame_info_bases):
Add INTDEF.
(__register_frame_info_bases_internal,
__register_frame_info_table_bases_internal,
__deregister_frame_info_bases_internal): Add prototypes.
(__register_frame_info, __register_frame): Use INTUSE in call to
__register_frame_info_bases.
(__register_frame_info_table): Similarly.
(__deregister_frame_info, __deregister_frame): Similarly.
* sysdeps/generic/sendto.c (__sendto): Renamed from sendto, add
sendto as weak alias.
* sysdeps/mach/hurd/sendto.c: Likewise.
* sysdeps/generic/recvfrom.c (__recvfrom): Renamed from recvfrom, add
recvfrom as weak alias.
* sysdeps/mach/hurd/recvfrom.c: Likewise.
* sysdeps/unix/sysv/aix/recvfrom.c: Likewise.
* sysdeps/generic/recvmsg.c (__recvmsg): Renamed from recvmsg, add
recvmsg as weak alias.
* sysdeps/unix/sysv/aix/recvmsg.c: Likewise.
* sysdeps/generic/sendmsg.c (__sendmsg): Renamed from sendmsg, add
sendmsg as weak alias.
* sysdeps/unix/sysv/aix/sendmsg.c: Likewise.
* sysdeps/generic/setsockopt.c (__setsockopt): Renamed from
setsockopt, add setsockopt as weak alias.
* sysdeps/mach/hurd/setsockopt.c: Likewise.
* sysdeps/generic/bind.c (__bind): Renamed from bind, add bind as
weak alias.
* sysdeps/mach/hurd/bind.c: Likewise.
* sysdeps/generic/listen.c (__listen): Renamed from listen, add listen
as weak alias.
* sysdeps/mach/hurd/listen.c: Likewise.
* sysdeps/generic/getsockname.c (__getsockname): Renamed from
getsockname, add getsockname as weak alias.
* sysdeps/mach/hurd/getsockname.c: Likewise.
* sysdeps/unix/sysv/aix/getsockname.c: Likewise.
* sysdeps/mach/hurd/recvmsg.c (__recvmsg): Add weak alias.
* sysdeps/mach/hurd/sendmsg.c (__sendmsg): Add weak alias.
* sysdeps/unix/inet/syscalls.list (__bind, __listen, __recvmsg,
__recvfrom, __sendmsg, __sendto, __setsockopt): Add aliases.
* sysdeps/unix/sysv/linux/alpha/syscalls.list (__recvmsg, __sendmsg):
Add aliases.
* sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/recvfrom.S (__recvfrom): Add weak alias.
* sysdeps/unix/sysv/linux/recvmsg.S (__recvmsg): Likewise.
* sysdeps/unix/sysv/linux/sendmsg.S (__sendmsg): Likewise.
* sysdeps/unix/sysv/linux/sendto.S (__sendto): Likewise.
* sysdeps/unix/sysv/linux/setsockopt.S (__setsockopt): Likewise.
* sysdeps/unix/sysv/linux/bind.S (__bind): Likewise.
* sysdeps/unix/sysv/linux/listen.S (__listen): Likewise.
* sysdeps/unix/sysv/linux/getsockname.S (__getsockname): Likewise.
2002-05-10 Jakub Jelinek <jakub@redhat.com>
* locale/programs/localedef.h (show_archive_content): Add verbose
argument.
* locale/programs/localedef.c (main): Adjust caller.
* locale/programs/locarchive.c (struct nameent, struct dataent): New.
(nameentcmp, dataentcmp): New functions.
(xstrcmp): Remove.
(show_archive_content): Print verbose listing with --list-archive -v.
* locale/programs/locarchive.c (open_archive): Take extra argument
readonly. If true open file with O_RDONLY and don't create the
archive if it doesn't exist.
Adapt all callers.
(close_archive): Don't do anything if fd element is -1.
* locale/programs/localedef.h (open_archive): Adjust prototype.
* locale/programs/locfile.c (write_all_categories): Adjust open_archive
call.
* malloc/malloc.c (__posix_memalign): Correct check for size of
alignment value [PR libc/3444].
Ulrich Drepper [Tue, 14 May 2002 21:29:42 +0000 (21:29 +0000)]
Update.
2002-05-14 Ulrich Drepper <drepper@redhat.com>
* include/stdio.h: Remove references to old stdio implementation.
* libio/Makefile (bug-ungetwc2-ENV): Define.
* hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
Allocate three, not two, more than LEN when appending '/.'.
* sysdeps/mach/hurd/chroot.c (chroot): Likewise. Don't check
if NAME ends with '/.' if it is shorter than 2 chars.
Ulrich Drepper [Tue, 14 May 2002 21:26:41 +0000 (21:26 +0000)]
(bug-ungetwc2-ENV): Define.
Roland McGrath [Tue, 14 May 2002 02:22:58 +0000 (02:22 +0000)]
* iconv/gconv_charset.h (upstr): Add inline keyword, quiets warning.
* hurd/hurdinit.c (_hurd_init): Use internal name _hurd_new_proc_init.
Roland McGrath [Mon, 13 May 2002 01:48:25 +0000 (01:48 +0000)]
2002-05-13 Marcus Brinkmann <marcus@gnu.org>
* hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
Allocate three, not two, more than LEN when appending '/.'.
* sysdeps/mach/hurd/chroot.c (chroot): Likewise. Don't check
if NAME ends with '/.' if it is shorter than 2 chars.
* mach/Makefile ($(mach-syscalls:%=$(objpfx)%.S)): Make the generated
files #include <sysdep.h> instead of <mach/machine/syscall_sw.h>.
Roland McGrath [Mon, 13 May 2002 01:27:49 +0000 (01:27 +0000)]
* hurd/hurdexec.c (_hurd_exec): Reauthenticate ports/dtable used in
file_exec to effect svuid=euid, svgid=egid if that is not a no-op.
Roland McGrath [Mon, 13 May 2002 01:27:28 +0000 (01:27 +0000)]
2002-05-12 Roland McGrath <roland@frob.com>
* hurd/hurdexec.c (_hurd_exec): Reauthenticate ports/dtable used in
file_exec to effect svuid=euid, svgid=egid if that is not a no-op.
Andreas Jaeger [Sat, 11 May 2002 05:12:35 +0000 (05:12 +0000)]
(__divsf3): Fix typo in symbol version.