platform/upstream/linaro-glibc.git
23 years agoFixed incorrect use of mvcle introduced by 2001-07-12 change.
Andreas Jaeger [Thu, 2 Aug 2001 14:47:58 +0000 (14:47 +0000)]
Fixed incorrect use of mvcle introduced by 2001-07-12 change.

23 years agoUpdate.
Ulrich Drepper [Tue, 31 Jul 2001 23:30:26 +0000 (23:30 +0000)]
Update.

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

* locales/tr_TR: Define missing fields and remove FIXME comments.
Patch by Nilg~n Belma Bug~ner <nilgun@fide.org>.

23 years agoUpdate.
Ulrich Drepper [Tue, 31 Jul 2001 20:57:24 +0000 (20:57 +0000)]
Update.

* sysdeps/unix/sysv/linux/i386/getcontext.S: Don't touch the %gs
register so that contexts can be used in different threads.
* sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
* sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.

23 years agoUpdate.
Ulrich Drepper [Tue, 31 Jul 2001 20:32:01 +0000 (20:32 +0000)]
Update.

* sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Correct
test for cmsg struct size.
* sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Likewise.

* sysdeps/unix/sysv/linux/i386/makecontext.S: Remove unnecessary
initializations.

* libio/oldiopopen.c: Add lock for old_proc_file_chain access.

23 years agoUpdate.
Ulrich Drepper [Tue, 31 Jul 2001 19:20:56 +0000 (19:20 +0000)]
Update.

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

* libio/iopopen.c: Add lock for proc_file_chain access.
Reported by Padraig Brady <Padraig@linux.ie>.

23 years ago(Formatted Input Basics): Add missing first argument to @ref{} uses.
Ulrich Drepper [Tue, 31 Jul 2001 18:57:16 +0000 (18:57 +0000)]
(Formatted Input Basics): Add missing first argument to @ref{} uses.

23 years agoUpdate.
Andreas Jaeger [Tue, 31 Jul 2001 07:46:22 +0000 (07:46 +0000)]
Update.

* sysdeps/unix/sysv/linux/sparc/bits/poll.h (NPOLLFILE): Removed.
* sysdeps/unix/sysv/linux/mips/bits/poll.h (NPOLLFILE): Removed.
* sysdeps/unix/sysv/linux/m68k/bits/poll.h (NPOLLFILE): Removed.
* sysdeps/unix/sysv/linux/bits/poll.h (NPOLLFILE): Removed.
* sysdeps/generic/bits/poll.h (NPOLLFILE): Removed.

23 years agoUpdate.
Andreas Jaeger [Tue, 31 Jul 2001 06:43:57 +0000 (06:43 +0000)]
Update.

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

* libio/genops.c (flush_cleanup): Guard list_all_lock to allow
compilation without threads.

23 years ago(flush_cleanup): Guard list_all_lock to allow compilation without threads.
Andreas Jaeger [Tue, 31 Jul 2001 06:43:44 +0000 (06:43 +0000)]
(flush_cleanup): Guard list_all_lock to allow compilation without threads.

23 years agoUpdate.
Ulrich Drepper [Mon, 30 Jul 2001 16:22:48 +0000 (16:22 +0000)]
Update.

2001-07-30  Ulrich Drepper  <drepper@redhat.com>

* po/fr.po: Update from translation team.

23 years agoUpdate.
Andreas Jaeger [Mon, 30 Jul 2001 09:08:38 +0000 (09:08 +0000)]
Update.

* sysdeps/ieee754/ldbl-128/e_atanhl.c: New file, contributed by
Stephen L Moshier.

23 years agoUpdate.
Andreas Jaeger [Mon, 30 Jul 2001 07:51:34 +0000 (07:51 +0000)]
Update.

2001-07-30  Andreas Jaeger  <aj@suse.de>

* posix/regex.c: Declare wcs functions only if compiling with
MBS_SUPPORT.
Don't use #elif for traditional C.

23 years ago Declare wcs functions only if compiling with MBS_SUPPORT. Don't use #elif for tradi...
Andreas Jaeger [Mon, 30 Jul 2001 07:51:25 +0000 (07:51 +0000)]
 Declare wcs functions only if compiling with MBS_SUPPORT.  Don't use #elif for traditional C.

23 years ago* sysdeps/mach/hurd/recvmsg.c: New file. * sysdeps/mach/hurd/sendmsg.c: New file.
Mark Kettenis [Sun, 29 Jul 2001 12:26:40 +0000 (12:26 +0000)]
* sysdeps/mach/hurd/recvmsg.c: New file. * sysdeps/mach/hurd/sendmsg.c: New file.

2001-07-29  Mark Kettenis  <kettenis@gnu.org>

* sysdeps/mach/hurd/recvmsg.c: New file.
* sysdeps/mach/hurd/sendmsg.c: New file.

23 years agoUpdate.
Ulrich Drepper [Sat, 28 Jul 2001 06:10:44 +0000 (06:10 +0000)]
Update.

* sysdeps/mips/Dist: Remove non-existing files.
* sysdeps/mips/mips64/Dist: Likewise.
* sysdeps/mips/mipsel/Dist: Removed.
* iconv/Makefile (distribute): Add strtab.c and iconvconfig.h.
* sysdeps/generic/Dist: Add bits/link.h.
* sysdeps/unix/sysv/linux/m68k/Dist: Add sys/procfs.h.
* sysdeps/unix/sysv/aix/Dist: Add dl-support.c, dl-addr.c, and
dl-error.c.
* sysdeps/ia64/Dist: Add bits/link.h.

23 years agoUpdate.
Ulrich Drepper [Sat, 28 Jul 2001 05:50:21 +0000 (05:50 +0000)]
Update.

* version.h (VERSION): Bump to 2.2.4.

23 years agoUpdate.
Ulrich Drepper [Fri, 27 Jul 2001 19:09:19 +0000 (19:09 +0000)]
Update.

* libio/vasprintf.c (_IO_vasprintf): Don't copy uninitialized byte
from stream buffer to result buffer.
Reported by Michael Meeks <michael@ximian.com>.

23 years agoUpdate.
Ulrich Drepper [Fri, 27 Jul 2001 18:09:56 +0000 (18:09 +0000)]
Update.

* libio/Makefile: Add rules to check output of tst-fopenloc and
for memory leaks.
* libio/tst-fopenloc.c: New file.

23 years agoUpdate.
Ulrich Drepper [Fri, 27 Jul 2001 17:38:40 +0000 (17:38 +0000)]
Update.

* locale/findlocale.c (_nl_find_locale): Use __gconv_compare_alias

23 years agoUpdate.
Ulrich Drepper [Fri, 27 Jul 2001 17:34:53 +0000 (17:34 +0000)]
Update.

2001-07-27  Ulrich Drepper  <drepper@redhat.com>

* iconv/gconv_cache.c (__gconv_compare_alias_cache): New function.
* iconv/gconv_int.h: Add prototype for __gconv_compare_alias_cache.
* iconv/gconv_charset.h: Replace __gconv_lookup_alias prototype with
__gconv_compare_alias prototype.
* iconv/gconv_db.c (__gconv_lookup_alias): Removed.
(__gconv_compare_alias): New function.
* locale/findlocale.c (_nl_find_locale): Ise __gconv_compare_alias
instead of calling __gconv_lookup_alias twice and compare here.

23 years ago(__gconv_compare_alias_cache): New function.
Ulrich Drepper [Fri, 27 Jul 2001 17:26:26 +0000 (17:26 +0000)]
(__gconv_compare_alias_cache): New function.

23 years ago* hurd/hurdsig.c (_hurd_internal_post_signal): Fix handling of SA_RESETHAND and SA_NO...
Mark Kettenis [Fri, 27 Jul 2001 08:50:55 +0000 (08:50 +0000)]
* hurd/hurdsig.c (_hurd_internal_post_signal): Fix handling of SA_RESETHAND and SA_NODEFER.

2001-07-26  Mark Kettenis  <kettenis@gnu.org>

* hurd/hurdsig.c (_hurd_internal_post_signal): Fix handling of
SA_RESETHAND and SA_NODEFER.

23 years agoUpdate.
Ulrich Drepper [Fri, 27 Jul 2001 08:29:06 +0000 (08:29 +0000)]
Update.

* libio/fileops.c (_IO_new_file_fopen): Correctly locate ccs=
substring.  Don't handle ccs= if no descriptor was allocated.
Normalize codeset name before calling __wcsmbs_named_conv.
Initialize transliteration elements.  Free step data structure.
* libio/iofclose.c (_IO_new_fclose): Correct freeing of the step data.
* libio/iofwide.c (__libio_translit): Renamed from libio_translit
and made public.  Various little cleanup changes.
* wcsmbs/wcsmbsload.h (struct gconv_fcts): Add towc_nsteps and
tomb_nsteps member.
* wcsmbs/wcsmbsload.c: Add some casts to avoid warnings.
(__wcsmbs_gconv_fcts): Initialize towc_nsteps and tomb_nsteps member.
(getfct): Take additional parameter with pointer to variable where the
number of steps is stored in.  Disable code which allows to use more
than one step for now.  Adjust all callers.
(free_mem): New function.  Frees data associated with currently
selected converters.

23 years agoUpdate.
Ulrich Drepper [Fri, 27 Jul 2001 07:33:58 +0000 (07:33 +0000)]
Update.

2001-07-27  Ulrich Drepper  <drepper@redhat.com>

* malloc/mtrace.pl: Extract addresses from DSOs.

2001-07-26  Ulrich Drepper  <drepper@redhat.com>

* malloc/mcheck.c (checkhdr): Disable mcheck before reporting an
error.  Don't run any tests if mcheck is disabled.

* elf/dl-support.c (_dl_important_hwcaps): Avoid using malloc
early in the program.

>>>>>>> 1.5525

23 years ago(checkhdr): Disable mcheck before reporting an error. Don't run any tests if mcheck...
Ulrich Drepper [Fri, 27 Jul 2001 05:01:11 +0000 (05:01 +0000)]
(checkhdr): Disable mcheck before reporting an error.  Don't run any tests if mcheck is disabled.

23 years agoUpdate.
Andreas Jaeger [Fri, 27 Jul 2001 04:36:09 +0000 (04:36 +0000)]
Update.

2001-07-27  Andreas Jaeger  <aj@suse.de>

* sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.h (SC_GPRS): Fix
value following change from 2001-05-30.

* sysdeps/s390/s390-64/bits/setjmp.h (_JMPBUF_UNWINDS): Follow
rename change from 2001-07-12 for __jmp_buf.
Patches by Ulrich Weigand <Ulrich.Weigand@de.ibm.com>.

23 years ago(SC_GPRS): Fix value following change from 2001-05-30.
Andreas Jaeger [Fri, 27 Jul 2001 04:35:37 +0000 (04:35 +0000)]
(SC_GPRS): Fix value following change from 2001-05-30.

23 years ago(_dl_important_hwcaps): Avoid using malloc early in the program.
Ulrich Drepper [Fri, 27 Jul 2001 03:48:11 +0000 (03:48 +0000)]
(_dl_important_hwcaps): Avoid using malloc early in the program.

23 years ago* sysdeps/generic/bits/termios.h (EXTA, EXTB): Make these conditional
Roland McGrath [Thu, 26 Jul 2001 21:27:36 +0000 (21:27 +0000)]
* sysdeps/generic/bits/termios.h (EXTA, EXTB): Make these conditional

on __USE_MISC rather than __USE_BSD.
(B57600, B115200, B230400, B460800, B500000, B576000, B921600,
B1000000B1152000B1500000B2000000B2500000B3000000,
B3500000B4000000): New macros.
* sysdeps/generic/tcsetattr.c (bad_speed): Accept those values.
* termios/cfsetspeed.c (speeds): Likewise.

* csu/gmon-start.c: Use ENTRY_POINT_DECL if defined instead of a

23 years ago2001-07-26 Roland McGrath <roland@frob.com>
Roland McGrath [Thu, 26 Jul 2001 21:23:31 +0000 (21:23 +0000)]
2001-07-26  Roland McGrath  <roland@frob.com>

* sysdeps/generic/bits/termios.h (EXTA, EXTB): Make these conditional
on __USE_MISC rather than __USE_BSD.
(B57600, B115200, B230400, B460800, B500000, B576000, B921600,
B1000000B1152000B1500000B2000000B2500000B3000000,
B3500000B4000000): New macros.
* sysdeps/generic/tcsetattr.c (bad_speed): Accept those values.
* termios/cfsetspeed.c (speeds): Likewise.

23 years agoFix typos.
Andreas Jaeger [Thu, 26 Jul 2001 14:41:27 +0000 (14:41 +0000)]
Fix typos.

23 years agoFormatting.
Ulrich Drepper [Thu, 26 Jul 2001 01:41:39 +0000 (01:41 +0000)]
Formatting.

* COPYING: Fix Y2k bug in sample copyright notices.
* manual/lesser.texi: Renamed from manual/lgpl.texinfo,
as fsf.org uses the name "lesser.texi".

23 years agoUpdate.
Ulrich Drepper [Thu, 26 Jul 2001 01:39:53 +0000 (01:39 +0000)]
Update.

2001-07-26  kaz Kojima  <kkojima@rr.iij4u.or.jp>

* sysdeps/sh/dl-machine.h (elf_machine_load_address): Don't use
multi-line strings.
(FUN_ADDR, FGR_SAVE, ELF_MACHINE_RUNTIME_TRAMPOLINE): Likewise.
(elf_machine_rela): Handle unaligned relocation.

23 years agoUpdate.
Ulrich Drepper [Thu, 26 Jul 2001 00:27:15 +0000 (00:27 +0000)]
Update.

2001-06-07  David Mosberger  <davidm@hpl.hp.com>

* sysdeps/ia64/dl-symaddr.c (_dl_symbol_address): Update call to
__ia64_make_fptr() for new interface.
(_dl_function_address): Remove.

* sysdeps/ia64/dl-machine.h (IA64_BOOT_FPTR_TABLE_LEN): Rename
from IA64_BOOT_FPTR_SIZE and reduce its value from 256 to 200.
(struct ia64_fdesc): Rename from struct ia64_fptr and drop "next"
pointer.  Rename member "func" to "ip".
(struct ia64_fdesc_table): New type.
(__ia64_make_fptr): Change prototype.
(__ia64_init_bootstrap_fdesc_table): New function.
(ELF_MACHINE_BEFORE_RTLD_RELOC): New macro.
(__boot_ldso_fptr): Removed.
(__fptr_next): Removed.
(__fptr_root): Removed.
(__fptr_count): Removed.
(TRAMPOLINE_TEMPLATE): Fix typo in comment.  Don't use multi-line
strings to avoid warning from gcc3.
(RTLD_START): Don't use multi-line strings.
(ELF_MACHINE_START_ADDRESS): Use DL_STATIC_FUNCTION_ADDRESS.
(elf_machine_fixup_plt): Update the code entry point in the
function descriptor through a "volatile" pointer to ensure proper
write ordering.
(elf_machine_rela): Simplify handling of FPTR relocs: always call
__ia64_make_fptr().

* sysdeps/ia64/dl-lookupcfg.h (DL_AUTO_FUNCTION_ADDRESS): New macro.
(DL_STATIC_FUNCTION_ADDRESS): Likewise.
(DL_DT_INIT_ADDRESS): Use DL_AUTO_FUNCTION_ADDRESS.
(DL_DT_FINI_ADDRESS): Likewise.

* sysdeps/ia64/dl-fptr.c: Rewrite for better scalability and to
avoid deadlocks.

* include/link.h: Add member machine specific "l_mach" member to
link_map.

* sysdeps/generic/bits/link.h: New file.
* sysdeps/ia64/bits/link.h: Likewise.

* elf/rtld.c (_dl_start): Fix typo in comment.
(_dl_start_final): Copy new "l_mach" member from temporary to
final bootstrap map.

23 years agoUpdate.
Ulrich Drepper [Wed, 25 Jul 2001 22:15:17 +0000 (22:15 +0000)]
Update.

2001-07-25  Ulrich Drepper  <drepper@redhat.com>

* csu/gmon-start.c: Use ENTRY_POINT_DECL is defined instead of a
declaration using ENTRY_POINT.
* sysdeps/ia64/elf/entry.h (ENTRY_POINT_DECL): New definition.

2001-07-25  H.J. Lu  <hjl@gnu.org>

* csu/gmon-start.c: Include <entry.h>
(_start): Replaced with ENTRY_POINT.

23 years agoInclude <entry.h> (_start): Replaced with ENTRY_POINT.
Ulrich Drepper [Wed, 25 Jul 2001 22:04:55 +0000 (22:04 +0000)]
Include <entry.h> (_start): Replaced with ENTRY_POINT.

23 years ago* sysdeps/unix/bsd/bsd4.4/bits/socket.h: New file.
Mark Kettenis [Wed, 25 Jul 2001 21:42:24 +0000 (21:42 +0000)]
* sysdeps/unix/bsd/bsd4.4/bits/socket.h: New file.

2001-07-25  Mark Kettenis  <kettenis@gnu.org>

* sysdeps/unix/bsd/bsd4.4/bits/socket.h: New file.

23 years agoUpdate.
Ulrich Drepper [Wed, 25 Jul 2001 21:30:39 +0000 (21:30 +0000)]
Update.

(write_output): Don't overwrite old cache file until we know we
have a new one.
* iconv/Makefile (install-sbin): Add iconvconfig.
* iconv/gconv_int.h: Add prototype for __gconv_release_cache.

23 years agoUpdate.
Ulrich Drepper [Wed, 25 Jul 2001 21:00:58 +0000 (21:00 +0000)]
Update.

* iconv/iconvconfig.c (main): Don't write an output file if we
have seen an error.

23 years agoUpdate.
Ulrich Drepper [Wed, 25 Jul 2001 20:53:07 +0000 (20:53 +0000)]
Update.

2001-07-25  Ulrich Drepper  <drepper@redhat.com>

* iconv/Makefile (install-bin): Add iconvconfig.

23 years agoUpdate.
Ulrich Drepper [Wed, 25 Jul 2001 20:47:02 +0000 (20:47 +0000)]
Update.

2001-07-25  Jakub Jelinek  <jakub@redhat.com>

* elf/Makefile (routines): Add dl-iteratephdr and
dl-iteratephdr-static.
(elide-routines.os): Add dl-iteratephdr-static.
* elf/dl-iteratephdr.c: New file.
* elf/link.h (struct dl_phdr_info): New definition.
(dl_iterate_phdr): New prototype.
* elf/Versions (dl_iterate_phdr): Add at GLIBC_2.2.4.
* include/link.h (struct dl_phdr_info): New definition.
(dl_iterate_phdr, __dl_iterate_phdr): New prototypes.
* sysdeps/generic/dl-iteratephdr-static.c: New file.
* sysdeps/unix/sysv/linux/ia64/dl-iteratephdr-static.c: New file.

* hurd/hurdsig.c (_hurdsig_init): Fix incorrect initialization
of pending signals.

23 years ago(routines): Add dl-iteratephdr and dl-iteratephdr-static.
Ulrich Drepper [Wed, 25 Jul 2001 20:42:02 +0000 (20:42 +0000)]
(routines): Add dl-iteratephdr and dl-iteratephdr-static.

23 years ago2001-07-24 Igor Khavkine <i_khavki@alcor.concordia.ca>
Roland McGrath [Wed, 25 Jul 2001 08:37:28 +0000 (08:37 +0000)]
2001-07-24  Igor Khavkine  <i_khavki@alcor.concordia.ca>

        * hurd/hurdsig.c (_hurdsig_init): Fix incorrect initialization
        of pending signals.

23 years agoUpdate.
Andreas Jaeger [Wed, 25 Jul 2001 06:37:13 +0000 (06:37 +0000)]
Update.

2001-06-22  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/powerpc/dl-machine.c (__elf_preferred_address): Prefer
gaps below main executable.

23 years ago(__elf_preferred_address): Prefer gaps below main executable.
Andreas Jaeger [Wed, 25 Jul 2001 06:36:52 +0000 (06:36 +0000)]
(__elf_preferred_address): Prefer gaps below main executable.

23 years agoUpdate.
Ulrich Drepper [Tue, 24 Jul 2001 22:16:09 +0000 (22:16 +0000)]
Update.

2001-07-22  Bruno Haible  <haible@clisp.cons.org>

* intl/libintl.h (ngettext, dngettext, dcngettext): Use both msgid1
and msgid2 for printf format argument checking.

23 years agoUpdate.
Ulrich Drepper [Tue, 24 Jul 2001 21:30:18 +0000 (21:30 +0000)]
Update.

* iconv/gconv_cache.c (find_module): Don't allocate room for the
filename.  Use alloca, we don't need it beyond this function.
(__gconv_release_cache): New function.
* iconv/gconv_db.c (__gconv_close_transform): Call
__gconv_release_cache after the steps are handled.
* iconv/gconv_dl.c (__gconv_find_shlib): Allocate file name in the
record as well.
* iconv/gconv_int.h: Add prototype fpr __gconv_release_cache.

23 years agoUpdate.
Ulrich Drepper [Tue, 24 Jul 2001 18:51:59 +0000 (18:51 +0000)]
Update.

2001-07-24  Ulrich Drepper  <drepper@redhat.com>

* iconv/gconv_cache.c (__gconv_lookup_cache): Catch one more
boundary case and reject it.

* manual/examples/longopt.c (main): Fix which options take arguments.

23 years ago(__gconv_lookup_cache): Catch one more boundary case and reject it.
Ulrich Drepper [Tue, 24 Jul 2001 18:49:46 +0000 (18:49 +0000)]
(__gconv_lookup_cache): Catch one more boundary case and reject it.

23 years agoUpdate.
Andreas Jaeger [Tue, 24 Jul 2001 16:29:28 +0000 (16:29 +0000)]
Update.

2001-07-24  Andreas Jaeger  <aj@suse.de>

* manual/examples/longopt.c (main): Fix which options take
arguments.

23 years ago(main): Fix which options take arguments.
Andreas Jaeger [Tue, 24 Jul 2001 16:28:48 +0000 (16:28 +0000)]
(main): Fix which options take arguments.

23 years agoUpdate.
Ulrich Drepper [Tue, 24 Jul 2001 08:10:29 +0000 (08:10 +0000)]
Update.

2001-07-24  Ulrich Drepper  <drepper@redhat.com>

* iconvdata/Makefile: Add dependencies for tst-loading test.

* sunrpc/svc_tcp.c (svctcp_rendezvous_abort): New function.
* sunrpc/svc_unix.c (svcunix_rendezvous_abort): New function.

23 years agoUpdate.
Ulrich Drepper [Tue, 24 Jul 2001 07:56:20 +0000 (07:56 +0000)]
Update.

23 years agoUndo last change. Remove debugging output.
Ulrich Drepper [Tue, 24 Jul 2001 07:54:33 +0000 (07:54 +0000)]
Undo last change.  Remove debugging output.

23 years agoUpdate.
Andreas Jaeger [Tue, 24 Jul 2001 07:28:54 +0000 (07:28 +0000)]
Update.

2001-07-24  Andreas Jaeger  <aj@suse.de>

* iconv/iconvconfig.c (name_insert): Make static to avoid warning.

* iconv/gconv_cache.c: Include stdio.h for puts declaration.

23 years ago* iconv/iconvconfig.c (name_insert): Make static to avoid warning.
Andreas Jaeger [Tue, 24 Jul 2001 07:28:43 +0000 (07:28 +0000)]
* iconv/iconvconfig.c (name_insert): Make static to avoid warning.

* iconv/gconv_cache.c: Include stdio.h for puts declaration.

23 years agoUpdate.
Ulrich Drepper [Tue, 24 Jul 2001 07:01:51 +0000 (07:01 +0000)]
Update.

* locale/programs/locale.c (write_locales): Disable implicit
locking for the stream.  Use feof_unlocked instead of feof.

23 years agoUpdate.
Ulrich Drepper [Tue, 24 Jul 2001 06:50:41 +0000 (06:50 +0000)]
Update.

* sysdeps/unix/sysv/linux/i386/makecontext.S: Initialize %fs, %gs,
and floating-point status as well.

23 years agoInitialize %fs, %gs, and floating-point status as well.
Ulrich Drepper [Tue, 24 Jul 2001 06:48:43 +0000 (06:48 +0000)]
Initialize %fs, %gs, and floating-point status as well.

23 years ago2001-07-24 Igor Khavkine <i_khavki@alcor.concordia.ca>
Roland McGrath [Tue, 24 Jul 2001 04:59:07 +0000 (04:59 +0000)]
2001-07-24  Igor Khavkine  <i_khavki@alcor.concordia.ca>

        * hurd/hurdsig.c (_hurdsig_init): Fix incorrect initialization
        of pending signals.

23 years agoUpdate.
Ulrich Drepper [Tue, 24 Jul 2001 04:22:05 +0000 (04:22 +0000)]
Update.

* libio/iofclose.c (_IO_new_fclose): Unlink descriptor first to
avoid deadlock.
* libio/oldiofclose.c (_IO_old_fclose): Likewise.
* libio/genops.c (_IO_un_link): Get stream lock since it's not
always done in the caller.
(_IO_link_in): Likewise.

23 years agoUpdate.
Ulrich Drepper [Tue, 24 Jul 2001 01:33:57 +0000 (01:33 +0000)]
Update.

* libio/genops.c (_IO_list_all_stamp): New variable.
(_IO_un_link): Bump _IO_list_all_stamp after removing from list.
(_IO_link): Likewise for insertion.
(flush_cleanup): New function.
(_IO_flush_all): Get list_all_lock and all individual locks for the
streams.  Detect and handle changes to the _IO_list_all list.
(_IO_flush_all_linebuffered): Likewise.
* sysdeps/generic/bits/stdio-lock.h: Define
_IO_cleanup_region_start_noarg.
* sysdeps/mach/hurd/bits/stdio-lock.c: Likewise.

23 years agoUpdate.
Ulrich Drepper [Mon, 23 Jul 2001 23:45:03 +0000 (23:45 +0000)]
Update.

* stdio-common/printf.h: Fix typo in comment.

23 years agoUpdate.
Ulrich Drepper [Mon, 23 Jul 2001 23:01:08 +0000 (23:01 +0000)]
Update.

2001-07-23  Ulrich Drepper  <drepper@redhat.com>

* iconv/gconv_cache.c (__gconv_lookup_cache): Handle encoding from
and to INTERNAL.
* iconv/iconvconfig.c: Create a special record for the INTERNAL
encoding name in the output file.

23 years agoUpdate.
Ulrich Drepper [Mon, 23 Jul 2001 18:14:55 +0000 (18:14 +0000)]
Update.

2001-07-23  Jakub Jelinek  <jakub@redhat.com>

* sunrpc/svc_tcp.c (svctcp_rendezvous_abort): New.
(svctcp_rendezvous_op): Use it.
* sunrpc/svc_unix.c (svcunix_rendezvous_abort): New.
(svcunix_rendezvous_op): Use it.

2001-07-23  Andreas Schwab  <schwab@suse.de>

* math/Makefile (CPPFLAGS-test-ifloat.c, CPPFLAGS-test-idouble.c,
CPPFLAGS-test-ildoubl.c): Renamed from CFLAGS-*.
(math-CPPFLAGS): Set this instead of CPPFLAGS.

23 years agoUpdate.
Ulrich Drepper [Mon, 23 Jul 2001 17:14:27 +0000 (17:14 +0000)]
Update.

2001-07-23  Ulrich Drepper  <drepper@redhat.com>

* elf/elf.h: Add more definitions from Sun's latest version.

2001-07-23  Stephen L Moshier  <moshier@mediaone.net>

23 years agoAdd more definitions from Sun's latest version.
Ulrich Drepper [Mon, 23 Jul 2001 17:11:21 +0000 (17:11 +0000)]
Add more definitions from Sun's latest version.

23 years agoUpdate.
Andreas Jaeger [Mon, 23 Jul 2001 13:23:30 +0000 (13:23 +0000)]
Update.

2001-07-23  Stephen L Moshier <moshier@mediaone.net>

* sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Return proper
sign for 0 input and set divide by zero exception for -1 input.
Return argument if NaN or infinity.

23 years agoUpdate.
Andreas Jaeger [Mon, 23 Jul 2001 09:19:11 +0000 (09:19 +0000)]
Update.

2001-07-23  Andreas Jaeger  <aj@suse.de>

* sysdeps/sparc/sparc64/fpu/libm-test-ulps: Add some deltas.

23 years agoAdd some deltas.
Andreas Jaeger [Mon, 23 Jul 2001 09:17:33 +0000 (09:17 +0000)]
Add some deltas.

23 years agoUpdate.
Ulrich Drepper [Mon, 23 Jul 2001 09:11:23 +0000 (09:11 +0000)]
Update.

2001-07-23  Ulrich Drepper  <drepper@redhat.com>

* iconv/gconv_cache.c (__gconv_lookup_cache): Select correct
module for conversion direction.

2001-07-23  Stephen L Moshier  <moshier@mediaone.net>

23 years ago(__gconv_lookup_cache): Select correct module for conversion direction.
Ulrich Drepper [Mon, 23 Jul 2001 09:10:36 +0000 (09:10 +0000)]
(__gconv_lookup_cache): Select correct module for conversion direction.

23 years agoUpdate.
Andreas Jaeger [Mon, 23 Jul 2001 08:54:31 +0000 (08:54 +0000)]
Update.

2001-07-23  Stephen L Moshier <moshier@mediaone.net>

* sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Return proper
sign for 0 input.  Return NaN with no exception for NaN input.

23 years agoUpdate.
Andreas Jaeger [Mon, 23 Jul 2001 08:40:22 +0000 (08:40 +0000)]
Update.

Add prototypes to avoid warnings.

23 years agoAdd prototypes to avoid warnings.
Andreas Jaeger [Mon, 23 Jul 2001 08:39:51 +0000 (08:39 +0000)]
Add prototypes to avoid warnings.

23 years agoUpdate.
Ulrich Drepper [Mon, 23 Jul 2001 08:31:12 +0000 (08:31 +0000)]
Update.

2001-07-23  Ulrich Drepper  <drepper@redhat.com>

* iconv/gconv_builtin.h: ISO-106464/UTF-8/ transformation must
really be an alias.

23 years agoISO-106464/UTF-8/ transformation must really be an alias.
Ulrich Drepper [Mon, 23 Jul 2001 08:30:03 +0000 (08:30 +0000)]
ISO-106464/UTF-8/ transformation must really be an alias.

23 years agoUpdate.
Andreas Jaeger [Mon, 23 Jul 2001 07:55:20 +0000 (07:55 +0000)]
Update.

2001-07-23  Andreas Jaeger  <aj@suse.de>

* iconv/iconvconfig.c: Include <sys/cdefs.h> and use
__attribute_malloc__ for older GCC versions.
* iconv/strtab.c: Likewise.

23 years ago* iconv/iconvconfig.c: Include <sys/cdefs.h> and use
Andreas Jaeger [Mon, 23 Jul 2001 07:55:03 +0000 (07:55 +0000)]
* iconv/iconvconfig.c: Include <sys/cdefs.h> and use

__attribute_malloc__ for older GCC versions.
* iconv/strtab.c: Likewise.

23 years agoMust flee the whitespace police.
Roland McGrath [Mon, 23 Jul 2001 07:36:52 +0000 (07:36 +0000)]
Must flee the whitespace police.

and SA_NODEFER options.  Spurred to action by Igor Khavkine.
* sysdeps/generic/bits/sigaction.h (struct sigaction): Use a union

23 years ago* hurd/hurdsig.c (_hurd_internal_post_signal): Support SA_RESETHAND
Roland McGrath [Mon, 23 Jul 2001 07:20:28 +0000 (07:20 +0000)]
* hurd/hurdsig.c (_hurd_internal_post_signal): Support SA_RESETHAND

and SA_NODEFER options.  Spurred to action by Igor Khavkine.

* sysdeps/generic/bits/sigaction.h [__USE_UNIX98 || __USE_MISC]
(SA_NODEFER, SA_RESETHAND): New macros, same bit values as FreeBSD.
[__USE_MISC] (SA_INTERRUPT): New macro, value 0.
[__USE_MISC] (SA_NOMASK, SA_ONESHOT, SA_STACK): New macros, aliases
as in other sysdeps versions of this file.

        * sysdeps/generic/bits/sigaction.h (struct sigaction): Use a union
and provide sa_handler and sa_sigaction member names as macros, as
done in other sysdeps versions of this file.
Suggested by Igor Khavkine <i_khavki@alcor.concordia.ca>.

23 years ago2001-07-22 Roland McGrath <roland@frob.com>
Roland McGrath [Mon, 23 Jul 2001 07:19:20 +0000 (07:19 +0000)]
2001-07-22  Roland McGrath  <roland@frob.com>

* hurd/hurdsig.c (_hurd_internal_post_signal): Support SA_RESETHAND
and SA_NODEFER options.  Spurred to action by Igor Khavkine.

23 years agoUpdate.
Ulrich Drepper [Mon, 23 Jul 2001 07:07:11 +0000 (07:07 +0000)]
Update.

2001-07-23  Ulrich Drepper  <drepper@redhat.com>

* posix/regex.c: Revamp memory allocation for WCHAR functions to
not use too much stack.

23 years agoUpdate.
Ulrich Drepper [Mon, 23 Jul 2001 04:11:06 +0000 (04:11 +0000)]
Update.

* iconv/iconvconfig.c (write_output): Update comment explaining
output format.

23 years agoUpdate.
Ulrich Drepper [Mon, 23 Jul 2001 01:13:01 +0000 (01:13 +0000)]
Update.

* elf/dl-load.c (_dl_dst_count): In SUID binaries expand $ORIGIN
if it is alone.
(_dl_dst_substitute): Likewise.

23 years agoUpdate.
Ulrich Drepper [Sun, 22 Jul 2001 23:41:12 +0000 (23:41 +0000)]
Update.

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

* sysdeps/i386/useldt.h: Fix typo in ARCH_STACK_MAX_SIZE comment.

* sysdeps/ia64/pt-machine.h (FLOATING_STACKS): Define.
(ARCH_STACK_MAX_SIZE): Define.
* manager.c (pthread_allocate_stack): Handle FLOATING_STACKS with
NEED_SEPARATE_REGISTER_STACK.

23 years agoUpdate.
Ulrich Drepper [Sun, 22 Jul 2001 22:07:20 +0000 (22:07 +0000)]
Update.

* iconv/iconvconfig.c: Remove --verbose option.  Comment out
mcheck_verbose call.

23 years agoUpdate.
Ulrich Drepper [Sun, 22 Jul 2001 21:48:51 +0000 (21:48 +0000)]
Update.

2001-07-22  Ulrich Drepper  <drepper@redhat.com>

* iconv/strtab.c (morememory): Fix little memory handling problem.

23 years agoFix redefinition problem.
Ulrich Drepper [Sun, 22 Jul 2001 18:23:51 +0000 (18:23 +0000)]
Fix redefinition problem.

23 years ago* sysdeps/unix/sysv/linux/m68k/sysdep.h (INLINE_SYSCALL): Don't
Andreas Schwab [Sun, 22 Jul 2001 18:18:58 +0000 (18:18 +0000)]
* sysdeps/unix/sysv/linux/m68k/sysdep.h (INLINE_SYSCALL): Don't

mark asm input operand as clobbered.
* sysdeps/unix/sysv/linux/m68k/brk.c (__brk): Likewise.

23 years ago(INLINE_SYSCALL): Don't mark asm input operand as clobbered.
Andreas Schwab [Sun, 22 Jul 2001 18:18:34 +0000 (18:18 +0000)]
(INLINE_SYSCALL): Don't mark asm input operand as clobbered.

23 years agoUpdate.
Ulrich Drepper [Sun, 22 Jul 2001 17:47:08 +0000 (17:47 +0000)]
Update.

2001-07-22  Ulrich Drepper  <drepper@redhat.com>

* iconv/gconv_builtin.c (struct builtin_map): Remove init and end
elements.
(BUILTIN_TRANSFORMATION): Remove Init and End parameters.
(__gconv_get_builtin_trans): Initialize __init_fct and __end_fct to
NULL.
* iconv/gconv_builtin.h: Remove NULL parameters for Init and End in
all BUILTIN_TRANSFORMATION calls.
* iconv/gconv_conf.c (BUILTIN_TRANSFORMATION): Remove Init and End
parameters.
* iconv/gconv_simple.c: Likewise.
* iconv/gconv_db.c (gen_steps): Internal converters don't have
initializers, move the code accordingly.

* iconv/gconv_conf.c (__gconv_read_conf): Don't read configuration
file if STATIC_GCONV is defined.

* iconv/gconv_conf.c (__gconv_path_envvar): New global variable.
(__gconv_get_path): Use it instead of call getenv.
(__gconv_read_conf): First see whether cache can be used.  If yes,
don't do any work here.
* iconv/gconv_db.c (__gconv_release_step): Renamed from release_step
and exported.  Change callers.
(__gconv_find_transform): First call __gconv_lookup_cache and only
continue if it signals no cache available.  Remove some unnecessary
tests.
* iconv/gconv_int.h: Declare __gconv_path_envvar, __gconv_lookup_cache,
__gconv_release_step, and __gconv_loaded_cache.
* iconv/gconv_cache.c: New file.
* iconv/iconvconfig.c: New file.
* iconv/iconvconfig.h: New file.
* iconv/strtab.c: New file.
* iconv/Makefile: Add rules to build new files and programs.

23 years ago(struct builtin_map): Remove init and end elements. (BUILTIN_TRANSFORMATION): Remove...
Ulrich Drepper [Sun, 22 Jul 2001 17:29:40 +0000 (17:29 +0000)]
(struct builtin_map): Remove init and end elements. (BUILTIN_TRANSFORMATION): Remove Init and End parameters. (__gconv_get_builtin_trans): Initialize __init_fct and __end_fct to NULL.

23 years ago2001-07-20 Roland McGrath <roland@frob.com>
Roland McGrath [Sat, 21 Jul 2001 06:02:09 +0000 (06:02 +0000)]
2001-07-20  Roland McGrath  <roland@frob.com>

* sysdeps/mach/hurd/device-nrs.h: Comment fix, typo fix.

23 years ago* sysdeps/generic/device-nrs.h (DEV_TTY_P): Change argument type
Roland McGrath [Sat, 21 Jul 2001 05:13:40 +0000 (05:13 +0000)]
* sysdeps/generic/device-nrs.h (DEV_TTY_P): Change argument type

from `dev_t' (st_rdev value) `const struct stat *'.
* sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Likewise.
* libio/filedoalloc.c (_IO_file_doallocate): Change caller.
* sysdeps/mach/hurd/device-nrs.h: New file.

23 years ago* libio/stdio_ext.h: Moved to ...
Roland McGrath [Sat, 21 Jul 2001 05:10:24 +0000 (05:10 +0000)]
* libio/stdio_ext.h: Moved to ...

* stdio-common/stdio_ext.h: ... here.
* libio/Makefile (headers): Move stdio_ext.h from here ...
* stdio-common/Makefile (headers): ... to here.
* include/stdio_ext.h: New file.
* stdio/Makefile (routines): Add the stdio_ext.h functions here.
* stdio/Versions (GLIBC_2.2.4): Export the stdio_ext.h functions.
* stdio/__flbf.c: New file.
* stdio/__fbufsize.c: New file.
* stdio/__fpending.c: New file.
* stdio/__fpurge.c: New file.
* stdio/__freadable.c: New file.
* stdio/__freading.c: New file.
* stdio/__fsetlocking.c: New file.
* stdio/__fwritable.c: New file.
* stdio/__fwriting.c: New file.

23 years ago2001-07-20 Roland McGrath <roland@frob.com>
Roland McGrath [Sat, 21 Jul 2001 05:09:59 +0000 (05:09 +0000)]
2001-07-20  Roland McGrath  <roland@frob.com>

* libio/stdio_ext.h: Moved to ...
* stdio-common/stdio_ext.h: ... here.
* libio/Makefile (headers): Move stdio_ext.h from here ...
* stdio-common/Makefile (headers): ... to here.
* include/stdio_ext.h: New file.
* stdio/Makefile (routines): Add the stdio_ext.h functions here.
* stdio/Versions (GLIBC_2.2.4): Export the stdio_ext.h functions.
* stdio/__flbf.c: New file.
* stdio/__fbufsize.c: New file.
* stdio/__fpending.c: New file.
* stdio/__fpurge.c: New file.
* stdio/__freadable.c: New file.
* stdio/__freading.c: New file.
* stdio/__fsetlocking.c: New file.
* stdio/__fwritable.c: New file.
* stdio/__fwriting.c: New file.

23 years agoUpdate.
Ulrich Drepper [Fri, 20 Jul 2001 18:02:01 +0000 (18:02 +0000)]
Update.

2001-07-20  Ulrich Drepper  <drepper@redhat.com>
    Andreas Jaeger  <aj@suse.de>

* elf/ldconfig.c (search_dir): Avoid use of uninitialized memory.
Add a few __builtin_expect to mark unlikely error cases.

23 years ago(search_dir): Avoid use of uninitialized memory. Add a few __builtin_expect to mark...
Ulrich Drepper [Fri, 20 Jul 2001 17:51:33 +0000 (17:51 +0000)]
(search_dir): Avoid use of uninitialized memory.  Add a few __builtin_expect to mark unlikely error cases.

23 years agoUpdate.
Andreas Jaeger [Fri, 20 Jul 2001 06:05:49 +0000 (06:05 +0000)]
Update.

2001-07-20  Andreas Jaeger  <aj@suse.de>

* sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Synch with kernel.
Patch by Daniel Jacobowitz <dan@debian.org>.