platform/upstream/linaro-glibc.git
22 years ago* sysdeps/unix/sysv/linux/configure.in
Andreas Schwab [Fri, 18 Jan 2002 13:03:37 +0000 (13:03 +0000)]
* sysdeps/unix/sysv/linux/configure.in

(libc_cv_gcc_unwind_find_fde): Set for m68k, too.

22 years ago(libc_cv_gcc_unwind_find_fde): Set for m68k, too.
Andreas Schwab [Fri, 18 Jan 2002 13:03:16 +0000 (13:03 +0000)]
(libc_cv_gcc_unwind_find_fde): Set for m68k, too.

22 years agoUpdate.
Ulrich Drepper [Fri, 18 Jan 2002 06:26:02 +0000 (06:26 +0000)]
Update.

2002-01-16  Roger Sayle  <roger@eyesopen.com>

* stdlib/msort.c (msort_with_tmp): Replace implementation with
more efficient "Towers of Hanoi" mergesort.
(hanoi_sort, hanoi_sort_int, hanoi_sort_long): New functions,
for generic, sizeof(int) and sizeof(long) variants respectively.

* manial/syslog.texi (openlog): Describe possible problems with
first parameter.
Patch by Christopher Allen Wing <wingc@engin.umich.edu>.

22 years agoUpdate.
Ulrich Drepper [Fri, 18 Jan 2002 02:17:00 +0000 (02:17 +0000)]
Update.

Patch by Christopher Allen Wing <wingc@engin.umich.edu>.

22 years agoUpdate.
Ulrich Drepper [Fri, 18 Jan 2002 02:10:41 +0000 (02:10 +0000)]
Update.

2002-01-17  Ulrich Drepper  <drepper@redhat.com>

* nscd/nscd.c (drop_privileges): Removed.  Adjust caller.
* nscd/connections.c (begin_drop_privileges): New function.
(finish_drop_privileges): New function.
(nscd_init): Call the new functions which also install all groups
for the server user.

2002-01-17  H.J. Lu  <hjl@gnu.org>

* sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Remove
`const' from `got'.

22 years agoUpdate.
Ulrich Drepper [Thu, 17 Jan 2002 23:07:30 +0000 (23:07 +0000)]
Update.

2002-01-17  Martin Schwidefsky  <schwidefsky@de.ibm.com>

* sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Use 64 bit
instructions for pointer operations.
* sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.

22 years agoUse 64 bit instructions for pointer operations.
Ulrich Drepper [Thu, 17 Jan 2002 22:56:53 +0000 (22:56 +0000)]
Use 64 bit instructions for pointer operations.

22 years agoUpdate.
Andreas Jaeger [Thu, 17 Jan 2002 17:35:57 +0000 (17:35 +0000)]
Update.

* sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: GCC 3.1 has
__uint128_t build-in.

22 years agoUpdate.
Andreas Jaeger [Thu, 17 Jan 2002 17:22:57 +0000 (17:22 +0000)]
Update.

2002-01-17  Andreas Jaeger  <aj@suse.de>

* sysdeps/unix/sysv/linux/configure.in: Fix check for S390 and
PowerPC, sync with 2.2 branch.

22 years ago* sysdeps/unix/sysv/linux/configure.in: Fix check for S390 and
Andreas Jaeger [Thu, 17 Jan 2002 17:22:51 +0000 (17:22 +0000)]
* sysdeps/unix/sysv/linux/configure.in: Fix check for S390 and

PowerPC, sync with 2.2 branch.

22 years agoUpdate.
Ulrich Drepper [Thu, 17 Jan 2002 07:38:47 +0000 (07:38 +0000)]
Update.

* posix/getconf.c: Update copyright year.
* nss/getent.c: Likewise.
* nscd/nscd_nischeck.c: Likewise.
* iconv/iconvconfig.c: Likewise.
* iconv/iconv_prog.c: Likewise.
* elf/ldconfig.c: Likewise.
* catgets/gencat.c: Likewise.
* csu/version.c: Likewise.
* elf/ldd.bash.in: Likewise.
* elf/sprof.c (print_version): Likewise.
* locale/programs/locale.c: Likewise.
* locale/programs/localedef.c: Likewise.
* nscd/nscd.c (print_version): Likewise.
* debug/xtrace.sh: Likewise.
* malloc/memusage.sh: Likewise.
* malloc/mtrace.pl: Likewise.

2002-01-16  Andreas Schwab  <schwab@suse.de>

* sysdeps/unix/sysv/linux/ia64/ldd-rewrite.sed: Fix regexp to
reliably remove "-ia64" from rtld name.

2002-01-16  Ulrich Drepper  <drepper@redhat.com>

22 years agoUpdate.
Ulrich Drepper [Thu, 17 Jan 2002 06:35:42 +0000 (06:35 +0000)]
Update.

2002-01-16  Ulrich Drepper  <drepper@redhat.com>

* iconvdata/gb18030.c: Bug fixes and support for more characters.
Patch by Yu Shao <yshao@redhat.com>.

2002-01-16  Martin Schwidefsky  <schwidefsky@de.ibm.com>

* sysdeps/unix/sysv/linux/s390/swapcontext.c: Remove.
* sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: New file.
* sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: New file.

2002-01-14  Martin Schwidefsky  <schwidefsky@de.ibm.com>

* sysdeps/s390/fpu/libm-test-ulps: Update.

22 years agoUpdate.
Ulrich Drepper [Thu, 17 Jan 2002 00:50:24 +0000 (00:50 +0000)]
Update.

2002-01-16  Martin Schwidefsky  <schwidefsky@de.ibm.com>

     * sysdeps/s390/s390-32/pt-machine.h (MEMORY_BARRIER): Define.
     (CURRENT_STACK_FRAME): Remove duplicate definition.
     * sysdeps/s390/s390-64/pt-machine.h: Likewise.

22 years agoUpdate.
Ulrich Drepper [Thu, 17 Jan 2002 00:36:30 +0000 (00:36 +0000)]
Update.

* Makefile (CFLAGS-tst-cancel.c): Add -fno-inline-functions to prevent
automatic inline.

22 years agoUpdate.
Ulrich Drepper [Thu, 17 Jan 2002 00:32:33 +0000 (00:32 +0000)]
Update.

2002-01-14  Martin Schwidefsky  <schwidefsky@de.ibm.com>

* linuxthreads/Makefile (CFLAGS-tst-cancel.c): Add
-fno-inline-functions to prevent automatic inline.

22 years agoUpdate.
Ulrich Drepper [Wed, 16 Jan 2002 17:44:51 +0000 (17:44 +0000)]
Update.

2002-01-12  Andreas Schwab  <schwab@suse.de>

* Makefile (test-srcs): Add tst-signal.
(tests): Run tst-signal.
(distribute): Add tst-signal.sh.
* tst-signal.c, tst-signal.sh: New files.

22 years agoTest for handling initial signal handler setting correctly.
Ulrich Drepper [Wed, 16 Jan 2002 00:28:45 +0000 (00:28 +0000)]
Test for handling initial signal handler setting correctly.

22 years ago* sysdeps/x86_64/pt-machine.h (INIT_THREAD_SELF): Avoid warning.
Andreas Jaeger [Mon, 14 Jan 2002 15:43:08 +0000 (15:43 +0000)]
* sysdeps/x86_64/pt-machine.h (INIT_THREAD_SELF): Avoid warning.

2002-01-14  Andreas Jaeger  <aj@suse.de>

* sysdeps/x86_64/pt-machine.h (INIT_THREAD_SELF): Avoid warning.

22 years ago(sighandler): Initialize all elements to SIG_ERR. (__sigaction): Don't use value...
Ulrich Drepper [Sat, 12 Jan 2002 01:36:35 +0000 (01:36 +0000)]
(sighandler): Initialize all elements to SIG_ERR. (__sigaction): Don't use value from sighandler if it is SIG_ERR.

22 years agoUpdate.
Ulrich Drepper [Sat, 12 Jan 2002 01:35:51 +0000 (01:35 +0000)]
Update.

2002-01-11  Ulrich Drepper  <drepper@redhat.com>

* elf/elf.h: Update x86 relocations.

22 years agoUpdate.
Ulrich Drepper [Fri, 11 Jan 2002 06:47:31 +0000 (06:47 +0000)]
Update.

2002-01-10  Ulrich Drepper  <drepper@redhat.com>

* locale/programs/charmap.c (new_width): Check whether byte
sequences for both ends of range have the same length.

22 years agoUpdate.
Ulrich Drepper [Fri, 11 Jan 2002 01:06:11 +0000 (01:06 +0000)]
Update.

2002-01-09  Jakub Jelinek  <jakub@redhat.com>

* elf/elf.h (SHN_UNDEF): Remove duplicate definition.

2002-01-09  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/alpha/fpu/e_sqrt.c (__ieee754_sqrt): Don't use multi-line
string literals.
(__full_ieee754_sqrt): Add __attribute_used__.

2002-01-10  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/generic/group_member.c (__group_member): Also check
groups[0] [PR libc/2781].

22 years agoUpdate.
Ulrich Drepper [Tue, 8 Jan 2002 22:00:09 +0000 (22:00 +0000)]
Update.

2002-01-08  Ulrich Drepper  <drepper@redhat.com>

* Makefile (distribute): Add scripts/cpp.
* elf/Makefile (distribute): Add reldep6mod[01234].c,
unwind-dw2.c, unwind-dw2-fde.c, unwind.h, unwind-pe.h,
unwind-dw2-fde.h, and dwarf2.h.
* sysdeps/unix/bsd/bsd4.4/Dist: New file.
* sysdeps/unix/sysv/aix/Dist: Add sysv_termio.h and start-libc.c.
* sysdeps/unix/sysv/linux/ia64/Dist: Add ldd-rewrite.sed.
* sysdeps/unix/sysv/linux/s390/Dist: Likewise.

22 years agoAdd ldd-rewrite.sed.
Ulrich Drepper [Tue, 8 Jan 2002 21:54:06 +0000 (21:54 +0000)]
Add ldd-rewrite.sed.

22 years ago* sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Use
Roland McGrath [Tue, 8 Jan 2002 19:58:03 +0000 (19:58 +0000)]
* sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Use

volatile on type of ARGC so the compiler doesn't get clever.

22 years ago2002-01-07 Roland McGrath <roland@frob.com>
Roland McGrath [Tue, 8 Jan 2002 19:57:57 +0000 (19:57 +0000)]
2002-01-07  Roland McGrath  <roland@frob.com>

* sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Use
volatile on type of ARGC so the compiler doesn't get clever.

22 years agoUpdate.
Andreas Jaeger [Tue, 8 Jan 2002 10:19:44 +0000 (10:19 +0000)]
Update.

2002-01-07  Andreas Jaeger  <aj@suse.de>

* sysdeps/generic/bits/byteswap.h: Prevent double inclusion.
* sysdeps/i386/bits/byteswap.h: Likewise.
* sysdeps/ia64/bits/byteswap.h: Likewise.
* sysdeps/m68k/bits/byteswap.h: Likewise.
* sysdeps/s390/s390-32/bits/byteswap.h: Likewise.
* sysdeps/s390/s390-64/bits/byteswap.h: Likewise.

22 years agoPrevent double inclusion.
Andreas Jaeger [Tue, 8 Jan 2002 10:19:35 +0000 (10:19 +0000)]
Prevent double inclusion.

22 years agoUpdate.
Ulrich Drepper [Tue, 8 Jan 2002 06:38:01 +0000 (06:38 +0000)]
Update.

2002-01-02  Bruno Haible  <bruno@clisp.org>

* intl/plural.y: Fix %expect count.

22 years agoUpdate.
Ulrich Drepper [Tue, 8 Jan 2002 06:28:46 +0000 (06:28 +0000)]
Update.

2002-01-03  Jakub Jelinek  <jakub@redhat.com>

* elf/Makefile (routines, shared-only-routines): Add
unwind-dw2-fde-glibc instead of unwind-dw2-fde.
* elf/elf.h (PT_GNU_EH_FRAME): Define.
* sysdeps/generic/unwind-dw2-fde-glibc.c: New file.
* sysdeps/generic/unwind-dw2-fde.c (__register_frame_info_bases):
Optimize if .eh_frame section contains no FDEs.
(__register_frame, __deregister_frame_info_bases,
__deregister_frame): Likewise.
* sysdeps/generic/unwind-dw2.c (execute_cfa_program): Fix
DW_CFA_restore handling.

2002-01-07  Stephen L Moshier  <moshier@mediaone.net>

22 years agoUpdate.
Ulrich Drepper [Mon, 7 Jan 2002 23:08:16 +0000 (23:08 +0000)]
Update.

2002-01-06  Richard Henderson  <rth@redhat.com>

* sysdeps/alpha/elf/pt-initfini.c: New file.

2001-12-12  NIIBE Yutaka  <gniibe@m17n.org>

22 years agoSpecial init/fini sections for Alpha when using linuxthreads.
Ulrich Drepper [Mon, 7 Jan 2002 23:00:52 +0000 (23:00 +0000)]
Special init/fini sections for Alpha when using linuxthreads.

22 years agoUpdate.
Andreas Jaeger [Mon, 7 Jan 2002 13:28:49 +0000 (13:28 +0000)]
Update.

2002-01-07  Stephen L Moshier <moshier@mediaone.net>

* sysdeps/ieee754/ldbl-96/s_erfl.c (erfcl): Fix K&R header.

* sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Fix typo in test
for x < 0.25 and restore original range reduction method.
(__ieee754_lgammal_r): Make sure signgam is set before returning.

22 years ago (erfcl): Fix K&R header.
Andreas Jaeger [Mon, 7 Jan 2002 13:28:04 +0000 (13:28 +0000)]
 (erfcl): Fix K&R header.

22 years agoUpdate.
Ulrich Drepper [Mon, 7 Jan 2002 09:33:53 +0000 (09:33 +0000)]
Update.

2002-01-07  Ulrich Drepper  <drepper@redhat.com>

* libio/fileops.c (_IO_file_underflow_mmap): New function.
(_IO_file_close_mmap): New function.
(_IO_file_jumps_mmap): New variable.
* libio/wfileops.c (_IO_wfile_underflow): Reset read pointer before
trying to convert rest of byte buffer.
(_IO_wfile_underflow_mmap): New function.
(_IO_wfile_jumps_mmap): New variable.
* libio/iofopen.c (__fopen_maybe_mmap): New function.
(__fopen_internal): New function.  Split out from _IO_new_fopen.
(_IO_new_fopen): Call __fopen_internal.
* libio/iofopen64.c: Just call __fopen_internal.
* libio/iofdopen.c: Call __fopen_maybe_mmap before returning
successfully.
* libio/iolibio.h: Declare __fopen_internal and __fopen_maybe_mmap.
* libio/libioP.h: Declare _IO_file_jumps_mmap, _IO_wfile_jumps_mmap,
_IO_file_close_mmap.

* sysdeps/gnu/_G_config.h: Define _G_MMAP64.
* sysdeps/unix/sysv/linux/cris/_G_config.h: Likewise.

* stdio-common/Makefile (tests): Add tst-rndseek.
* stdio-common/tst-rndseek.c: New file.

22 years agoTest for fseek on input stream.
Ulrich Drepper [Mon, 7 Jan 2002 09:16:46 +0000 (09:16 +0000)]
Test for fseek on input stream.

22 years ago* config.h.in (HAVE_MIG_RETCODE): New #undef.
Roland McGrath [Sat, 5 Jan 2002 21:53:13 +0000 (21:53 +0000)]
* config.h.in (HAVE_MIG_RETCODE): New #undef.

* sysdeps/mach/hurd/configure.in (hurd_MIG_RETCODE: New macro
swiped from hurd package's aclocal.m4; use it to set HAVE_MIG_RETCODE.
* sysdeps/mach/hurd/configure: Regenerated.

22 years ago2002-01-05 Roland McGrath <roland@frob.com>
Roland McGrath [Sat, 5 Jan 2002 21:53:04 +0000 (21:53 +0000)]
2002-01-05  Roland McGrath  <roland@frob.com>

* config.h.in (HAVE_MIG_RETCODE): New #undef.
* sysdeps/mach/hurd/configure.in (hurd_MIG_RETCODE: New macro
swiped from hurd package's aclocal.m4; use it to set HAVE_MIG_RETCODE.
* sysdeps/mach/hurd/configure: Regenerated.

22 years agocygnus.com -> redhat.com
Ulrich Drepper [Sat, 5 Jan 2002 06:15:54 +0000 (06:15 +0000)]
cygnus.com -> redhat.com

22 years agoUpdate.
Ulrich Drepper [Thu, 3 Jan 2002 20:54:56 +0000 (20:54 +0000)]
Update.

2002-01-03  Ulrich Drepper  <drepper@redhat.com>

* elf/elf.h: Add more TLS definitions.

22 years agoUpdate.
Ulrich Drepper [Thu, 3 Jan 2002 00:45:20 +0000 (00:45 +0000)]
Update.

2002-01-02  Ulrich Drepper  <drepper@redhat.com>

* include/features.h (__GLIBC_MINOR__): Bump to 3.

22 years ago(__GLIBC_MINOR__): Bump to 3.
Ulrich Drepper [Thu, 3 Jan 2002 00:43:43 +0000 (00:43 +0000)]
(__GLIBC_MINOR__): Bump to 3.

22 years ago(_hurd_internal_post_signal): typo
Roland McGrath [Wed, 2 Jan 2002 10:54:54 +0000 (10:54 +0000)]
(_hurd_internal_post_signal): typo

22 years ago* sysdeps/mach/hurd/sigwait.c (__sigwait): Use __sigandset,
Roland McGrath [Wed, 2 Jan 2002 10:52:56 +0000 (10:52 +0000)]
* sysdeps/mach/hurd/sigwait.c (__sigwait): Use __sigandset,

__sigisemptyset.  Don't use MASK uninitialized.

* sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Use __sigorset.
* hurd/hurdinit.c (_hurd_new_proc_init): Use __sigisemptyset.
* hurd/hurdsig.c (_hurd_internal_post_signal): Use __sigismember,
__sigdelset, __sigaddset, __sigorset.

22 years ago* hurd/hurdinit.c (_hurd_ports_use): Return EGRATUITOUS when
Roland McGrath [Wed, 2 Jan 2002 10:27:25 +0000 (10:27 +0000)]
* hurd/hurdinit.c (_hurd_ports_use): Return EGRATUITOUS when

_hurd_ports is null.

22 years ago* sysdeps/generic/htonl.c: Use uint32_t instead of u_int32_t.
Roland McGrath [Wed, 2 Jan 2002 10:24:13 +0000 (10:24 +0000)]
* sysdeps/generic/htonl.c: Use uint32_t instead of u_int32_t.

* sysdeps/generic/htons.c: Use uint16_t instead of u_int16_t.

22 years ago* hurd/hurdinit.c (_hurd_ports_use): Return error _hurd_ports is null.
Roland McGrath [Wed, 2 Jan 2002 10:23:33 +0000 (10:23 +0000)]
* hurd/hurdinit.c (_hurd_ports_use): Return error _hurd_ports is null.

* hurd/hurdsig.c (_hurdsig_init): Conditionalize exception port setup
for old CMU and new OSF Mach interface flavors.
* hurd/hurdfault.c (_hurdsig_fault_init): Likewise.
* sysdeps/mach/hurd/fork.c (__fork): Likewise.

* hurd/hurdsig.c (_hurd_internal_post_signal): Leave msgh_seqno unset.

* sysdeps/mach/hurd/spawni.c (__spawni) [KERN_INVALID_LEDGER]:
Pass extra arguments to task_create for OSF variant.
* sysdeps/mach/hurd/fork.c (__fork): Likewise.

22 years ago* sysdeps/powerpc/elf/libc-start.c: Make AUXVEC diddling code
Roland McGrath [Wed, 2 Jan 2002 09:52:33 +0000 (09:52 +0000)]
* sysdeps/powerpc/elf/libc-start.c: Make AUXVEC diddling code

conditional on [HAVE_AUX_VECTOR].

* mach/mach/mach_traps.h (thread_switch, __thread_switch): Use
mach_msg_timeout_t as type of final argument.

* hurd/privports.c (__get_privileged_ports):
Change host_priv_t to mach_port_t in argument type.
* hurd/hurd.h (get_privileged_ports, __get_privileged_ports):
Update decls.

* sysdeps/mach/hurd/i386/bits/sigcontext.h: Protect from
multiple inclusion.  Inhibit #error under [_SYS_UCONTEXT_H].
* sysdeps/mach/hurd/alpha/bits/sigcontext.h: Likewise.
* sysdeps/mach/hurd/hppa/bits/sigcontext.h: Likewise.
* sysdeps/mach/hurd/mips/bits/sigcontext.h: Likewise.
* sysdeps/mach/hurd/powerpc/bits/sigcontext.h: Likewise.

22 years ago* sysdeps/mach/hurd/errnos.awk: Tighten up device_types.h matching.
Roland McGrath [Wed, 2 Jan 2002 06:40:31 +0000 (06:40 +0000)]
* sysdeps/mach/hurd/errnos.awk: Tighten up device_types.h matching.

22 years ago2002-01-01 Roland McGrath <roland@frob.com>
Roland McGrath [Wed, 2 Jan 2002 06:38:52 +0000 (06:38 +0000)]
2002-01-01  Roland McGrath  <roland@frob.com>

* sysdeps/mach/hurd/errnos.awk: Tighten up device_types.h matching.

22 years agoUpdate.
Ulrich Drepper [Wed, 2 Jan 2002 06:29:28 +0000 (06:29 +0000)]
Update.

2002-01-01  Ulrich Drepper  <drepper@redhat.com>

* include/stdlib.h: Define inlines for the _l variants of the strto*
functions.

22 years agoDefine inlines for the _l variants of the strto* functions.
Ulrich Drepper [Wed, 2 Jan 2002 06:25:51 +0000 (06:25 +0000)]
Define inlines for the _l variants of the strto* functions.

22 years ago* sysdeps/mach/hurd/powerpc/intr-msg.h: Remove extraneous backslash.
Roland McGrath [Wed, 2 Jan 2002 06:22:14 +0000 (06:22 +0000)]
* sysdeps/mach/hurd/powerpc/intr-msg.h: Remove extraneous backslash.

* mach/Machrules (MIG): Set CPP as well as CC.

22 years ago2002-01-01 Roland McGrath <roland@frob.com>
Roland McGrath [Wed, 2 Jan 2002 06:21:52 +0000 (06:21 +0000)]
2002-01-01  Roland McGrath  <roland@frob.com>

* sysdeps/mach/hurd/powerpc/intr-msg.h: Remove extraneous backslash.

22 years agoUpdate.
Ulrich Drepper [Mon, 31 Dec 2001 18:30:10 +0000 (18:30 +0000)]
Update.

locale to parse /proc/loadavg [PR libc/2760].

22 years agoUpdate.
Ulrich Drepper [Mon, 31 Dec 2001 17:46:59 +0000 (17:46 +0000)]
Update.

2001-12-31  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Always use C
locale to parse /proc/loadavg.

2001-12-31  Jakub Jelinek  <jakub@redhat.com>

* elf/dl-conflict.c: Include sys/param.h.
(RESOLVE_CONFLICT_FIND_MAP): Cast r_offset to ElfW(Addr).
* sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Avoid
warning.
(TRAMPOLINE_TEMPLATE, RTLD_START): Don't use multi-line string
literals to avoid warnings.

* configure.in: Don't check for gsed since we do not use it anywhere.

22 years agoInclude sys/param.h. (RESOLVE_CONFLICT_FIND_MAP): Cast r_offset to ElfW(Addr).
Ulrich Drepper [Mon, 31 Dec 2001 17:33:22 +0000 (17:33 +0000)]
Include sys/param.h. (RESOLVE_CONFLICT_FIND_MAP): Cast r_offset to ElfW(Addr).

22 years agoUpdate.
Andreas Jaeger [Mon, 31 Dec 2001 06:57:18 +0000 (06:57 +0000)]
Update.

2001-12-31  Andreas Jaeger  <aj@suse.de>

* configure.in: Don't check for gsed since we do not use it
anywhere.

22 years ago* configure.in: Don't check for gsed since we do not use it
Andreas Jaeger [Mon, 31 Dec 2001 06:57:04 +0000 (06:57 +0000)]
* configure.in: Don't check for gsed since we do not use it

anywhere.

22 years agoUpdate.
Ulrich Drepper [Sat, 29 Dec 2001 21:07:46 +0000 (21:07 +0000)]
Update.

* io/fts.c: Update from BSD to fix memory leaks.

2001-12-25  Dmitry V. Levin  <ldv@alt-linux.org>

22 years agoUpdate.
Ulrich Drepper [Sat, 29 Dec 2001 15:58:00 +0000 (15:58 +0000)]
Update.

2001-12-25  Dmitry V. Levin  <ldv@alt-linux.org>

* crypt/md5-crypt.c: Realloc error handling memory leak fix.
* elf/chroot_canon.c: Likewise.
* elf/dl-object.c: Likewise.
* iconv/iconv_charmap.c: Likewise.
* iconv/iconv_prog.c: Likewise.
* libio/iogetdelim.c: Likewise.
* locale/lc-time.c: Likewise.
* stdlib/canonicalize.c: Likewise.
* sunrpc/svc.c: Likewise.
* sysdeps/generic/glob.c: Likewise.

22 years agoRealloc error handling memory leak fix.
Ulrich Drepper [Sat, 29 Dec 2001 15:57:15 +0000 (15:57 +0000)]
Realloc error handling memory leak fix.

22 years agoUpdate.
Andreas Jaeger [Sat, 29 Dec 2001 13:46:34 +0000 (13:46 +0000)]
Update.

2001-12-29  Andreas Jaeger  <aj@suse.de>

* Examples/ex9.c: Add noreturn attribute for thread.
* Examples/ex10.c: Likewise.
* Examples/ex13.c (thread_start): Likewise.
* Examples/ex15.c (worker): Likewise.

* Examples/ex18.c: Include unistd.h for prototype of sleep.

22 years agoInclude unistd.h for prototype of sleep.
Andreas Jaeger [Sat, 29 Dec 2001 13:45:59 +0000 (13:45 +0000)]
Include unistd.h for prototype of sleep.

22 years agoUpdate.
Ulrich Drepper [Sat, 29 Dec 2001 01:02:17 +0000 (01:02 +0000)]
Update.

2001-12-19  Martin Schwidefsky  <schwidefsky@de.ibm.com>

* sysdeps/unix/sysv/linux/s390/profil-counter.h: Move/copy to ...
* sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h: ... here,
remove high order bit from the program counter.
* sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h: ... and here.

2001-12-19  Martin Schwidefsky  <schwidefsky@de.ibm.com>

* sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Remove
unnecessary code and add missing reloc types.
* sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Add empty
case for reloc type R_390_NONE.

22 years ago(elf_machine_rela): Remove unnecessary code and add missing reloc types.
Ulrich Drepper [Sat, 29 Dec 2001 00:33:04 +0000 (00:33 +0000)]
(elf_machine_rela): Remove unnecessary code and add missing reloc types.

22 years agoUpdate.
Andreas Jaeger [Fri, 28 Dec 2001 16:43:13 +0000 (16:43 +0000)]
Update.

2001-12-28  Andreas Jaeger  <aj@suse.de>

* io/bug-ftw3.c: Include string.h for prototypes.

* crypt/md5test.c (main): Remove unused variable.

* linuxthreads_db/td_init.c (td_init): Don't use __FUNCTION__ as
literal.
* linuxthreads_db/td_log.c (td_log): Likewise.
* linuxthreads_db/td_ta_delete.c (td_ta_delete): Likewise.
* linuxthreads_db/td_ta_get_nthreads.c (td_ta_get_nthreads): Likewise.
* linuxthreads_db/td_ta_get_ph.c (td_ta_get_ph): Likewise.
* linuxthreads_db/td_ta_map_id2thr.c (td_ta_map_id2thr): Likewise.
* linuxthreads_db/td_ta_map_lwp2thr.c (td_ta_map_lwp2thr): Likewise.
* linuxthreads_db/td_ta_new.c (td_ta_new): Likewise.
* linuxthreads_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
* linuxthreads_db/td_ta_enable_stats.c (td_ta_enable_stats): Likewise.
* linuxthreads_db/td_ta_event_addr.c (td_ta_event_addr): Likewise.
* linuxthreads_db/td_ta_event_getmsg.c (td_ta_event_getmsg): Likewise.
* linuxthreads_db/td_ta_get_stats.c (td_ta_get_stats): Likewise.
* linuxthreads_db/td_ta_reset_stats.c (td_ta_reset_stats): Likewise.
* linuxthreads_db/td_ta_set_event.c (td_ta_set_event): Likewise.
* linuxthreads_db/td_ta_setconcurrency.c (td_ta_setconcurrency):
Likewise.
* linuxthreads_db/td_ta_thr_iter.c (td_ta_thr_iter): Likewise.
* linuxthreads_db/td_ta_tsd_iter.c (td_ta_tsd_iter): Likewise.
* linuxthreads_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
* linuxthreads_db/td_thr_dbresume.c (td_thr_dbresume): Likewise.
* linuxthreads_db/td_thr_dbsuspend.c (td_thr_dbsuspend): Likewise.
* linuxthreads_db/td_thr_event_enable.c (td_thr_event_enable):
Likewise.
* linuxthreads_db/td_thr_event_getmsg.c (td_thr_event_getmsg):
Likewise.
* linuxthreads_db/td_thr_get_info.c (td_thr_get_info): Likewise.
* linuxthreads_db/td_thr_getfpregs.c (td_thr_getfpregs): Likewise.
* linuxthreads_db/td_thr_getgregs.c (td_thr_getgregs): Likewise.
* linuxthreads_db/td_thr_getxregs.c (td_thr_getxregs): Likewise.
* linuxthreads_db/td_thr_getxregsize.c (td_thr_getxregsize): Likewise.
* linuxthreads_db/td_thr_set_event.c (td_thr_set_event): Likewise.
* linuxthreads_db/td_thr_setfpregs.c (td_thr_setfpregs): Likewise.
* linuxthreads_db/td_thr_setgregs.c (td_thr_setgregs): Likewise.
* linuxthreads_db/td_thr_setprio.c (td_thr_setprio): Likewise.
* linuxthreads_db/td_thr_setsigpending.c (td_thr_setsigpending):
Likewise.
* linuxthreads_db/td_thr_setxregs.c (td_thr_setxregs): Likewise.
* linuxthreads_db/td_thr_sigsetmask.c (td_thr_sigsetmask): Likewise.
* linuxthreads_db/td_thr_tsd.c (td_thr_tsd): Likewise.
* linuxthreads_db/td_thr_validate.c (td_thr_validate): Likewise.

* dlfcn/modstatic.c: Add prototype to avoid warning.

22 years agoDon't use __FUNCTION__ as literal.
Andreas Jaeger [Fri, 28 Dec 2001 16:41:29 +0000 (16:41 +0000)]
Don't use __FUNCTION__ as literal.

22 years ago* sysdeps/mach/hurd/sigwait.c (__sigwait): When returning immediately,
Roland McGrath [Wed, 26 Dec 2001 20:10:32 +0000 (20:10 +0000)]
* sysdeps/mach/hurd/sigwait.c (__sigwait): When returning immediately,

check only (SS->pending & MASK) for the signal to return.
From Jeroen Dekkers <jeroen@dekkers.cx>.

* iconv/skeleton.c [!RESET_INPUT_BUFFER && !SAVE_RESET_STATE]:
Use preprocessor #if conditionals instead of `if' to avoid
warnings about divide by zero in dead code.

22 years ago* hurd/Versions (libc: GLIBC_2.2.5): Add _hurd_port_set,
Roland McGrath [Sat, 22 Dec 2001 20:52:21 +0000 (20:52 +0000)]
* hurd/Versions (libc: GLIBC_2.2.5): Add _hurd_port_set,

_hurd_port_init, and __hurd_self_sigstate.

22 years ago* mach/Versions (libc: GLIBC_2.2.5): Add mig_strncpy.
Roland McGrath [Sat, 22 Dec 2001 20:28:21 +0000 (20:28 +0000)]
* mach/Versions (libc: GLIBC_2.2.5): Add mig_strncpy.

* hurd/Versions (libc: GLIBC_2.2.5): Add _hurd_port_set
and __hurd_self_sigstate.

22 years ago2001-12-22 Roland McGrath <roland@frob.com>
Roland McGrath [Sat, 22 Dec 2001 20:20:57 +0000 (20:20 +0000)]
2001-12-22  Roland McGrath  <roland@frob.com>

* mach/Versions (libc: GLIBC_2.2.5): Add mig_strncpy.
* hurd/Versions (libc: GLIBC_2.2.5): Add _hurd_port_set
and __hurd_self_sigstate.

22 years agoUpdate.
Andreas Jaeger [Fri, 21 Dec 2001 10:16:41 +0000 (10:16 +0000)]
Update.

2001-12-21  Andreas Jaeger  <aj@suse.de>

* elf/dblloadmod1.c: Add prototype to avoid warning.
* elf/dblloadmod2.c: Likewise.
* elf/dblloadmod3.c: Likewise.
* elf/reldepmod5.c: Likewise.
* elf/reldepmod6.c: Likewise.

* elf/dl-conflict.c (_dl_resolve_conflicts): Add unused attribute
for resolve_conflict_map since RESOLVE_CONFLICT_FIND_MAP is not
used on all architectures.

* sunrpc/svc_tcp.c: Add noreturn attribute for
svctcp_rendezvous_abort.
* sunrpc/svc_unix.c: Likewise for svcunix_rendezvous_abort.

* sysdeps/generic/strstr.c (strstr): Add paranthese for assignment
to avoid warning.

22 years ago* elf/dblloadmod1.c: Add prototype to avoid warning.
Andreas Jaeger [Fri, 21 Dec 2001 10:16:16 +0000 (10:16 +0000)]
* elf/dblloadmod1.c: Add prototype to avoid warning.

* elf/dblloadmod2.c: Likewise.
* elf/dblloadmod3.c: Likewise.
* elf/reldepmod5.c: Likewise.
* elf/reldepmod6.c: Likewise.
* elf/dl-conflict.c (_dl_resolve_conflicts): Add unused attribute
for resolve_conflict_map since RESOLVE_CONFLICT_FIND_MAP is not
used on all architectures.

* sunrpc/svc_tcp.c: Add noreturn attribute for
svctcp_rendezvous_abort.
* sunrpc/svc_unix.c: Likewise for svcunix_rendezvous_abort.

* sysdeps/generic/strstr.c (strstr): Add paranthese for assignment
to avoid warning.

22 years agoUpdate.
Ulrich Drepper [Wed, 19 Dec 2001 23:47:50 +0000 (23:47 +0000)]
Update.

2001-12-19  Jakub Jelinek  <jakub@redhat.com>

* manual/llio.texi (aio_fsync): Fix a typo.
Patch by Tammy Fox <tfox@redhat.com>.

22 years agoUpdate.
Ulrich Drepper [Wed, 19 Dec 2001 00:21:23 +0000 (00:21 +0000)]
Update.

2001-12-18  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (clone): Subtract
stack bias from child stack pointer before passing it to clone syscall.

2001-12-18  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/posix/sysconf.c (__sysconf): Respect POSIX minimum for
_SC_TZNAME_MAX.
* sysdeps/generic/sysconf.c (__sysconf): Likewise.
Reported by Thorsten Kukuk <kukuk@suse.de>.

* sysdeps/unix/grantpt.c (grantpt): Correct typo in comment and
add some casts.

* sysdeps/unix/sysv/linux/grantpt.c: Make __unix_grantpt static.

2001-12-18  Thorsten Kukuk  <kukuk@suse.de>

* sysdeps/unix/sysv/linux/grantpt.c: Make errno results standard
conforming: return EBADF if file descriptor is invalid and EINVAL
if file descriptor is no valid tty.
* login/tst-grantpt.c: New file.
* login/Makefile (tests): Add tst-grantpt.

22 years agoUpdate.
Ulrich Drepper [Mon, 17 Dec 2001 23:10:14 +0000 (23:10 +0000)]
Update.

2001-12-17  Ulrich Drepper  <drepper@redhat.com>

* io/ftw.c (ftw_dir): Handle inaccessibility of toplevel dir
different than implemented in last patch.
* io/bug-ftw3.c: Adjust test for changed handling of
inaccessibility of toplevel dir.

22 years ago(ftw_dir): Handle inaccessibility of toplevel dir different than implemented in last...
Ulrich Drepper [Mon, 17 Dec 2001 23:07:40 +0000 (23:07 +0000)]
(ftw_dir): Handle inaccessibility of toplevel dir different than implemented in last patch.

22 years ago* nss/nsswitch.c (__nss_next): Don't use __FUNCTION__ as literal.
Roland McGrath [Mon, 17 Dec 2001 05:52:18 +0000 (05:52 +0000)]
* nss/nsswitch.c (__nss_next): Don't use __FUNCTION__ as literal.

* grp/initgroups.c (internal_getgrouplist): Likewise.

22 years ago* hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add `break' after
Roland McGrath [Mon, 17 Dec 2001 01:03:08 +0000 (01:03 +0000)]
* hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add `break' after

`default:' to silence new GCC warning.
Rewrite cast of lvalue to silence new GCC warning.

* sysdeps/mach/hurd/i386/init-first.c: Avoid multi-line strings in asm.

22 years ago* sysdeps/mach/hurd/spawni.c: New file, by me with a
Roland McGrath [Sun, 16 Dec 2001 22:11:04 +0000 (22:11 +0000)]
* sysdeps/mach/hurd/spawni.c: New file, by me with a

couple fixes by Neal H Walfield <neal@cs.uml.edu>.

22 years ago2001-12-16 Roland McGrath <roland@frob.com>
Roland McGrath [Sun, 16 Dec 2001 22:10:46 +0000 (22:10 +0000)]
2001-12-16  Roland McGrath  <roland@frob.com>

* sysdeps/mach/hurd/spawni.c: New file, by me with a
couple fixes by Neal H Walfield <neal@cs.uml.edu>.

22 years agoUpdate.
Ulrich Drepper [Sat, 15 Dec 2001 06:45:58 +0000 (06:45 +0000)]
Update.

Patch by Stephen R. van den Berg.

22 years agoUpdate.
Ulrich Drepper [Fri, 14 Dec 2001 22:17:03 +0000 (22:17 +0000)]
Update.

* sysdeps/generic/strstr.c (strstr): Update.  New optimized version.

22 years agoUpdate.
Ulrich Drepper [Fri, 14 Dec 2001 18:06:36 +0000 (18:06 +0000)]
Update.

2001-12-14  Ulrich Drepper  <drepper@redhat.com>

* crypt/md5.h: Define md5_uintptr.

22 years agoDefine md5_uintptr.
Ulrich Drepper [Fri, 14 Dec 2001 18:06:03 +0000 (18:06 +0000)]
Define md5_uintptr.

22 years agoFix typo.
Andreas Jaeger [Fri, 14 Dec 2001 15:55:04 +0000 (15:55 +0000)]
Fix typo.

22 years agoUpdate.
Ulrich Drepper [Fri, 14 Dec 2001 07:26:22 +0000 (07:26 +0000)]
Update.

* libio/tst_swprintf.c (main): Add test for string argument with
zero precision.

22 years agoUpdate.
Ulrich Drepper [Fri, 14 Dec 2001 07:22:26 +0000 (07:22 +0000)]
Update.

* stdio-common/Makefile (tests): Add tst-sprintf.

22 years agoUpdate.
Ulrich Drepper [Fri, 14 Dec 2001 07:19:20 +0000 (07:19 +0000)]
Update.

2001-12-13  Ulrich Drepper  <drepper@redhat.com>

* stdio-common/tst-sprintf.c: New file.

2001-12-13  Andreas Schwab  <schwab@suse.de>

* stdio-common/vfprintf.c (process_string_arg): Correctly handle
zero precision with wide character string format.

22 years agoUpdate.
Ulrich Drepper [Fri, 14 Dec 2001 07:02:23 +0000 (07:02 +0000)]
Update.

2001-12-13  Thorsten Kukuk  <kukuk@suse.de>

* sysdeps/posix/cuserid.c (cuserid): If we don't find the UID,
but have a user supplied buffer, return the empty buffer, not NULL.

22 years agoUpdate.
Ulrich Drepper [Fri, 14 Dec 2001 06:33:57 +0000 (06:33 +0000)]
Update.

2001-12-13  Ulrich Drepper  <drepper@redhat.com>

* crypt/md5.c (md5_process_bytes): Correct handling of alignment.
Patch by Eric Sharkey <sharkey@netrics.com>.

* crypt/md5test.c (main): Add test for multiple calls to
__md5_process_bytes to itererate over input string.

22 years agoUpdate.
Ulrich Drepper [Thu, 13 Dec 2001 03:57:52 +0000 (03:57 +0000)]
Update.

* nis/nis_intern.h: Define parameters controlling __nis_findfastest
[PR libc/2520].  Patch by Alexander Belopolsky <alexb@rentec.com>.

22 years agoUpdate.
Ulrich Drepper [Thu, 13 Dec 2001 03:40:19 +0000 (03:40 +0000)]
Update.

2001-12-12  Ulrich Drepper  <drepper@redhat.com>

* nis/nis_findserv.c (__nis_findfastest_with_timeout): Mostly the code
from __nis_findfastest.  Take timeout value from parameter.
(__nis_findfastest): Call __nis_findfastest_with_timeout repeatedly.
* nis/nis_intern.h: Define parameters controlling __nis_findfastest.
Patch by Alexander Belopolsky <alexb@rentec.com>.

* sysdeps/arm/dl-machine.h (elf_machine_rela): Fix typo in last patch.

22 years agoUpdate from translation team.
Ulrich Drepper [Wed, 12 Dec 2001 23:46:58 +0000 (23:46 +0000)]
Update from translation team.

22 years ago* configure.in: Use -nostartfiles -nostdlib for linker tests, fix
Andreas Jaeger [Wed, 12 Dec 2001 18:36:44 +0000 (18:36 +0000)]
* configure.in: Use -nostartfiles -nostdlib for linker tests, fix

combreloc test so that it works in this case.
2001-12-12  Andreas Jaeger  <aj@suse.de>

* configure.in: Use -nostartfiles -nostdlib for linker tests, fix
combreloc test so that it works in this case.

* sysdeps/arm/dl-machine.h (elf_machine_rela): Fix typo in last
patch.

22 years agoUpdate.
Ulrich Drepper [Wed, 12 Dec 2001 18:06:59 +0000 (18:06 +0000)]
Update.

2001-12-12  NIIBE Yutaka  <gniibe@m17n.org>

* sysdeps/sh/Makefile: New file.
* sysdeps/sh/_mcount.S: New file.
* sysdeps/sh/sysdep.h (CALL_MCOUNT): Implemented.
* sysdeps/sh/machine-gmon.h: Remove "NOTYET" comment, as we are ready.

22 years ago(INIT_THREAD_SELF): Added __volatile__ qualifier to be safe.
Ulrich Drepper [Wed, 12 Dec 2001 18:01:23 +0000 (18:01 +0000)]
(INIT_THREAD_SELF): Added __volatile__ qualifier to be safe.

22 years ago(elf_machine_rela): Fix typo in last patch.
Andreas Jaeger [Wed, 12 Dec 2001 09:02:09 +0000 (09:02 +0000)]
(elf_machine_rela): Fix typo in last patch.

22 years agoUpdate.
Ulrich Drepper [Wed, 12 Dec 2001 07:38:32 +0000 (07:38 +0000)]
Update.

2001-12-11  Ulrich Drepper  <drepper@redhat.com>

* resolv/nss_dns/dns-host.c (getanswer_r): Remove MAX_NR_ADDRS
limitation [PR libc/2564].