platform/upstream/glibc.git
22 years agoUpdate.
Ulrich Drepper [Thu, 6 Dec 2001 07:59:42 +0000 (07:59 +0000)]
Update.

* string/tester.c: Add tests for strcasecmp and strncasecmp.
* Versions.def (libc): Add GCC_3.0.
__deregister_frame_info_bases, _Unwind_Find_FDE): Add for GCC_3.0.

22 years agoUpdate.
Ulrich Drepper [Thu, 6 Dec 2001 05:11:32 +0000 (05:11 +0000)]
Update.

* sysdeps/generic/strncase.c: Likewise.

22 years agoUpdate.
Ulrich Drepper [Thu, 6 Dec 2001 04:44:33 +0000 (04:44 +0000)]
Update.

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

* sysdeps/generic/strcasecmp.c (__strcasecmp): Little performance
patch.

22 years ago(__strcasecmp): Little performance patch.
Ulrich Drepper [Thu, 6 Dec 2001 01:22:25 +0000 (01:22 +0000)]
(__strcasecmp): Little performance patch.

22 years ago* scripts/cpp: Test the exit status from 'type', not 'awk'.
Geoff Keating [Thu, 6 Dec 2001 01:21:03 +0000 (01:21 +0000)]
* scripts/cpp: Test the exit status from 'type', not 'awk'.

* scripts/cpp: Test the exit status from 'type', not 'awk'.

22 years ago* sysdeps/powerpc/__longjmp.S: Don't restore FP registers.
Geoff Keating [Thu, 6 Dec 2001 00:12:11 +0000 (00:12 +0000)]
* sysdeps/powerpc/__longjmp.S: Don't restore FP registers.

* sysdeps/powerpc/fpu/__longjmp.S: Do restore FP registers.
* sysdeps/powerpc/setjmp.S: Don't save FP registers.
* sysdeps/powerpc/fpu/setjmp.S: Do save FP registers.
* sysdeps/powerpc/fclrexcpt.c: Move to...
* sysdeps/powerpc/fpu/fclrexcpt.c: ... here.
* sysdeps/powerpc/fpu_control.h: Move to...
* sysdeps/powerpc/fpu/fpu_control.h: ... here.
2001-12-05  Geoff Keating  <geoffk@redhat.com>

* sysdeps/powerpc/__longjmp.S: Don't restore FP registers.
* sysdeps/powerpc/fpu/__longjmp.S: Do restore FP registers.
* sysdeps/powerpc/setjmp.S: Don't save FP registers.
* sysdeps/powerpc/fpu/setjmp.S: Do save FP registers.
* sysdeps/powerpc/fclrexcpt.c: Move to...
* sysdeps/powerpc/fpu/fclrexcpt.c: ... here.
* sysdeps/powerpc/fpu_control.h: Move to...
* sysdeps/powerpc/fpu/fpu_control.h: ... here.

22 years agoUpdate.
Ulrich Drepper [Wed, 5 Dec 2001 22:32:52 +0000 (22:32 +0000)]
Update.

* locales/bg_BG: Rewrite.
Patch by Alexander Shopov <al_shopov@web.bg>.

22 years agoUpdate.
Ulrich Drepper [Wed, 5 Dec 2001 19:32:18 +0000 (19:32 +0000)]
Update.

* iconvdata/testdata/TCVN-5712: New file.
* iconvdata/testdata/TCVN-5712..UTF8: New file.

22 years agoUpdate.
Ulrich Drepper [Wed, 5 Dec 2001 19:19:20 +0000 (19:19 +0000)]
Update.

* iconvdata/ibm1129.h: Remove duplicate mappings.
* iconvdata/ibm937.c: Handle overflow errors.  Handle new tables.
* iconvdata/ibm937.h: Reorganize table to safe a lot of space.
Patch by Masahide Washizawa <WASHI@jp.ibm.com>.

* timezone/zic.c: Fix handling of turnaround times.
Patch by Arthur David Olson <olsona@dc37a.nci.nih.gov>.

2001-12-02  Moshe Olshansky  <OLSHANSK@il.ibm.com>

* sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Fix
overflow problem.

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

* posix/regex.c: For use outside glibc defined bounded pointer
macros here.  Patch by Jim Meyering <jim@meyering.net>.

22 years agoUpdate.
Ulrich Drepper [Wed, 5 Dec 2001 10:11:07 +0000 (10:11 +0000)]
Update.

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

* iconvdata/Makefile (modules): Add TCVN5712-1.
* iconvdata/TESTS: Add TCVN5712-1.
* iconvdata/gconv-modules: Likewise.
* iconvdata/tcvn5712-1.c: New file.
* iconvdata/testdata/TCVN5712-1: New file.
* iconvdata/testdata/TCVN5712-1..UTF8: New file.

22 years agoUpdate.
Ulrich Drepper [Wed, 5 Dec 2001 04:30:39 +0000 (04:30 +0000)]
Update.

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

* iconvdata/cp1258.c: Optimize conversion from UCS4.

22 years agoUpdate.
Ulrich Drepper [Tue, 4 Dec 2001 00:02:32 +0000 (00:02 +0000)]
Update.

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

* locales/translit_neutral: Define transliteration for dong sign.

22 years agoDefine transliteration for dong sign.
Ulrich Drepper [Tue, 4 Dec 2001 00:00:55 +0000 (00:00 +0000)]
Define transliteration for dong sign.

22 years ago* mach/Makefile, mach/Machrules: Move comments out of \ continuations.
Roland McGrath [Sun, 2 Dec 2001 22:13:05 +0000 (22:13 +0000)]
* mach/Makefile, mach/Machrules: Move comments out of \ continuations.

22 years ago* hurd/hurd.h (__hurd_fail): Add `break;' to silence new gcc-3 warning.
Roland McGrath [Sun, 2 Dec 2001 19:45:22 +0000 (19:45 +0000)]
* hurd/hurd.h (__hurd_fail): Add `break;' to silence new gcc-3 warning.

Reported by Jeff Bailey <jbailey@nisa.net>.

Reported by Jeff Bailey <jbailey@nisa.net>.

22 years ago* hurd/hurd.h (_hurd_umask): Remove volatile qualifier from decl.
Roland McGrath [Sun, 2 Dec 2001 19:43:55 +0000 (19:43 +0000)]
* hurd/hurd.h (_hurd_umask): Remove volatile qualifier from decl.

22 years ago* mach/Makefile ($(objpfx)mach-syscalls.mk): Pass $(CFLAGS) to $(CC).
Roland McGrath [Sun, 2 Dec 2001 19:34:28 +0000 (19:34 +0000)]
* mach/Makefile ($(objpfx)mach-syscalls.mk): Pass $(CFLAGS) to $(CC).

* mach/Machrules ($(objpfx)%.udeps static pattern rule): Likewise.
Reported by Jeff Bailey <jbailey@nisa.net>.

22 years ago* sysdeps/mach/hurd/configure.in (libc_cv_gcc_unwind_find_fde): Add
Roland McGrath [Sun, 2 Dec 2001 00:01:27 +0000 (00:01 +0000)]
* sysdeps/mach/hurd/configure.in (libc_cv_gcc_unwind_find_fde): Add

missing backslash in test arguments.
* sysdeps/mach/hurd/configure: Regenerated.

2001-11-26  Roland McGrath  <roland@frob.com>

* hurd/hurdinit.c (_hurd_ports_use): Check if _hurd_ports is null.
Reported by John Tobey <jtobey@john-edwin-tobey.org>.

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

* sysdeps/mach/hurd/configure.in (libc_cv_gcc_unwind_find_fde): Add
missing backslash in test arguments.
* sysdeps/mach/hurd/configure: Regenerated.

22 years agoUpdate.
Ulrich Drepper [Sat, 1 Dec 2001 07:10:53 +0000 (07:10 +0000)]
Update.

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

* iconvdata/Makefile (modules): Add ARMSCII-8.
* iconvdata/gconv-modules: Add entries for ARMSCII-8.
* iconvdata/armscii-8.c: New file.

* sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add arch_prctl call.

22 years agoUpdate.
Ulrich Drepper [Fri, 30 Nov 2001 21:14:09 +0000 (21:14 +0000)]
Update.

2001-11-30  Andreas Schwab  <schwab@suse.de>

* pthread.c (pthread_handle_sigcancel) [THREAD_SELF]: Double check
that self is the manager thread, and initialize the thread
register if not.
(thread_self_stack) [THREAD_SELF]: New function to find self via
stack pointer.
* manager.c (pthread_handle_create): Don't block cancel signal any
more.

(THREAD_GETMEM_NC):

22 years agoUpdate.
Ulrich Drepper [Thu, 29 Nov 2001 21:57:56 +0000 (21:57 +0000)]
Update.

2001-11-29  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/generic/glob.c (next_brace_sub): Return NULL if braces
don't match, fix {{a,b},c} globbing, clean up.
Patch by Flavio Veloso <flaviovs@magnux.com>.
* posix/globtest.sh: Add new tests.

22 years ago(next_brace_sub): Return NULL if braces don't match, fix {{a,b},c} globbing, clean up.
Ulrich Drepper [Thu, 29 Nov 2001 21:53:29 +0000 (21:53 +0000)]
(next_brace_sub): Return NULL if braces don't match, fix {{a,b},c} globbing, clean up.

22 years agoUpdate.
Andreas Jaeger [Thu, 29 Nov 2001 16:44:59 +0000 (16:44 +0000)]
Update.

* sysdeps/unix/sysv/linux/x86_64/Versions: Add arch_prctl.

22 years agoUpdate.
Andreas Jaeger [Thu, 29 Nov 2001 16:28:03 +0000 (16:28 +0000)]
Update.

* sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add arch_prctl
call.

22 years agoUpdate.
Andreas Jaeger [Thu, 29 Nov 2001 11:12:04 +0000 (11:12 +0000)]
Update.

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

* sysdeps/generic/abort.c: Include libioP.h for
_IO_flush_all_lockp prototype.

22 years agoInclude libioP.h for _IO_flush_all_lockp prototype.
Andreas Jaeger [Thu, 29 Nov 2001 11:11:36 +0000 (11:11 +0000)]
Include libioP.h for _IO_flush_all_lockp prototype.

22 years agoUpdate.
Ulrich Drepper [Thu, 29 Nov 2001 08:51:52 +0000 (08:51 +0000)]
Update.

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

* posix/regex.h: Define __restrict_arr correctly.

22 years agoUpdate.
Ulrich Drepper [Thu, 29 Nov 2001 07:43:03 +0000 (07:43 +0000)]
Update.

* iconvdata/ibm1163.c: New file.
* iconvdata/ibm1163.h: New file.
* iconvdata/ibm1164.c: New file.
* iconvdata/ibm1164.h: New file.
* iconvdata/TESTS: Add entries for IBM1163 and IBM1164.
* iconvdata/Makefile: Likewise.
* iconvdata/testdata/IBM1163: New file.
* iconvdata/testdata/IBM1163..UTF8: New file.
* iconvdata/testdata/IBM1164: New file.
* iconvdata/testdata/IBM1164..UTF8: New file.
Patch by Masahide Washizawa <WASHI@jp.ibm.com>.

* iconvdata/ibm1046.h: Optimize.  Remove duplicate mappings.
* iconvdata/ibm1124.h: Likewise.
* iconvdata/ibm1132.h: Likewise.
* iconvdata/ibm1133.h: Likewise.
* iconvdata/ibm1160.h: Likewise.
* iconvdata/ibm1161.h: Likewise.
* iconvdata/ibm1162.h: Likewise.
* iconvdata/ibm856.h: Likewise.
* iconvdata/ibm922.h: Likewise.
* iconvdata/ibm930.h: Likewise.
* iconvdata/ibm932.h: Likewise.
* iconvdata/ibm933.h: Likewise.
* iconvdata/ibm935.h: Likewise.
* iconvdata/ibm937.h: Likewise.
* iconvdata/ibm939.h: Likewise.
* iconvdata/ibm943.h: Likewise.
* iconvdata/ibm930.c: Pretty printing.
* iconvdata/ibm937.c: Avoid access accross array boundary.

22 years agoUpdate.
Ulrich Drepper [Thu, 29 Nov 2001 05:00:56 +0000 (05:00 +0000)]
Update.

* iconv/gconv_open.c (__gconv_open): Empty codeset name now means using
the current locale's codeset.
* iconv/iconv_open.c (iconv_open): Don't strip out everything for
empty input string.
* iconv/iconv_prog.c: Pass empty strings as default value for to-
and from-charset.  Don't determine locale's charset here.

if libio is used [PR libc/2575].

22 years agoUpdate.
Ulrich Drepper [Wed, 28 Nov 2001 23:35:29 +0000 (23:35 +0000)]
Update.

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

* libio/genops.c (_IO_flush_all_lockp): New function.  The same code
as the old _IO_flush_all but lock only if parameter is nonzero.
(_IO_flush_all): Call _IO_flush_all_lockp with 1 as parameter.
* libio/libioP.h: Add prototype for _IO_flush_all_lockp.
* sysdeps/generic/abort.c (fflush): Define to _IO_flush_all_lockp(0)
if libio is used.

22 years agoUpdate.
Ulrich Drepper [Wed, 28 Nov 2001 22:27:20 +0000 (22:27 +0000)]
Update.

2001-11-22  Wolfram Gloger  <wg@malloc.de>

* pthread.c (pthread_onexit_process): Don't call free
after threads have been asynchronously terminated.

* manager.c (pthread_handle_exit): Surround cancellation
of threads with __flockfilelist()/__funlockfilelist().

22 years agoUpdate.
Ulrich Drepper [Wed, 28 Nov 2001 21:12:46 +0000 (21:12 +0000)]
Update.

2001-11-28  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/sparc/fpu/bits/mathinline.h (__signbitf, __signbit,
__signbitl): Only define for ISO C99.

22 years agoUpdate.
Ulrich Drepper [Wed, 28 Nov 2001 20:22:08 +0000 (20:22 +0000)]
Update.

2001-11-22  Thorsten Kukuk  <kukuk@suse.de>

* nss/nss_files/files-hosts.c (_nss_files_get##name##_r): Set
herrnop to NETDB_INTERNAL if we run out of buffer space.

22 years agoUpdate.
Ulrich Drepper [Wed, 28 Nov 2001 20:12:17 +0000 (20:12 +0000)]
Update.

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

* nss/nss_files/files-XXX.c (internal_getent): Correct input
overflow test for platforms with signed char.
Reported by Andrew Haley <aph@cambridge.redhat.com>.

22 years agoUpdate.
Ulrich Drepper [Wed, 28 Nov 2001 17:22:21 +0000 (17:22 +0000)]
Update.

2001-11-28  Bruno Haible  <bruno@clisp.org>

* locale/programs/simple-hash.c (lookup_2): Remove function.
(insert_entry_2): Call lookup instead of lookup_2.

22 years agoUpdate.
Ulrich Drepper [Wed, 28 Nov 2001 00:09:26 +0000 (00:09 +0000)]
Update.

2001-03-04  Bruno Haible  <bruno@clisp.org>

* intl/dcigettext.c (DCIGETTEXT): Increment path_max proportionally.

2001-10-31  Bruno Haible  <bruno@clisp.org>

* intl/plural.y: Include <stddef.h>, needed for NULL with SunOS 4 cc.

2001-03-21  Bruno Haible  <bruno@clisp.org>

* intl/dcigettext.c (_nl_state_lock): Mark as #ifdef _LIBC. AIX 3 xlc
chokes on empty macro arguments.
* intl/plural.y: Add #pragma for alloca on AIX 3.

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

* intl/dcigettext.c (guess_category_value): Only implement for
glibc.  Otherwise rely on function _nl_locale_name which isn't
present in the glibc sources.

2001-09-24  Bruno Haible  <bruno@clisp.org>

* intl/loadmsgcat.c (_nl_init_domain_conv): Also enable
transliteration when building on a glibc system but outside glibc.

2001-09-22  Bruno Haible  <bruno@clisp.org>

* intl/plural-eval.c: New file, extracted from dcigettext.c.
* intl/dcigettext.c (plural_eval): Remove function, moved to
intl/plural-eval.c.
(plural_lookup): Call PLURAL_EVAL instead of plural_eval.
Include plural-eval.c.

2001-09-22  Bruno Haible  <bruno@clisp.org>

* intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Reject numbers that
don't start with a digit; nplurals must be positive.

2001-09-02  Bruno Haible  <bruno@clisp.org>

* intl/plural-exp.h: New file, extracted from gettextP.h.
* intl/plural-exp.c: New file, extracted from loadmsgcat.c.
* intl/gettextP.h (struct expression, struct parse_args,
__gettext_free_exp, __gettextparse): Move to plural-exp.h.
* intl/loadmsgcat.c: Include plural-exp.h.
(PLURAL_PARSE): Move macro to plural-exp.h.
(plvar, plone, germanic_plural, INIT_GERMANIC_PLURAL): Move to
plural-exp.c.
(_nl_load_domain): Move plural handling code to plural-exp.c.  Call
EXTRACT_PLURAL_EXPRESSION.
(_nl_unload_domain): Update.
* intl/dcigettext.c: Include plural-exp.h.
* intl/plural.y: Include plural-exp.h, not gettextP.h.
(FREE_EXPRESSION): Move macro to plural-exp.h.
* intl/Makefile (routines): Add plural-exp.
(distribute): Add plural-exp.h.

2001-07-28  Bruno Haible  <bruno@clisp.org>

* intl/l10nflist.c (_nl_normalize_codeset): Cast isalnum, isalpha,
isdigit, tolower argument to 'unsigned char'.
* intl/loadmsgcat.c (_nl_load_domain): Cast isspace argument to
'unsigned char'.
* intl/localealias.c (read_alias_file): Cast isspace argument to
'unsigned char'.

2001-10-20  Bruno Haible  <bruno@clisp.org>

Assume strchr() exists. (Without it, intl/explodename.c wouldn't link
anyway.)
* intl/dcigettext.c (strchr): Remove fallback definition; it conflicts
with the variable 'index' in plural_lookup.
* intl/l10nflist.c (strchr): Likewise.
* intl/localealias.c (strchr): Likewise.

Assume <stddef.h>, <stdlib.h>, <string.h>, <locale.h> exist.
* intl/bindtextdom.c: Likewise.
* intl/dcigettext.c: Likewise.
* intl/dgettext.c: Likewise.
* intl/dngettext.c: Likewise.
* intl/explodename.c: Likewise.
* intl/finddomain.c: Likewise.
* intl/gettext.c: Likewise.
* intl/l10nflist.c: Likewise.
* intl/loadmsgcat.c: Likewise.
* intl/localealias.c: Likewise.
* intl/ngettext.c: Likewise.
* intl/textdomain.c: Likewise.
* intl/gettext.h: Assume <limits.h> exists.

22 years agoUpdate.
Ulrich Drepper [Tue, 27 Nov 2001 08:33:32 +0000 (08:33 +0000)]
Update.

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

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

22 years agoUpdate.
Ulrich Drepper [Tue, 27 Nov 2001 04:07:09 +0000 (04:07 +0000)]
Update.

* version.h (RELEASE): Define as development.
(VERSION): Set to 2.2.90.

2001-11-22  Thorsten Kukuk  <kukuk@suse.de>

* nis/nss_compat/compat-grp.c: Print group id as unsigned long.
* nis/nss_nis/nis-grp.c: Likewise.
* nis/nss_nisplus/nisplus-grp.c: Likewise.

* nis/nss_compat/compat-pwd.c: Print user id as unsigned long.
* nis/nss_nis/nis-pwd.c: Likewise.
* nis/nss_nisplus/nisplus-pwd.c: Likewise.

* nis/nss_nis/nis-publickey.c: Use strtoul instead of atoi.
* nis/nss_nisplus/nisplus-parser.c: Likewise.
* nis/nss_nisplus/nisplus-publickey.c: Likewise.

* nscd/grpcache.c: Use strtoul instead of atol.
* nscd/pwdcache.c: Likewise.
* nss/getent.c: Likewise.

2001-11-27  Paul Eggert  <eggert@twinsun.com>

* sysdeps/posix/tempname.c (__gen_tempname): Try at least
ATTEMPTS_MIN or TMP_MAX times, whichever is greater.

2001-11-19  Bruno Haible  <bruno@clisp.org>

* locale/programs/simple-hash.c (insert_entry_2): Resize at 75%, not
90%.
(compute_hashval): Shift by 9 bits, not by 4 bits. This drastically
improves the quality of the hash function, especially for short
strings.

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

22 years agoUpdate.
Ulrich Drepper [Tue, 27 Nov 2001 03:52:15 +0000 (03:52 +0000)]
Update.

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

* locales/de_CH: Define decimal point to '.' and thousands
separator to ' '.  Patch by Niklaus Giger <ngiger@mus.ch>.

22 years agoUpdate.
Ulrich Drepper [Tue, 27 Nov 2001 03:47:06 +0000 (03:47 +0000)]
Update.

2001-11-21  Bruno Haible  <bruno@clisp.org>

* charmaps/ISO-8859-16: Swap 0xa5 and 0xab entries.

22 years agoUpdate.
Ulrich Drepper [Tue, 27 Nov 2001 02:20:12 +0000 (02:20 +0000)]
Update.

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

* stdio-common/vfscanf.c: If incomplete nan of inf(inity) strings
are found call conv_error and not input_error [PR libc/2669].

* math/bits/mathcalls.h: Mark ceil and floor as const.
Reported by David Mosberger.

2001-11-21  Jim Meyering  <meyering@lucent.com>

* posix/regex.c (iswctype, mbrtowc, wcslen, wcscoll, wcrtomb) [_LIBC]:
Define to be __-prefixed.
Remove unnecessary duplication in `#ifdef _LIBC' blocks.

22 years agoDocument problems with other strptime implementations.
Ulrich Drepper [Mon, 26 Nov 2001 21:45:33 +0000 (21:45 +0000)]
Document problems with other strptime implementations.

22 years ago* manager.c (pthread_handle_create): Start the child thread with
Andreas Schwab [Mon, 26 Nov 2001 13:00:23 +0000 (13:00 +0000)]
* manager.c (pthread_handle_create): Start the child thread with

the cancel signal blocked, so that it does not handle it before
the thread register is set up.  Save errno from failed clone call.

22 years ago(pthread_handle_create): Start the child thread with the cancel signal blocked, so...
Andreas Schwab [Mon, 26 Nov 2001 12:59:16 +0000 (12:59 +0000)]
(pthread_handle_create): Start the child thread with the cancel signal blocked, so that it does not handle it before the thread register is set up.  Save errno from failed clone call.

22 years agoUpdate.
Andreas Jaeger [Mon, 26 Nov 2001 08:37:44 +0000 (08:37 +0000)]
Update.

2001-11-26  Andreas Jaeger  <aj@suse.de>

* sysdeps/unix/sysv/linux/hppa/brk.c: Remove __brk_addr alias,
avoid warning.

22 years agoUpdate.
Andreas Jaeger [Mon, 26 Nov 2001 08:05:53 +0000 (08:05 +0000)]
Update.

2001-11-26  Stephen L Moshier <moshier@mediaone.net>

* sysdeps/ieee754/ldbl-128/e_log10l.c (L102B): Fix typo in
initialization.

* sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Remove
unused variables.  Fix threshold for returning 1.0.

* sysdeps/ieee754/ldbl-128/e_lgammal_r.c (neval, deval): Constify
argument.

* sysdeps/ieee754/ldbl-128/s_erfl.c (neval, deval): Likewise, and
remove unused variables.

* sysdeps/ieee754/ldbl-128/e_j0l.c (neval, deval): Likewise.

* sysdeps/ieee754/ldbl-128/e_j1l.c (neval, deval): Likewise, and
include local math header files.

22 years ago(L102B): Fix typo in initialization.
Andreas Jaeger [Mon, 26 Nov 2001 08:04:09 +0000 (08:04 +0000)]
(L102B): Fix typo in initialization.

22 years agoRegenerated: autoconf configure.in
Geoff Keating [Mon, 26 Nov 2001 03:01:30 +0000 (03:01 +0000)]
Regenerated: autoconf  configure.in

22 years agoUpdate.
Andreas Jaeger [Thu, 22 Nov 2001 12:36:34 +0000 (12:36 +0000)]
Update.

2001-11-22  Andreas Jaeger  <aj@suse.de>

* sysdeps/ieee754/ldbl-96/s_ilogbl.c (__ilogbl): Add brace to
avoid warning.

22 years agoUpdate.
Andreas Jaeger [Wed, 21 Nov 2001 12:22:05 +0000 (12:22 +0000)]
Update.

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

* sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: New file.

* sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers): Add
sys/debugreg.h

22 years agoUpdate.
Andreas Jaeger [Mon, 19 Nov 2001 10:12:27 +0000 (10:12 +0000)]
Update.

2001-11-15  Andreas Jaeger  <aj@suse.de>

* include/features.h (__GLIBC_HAVE_LONG_LONG): Define for
compilers that support it.

* posix/sys/types.h: Use __GLIBC_HAVE_LONG_LONG.
* sysdeps/unix/sysv/linux/bits/types.h: Likewise.
* stdlib/stdlib.h: Likewise.

22 years ago* include/features.h (__GLIBC_HAVE_LONG_LONG): Define for
Andreas Jaeger [Mon, 19 Nov 2001 10:12:15 +0000 (10:12 +0000)]
* include/features.h (__GLIBC_HAVE_LONG_LONG): Define for

compilers that support it.
* posix/sys/types.h: Use __GLIBC_HAVE_LONG_LONG.
* sysdeps/unix/sysv/linux/bits/types.h: Likewise.
* stdlib/stdlib.h: Likewise.

22 years agoUpdate.
Ulrich Drepper [Sat, 17 Nov 2001 12:05:25 +0000 (12:05 +0000)]
Update.

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

* posix/regex.c (byte_re_match_2_internal): For gcc replace switch
statement with gotos.
Based on a patch by Paolo Bonzini <bonzini@pc-amo3.elet.polimi.it>.

2001-11-16  Stephen L Moshier  <moshier@mediaone.net>

22 years ago(byte_re_match_2_internal): For gcc replace switch statement with gotos.
Ulrich Drepper [Sat, 17 Nov 2001 12:03:29 +0000 (12:03 +0000)]
(byte_re_match_2_internal): For gcc replace switch statement with gotos.

22 years agoUpdate.
Andreas Jaeger [Fri, 16 Nov 2001 20:19:46 +0000 (20:19 +0000)]
Update.

2001-11-16  Stephen L Moshier <moshier@mediaone.net>

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

22 years ago(__erfcl): Fix K&R header.
Andreas Jaeger [Fri, 16 Nov 2001 20:19:31 +0000 (20:19 +0000)]
(__erfcl): Fix K&R header.

22 years agoUpdate.
Ulrich Drepper [Fri, 16 Nov 2001 01:43:09 +0000 (01:43 +0000)]
Update.

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

* sysdeps/generic/unwind-dw2-fde.c: Don't use recursive mutexes.

22 years agoUpdate.
Ulrich Drepper [Fri, 16 Nov 2001 01:27:24 +0000 (01:27 +0000)]
Update.

2001-10-02  Jakub Jelinek  <jakub@redhat.com>
    H.J. Lu  <hjl@gnu.org>

* configure.in (libc_cv_gcc_static_libgcc): Set to -static-libgcc
if gcc supports this flag.
(EXPORT_UNWIND_FIND_FDE): Define unless target configure disables it.
(gcc3): Allow glibc to be compiled with gcc 3.x.
* config.h.in (EXPORT_UNWIND_FIND_FDE): Add.
* config.make.in (static-libgcc, unwind-find-fde): Add.
* Makerules (build-shlib-helper, build-module-helper): Use it.
* scripts/versions.awk: Make sure GLIBC_ versions come first.
* elf/soinit.c (__libc_global_ctors): Set tbases and dbases if
necessary.
(_fini): Call __deregister_frame_info_bases if
__register_frame_info_bases was used to register.
* elf/Versions (__register_frame_info, __deregister_frame_info): Add
for GLIBC_2.0.
(__register_frame_info_bases, __register_frame_info_table_bases,
__deregister_frame_info_bases, _Unwind_Find_FDE): Add for GLIBC_2.2.5.
* elf/Makefile (routines): Add unwind-dw2-fde.
(shared-only-routines): Add unwind-dw2-fde.
* sysdeps/alpha/gccframe.h: New file.
* sysdeps/arm/gccframe.h: New file.
* sysdeps/generic/framestate.c: New file.
* sysdeps/generic/dwarf2.h: New file.
* sysdeps/generic/gccframe.h (struct object): Update from gcc 3.0.
* sysdeps/generic/unwind-dw2-fde.c: New file.
* sysdeps/unix/sysv/linux/ia64/unwind-dw2-fde.c: New file.
* sysdeps/generic/unwind-dw2-fde.h: New file.
* sysdeps/generic/unwind-dw2.c: New file.
* sysdeps/generic/unwind-pe.h: New file.
* sysdeps/generic/unwind.h: New file.
* sysdeps/hppa/gccframe.h: New file.
* sysdeps/i386/gccframe.h: New file.
* sysdeps/m68k/gccframe.h: New file.
* sysdeps/mips/gccframe.h: New file.
* sysdeps/powerpc/gccframe.h: New file.
* sysdeps/s390/gccframe.h: New file.
* sysdeps/sh/gccframe.h: New file.
* sysdeps/sparc/gccframe.h: New file.
* sysdeps/vax/gccframe.h: New file.
* sysdeps/unix/sysv/linux/configure.in (libc_cv_gcc_unwind_find_fde):
Set on all architectures except ia64.
* sysdeps/mach/hurd/configure.in (libc_cv_gcc_unwind_find_fde): Set
for i386.
* sysdeps/mach/hurd/i386/Versions (__register_frame_info,
__deregister_frame_info): Move to elf/Versions.
* sysdeps/unix/sysv/linux/m68k/Versions: Likewise.
* sysdeps/unix/sysv/linux/arm/Versions: Likewise.
* sysdeps/unix/sysv/linux/alpha/Versions: Likewise.
* sysdeps/unix/sysv/linux/i386/Versions: Likewise.
* sysdeps/unix/sysv/linux/mips/Versions: Likewise.
* sysdeps/unix/sysv/linux/powerpc/Versions: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-32/Versions: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc32/Versions: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/Versions: Likewise.
* sysdeps/mach/hurd/i386/Makefile (sysdep-routines): Add framestate.
* sysdeps/unix/sysv/linux/arm/Makefile: Likewise.
* sysdeps/unix/sysv/linux/alpha/Makefile: Likewise.
* sysdeps/unix/sysv/linux/i386/Makefile: Likewise.
* sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
* sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
* sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Likewise.
* sysdeps/unix/sysv/linux/sparc/Makefile: Likewise.

* sysdeps/unix/sysv/linux/ia64/ldd-rewrite.sed: New file.
* sysdeps/unix/sysv/linux/s390/ldd-rewrite.sed: New file.
* sysdeps/generic/strnlen.c: New file.

22 years agoUpdate.
Ulrich Drepper [Thu, 15 Nov 2001 22:11:41 +0000 (22:11 +0000)]
Update.

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

* sysdeps/i386/i686/Implies: Removed.
* sysdeps/i386/i686/Versions: New file.

22 years agoUpdate.
Ulrich Drepper [Thu, 15 Nov 2001 18:27:28 +0000 (18:27 +0000)]
Update.

2001-11-15  Jeff Law  <law@redhat.com>

* posix/regex.c (uintptr_t): Do not provide a definition if the
system provided one.

22 years agoUpdate.
Ulrich Drepper [Wed, 14 Nov 2001 08:49:20 +0000 (08:49 +0000)]
Update.

22 years ago* stdio-common/tmpfile.c: Moved to ...
Roland McGrath [Tue, 13 Nov 2001 10:07:33 +0000 (10:07 +0000)]
* stdio-common/tmpfile.c: Moved to ...

* sysdeps/generic/tmpfile.c: ... here.
* sysdeps/mach/hurd/tmpfile.c: New file.

* hurd/fopenport.c (__fopenport): Renamed from fopenport.
[USE_IN_LIBIO] (fopencookie): #define as _IO_fopencookie.
(fopenport): Define as weak alias.

* libio/iofopncook.c (_IO_fopencookie): Move forward declaration ...
* libio/libioP.h: ... to here.

22 years ago2001-11-13 Roland McGrath <roland@frob.com>
Roland McGrath [Tue, 13 Nov 2001 10:06:27 +0000 (10:06 +0000)]
2001-11-13  Roland McGrath  <roland@frob.com>

* libio/iofopncook.c (_IO_fopencookie): Move forward declaration ...
* libio/libioP.h: ... to here.

22 years agoUpdate.
Ulrich Drepper [Mon, 12 Nov 2001 21:04:45 +0000 (21:04 +0000)]
Update.

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

* elf/dl-reloc.c (_dl_relocate_object): Avoid iterating over
program header twice.  Construct list with the needed information.

22 years agoUpdate.
Ulrich Drepper [Sun, 11 Nov 2001 01:48:58 +0000 (01:48 +0000)]
Update.

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

22 years agoUpdate.
Ulrich Drepper [Sat, 10 Nov 2001 22:47:40 +0000 (22:47 +0000)]
Update.

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

* elf/dl-load.c (_dl_map_object_from_fd): Remove use of
_dl_pf_to_prot.  Use arithmetic operation using PF_TO_PROT macro.
* sysdeps/generic/ldsodefs.h (PF_TO_PROT): New macro.
* elf/dl-reloc.c (_dl_relocate_object): Likewise.

22 years ago(_dl_map_object_from_fd): Remove use of _dl_pf_to_prot. Use arithmetic operation...
Ulrich Drepper [Sat, 10 Nov 2001 22:43:10 +0000 (22:43 +0000)]
(_dl_map_object_from_fd): Remove use of _dl_pf_to_prot.  Use arithmetic operation using PF_TO_PROT macro.

22 years agoUpdate.
Andreas Jaeger [Sat, 10 Nov 2001 10:39:05 +0000 (10:39 +0000)]
Update.

2001-11-10  Andreas Jaeger  <aj@suse.de>

* sysdeps/ieee754/ldbl-128/e_log2l.c: New file.
* sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
Contributed by Stephen L Moshier <moshier@mediaone.net>.

22 years ago128-bit long double implementation of e_log2.
Andreas Jaeger [Sat, 10 Nov 2001 10:38:27 +0000 (10:38 +0000)]
128-bit long double implementation of e_log2.

22 years ago(is_dst): Pretty printing.
Ulrich Drepper [Sat, 10 Nov 2001 06:00:37 +0000 (06:00 +0000)]
(is_dst): Pretty printing.

22 years agoUpdate.
Ulrich Drepper [Sat, 10 Nov 2001 03:28:35 +0000 (03:28 +0000)]
Update.

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

* elf/dl-minimal.c (realloc): Handle NULL for first parameter
correctly.
* elf/dl-load.c (is_dst): New function.
(_dl_dst_count): Use is_dst to check for DST variable.
(_dl_dst_substitute): Likewise.

22 years ago(realloc): Handle NULL for first parameter correctly.
Ulrich Drepper [Sat, 10 Nov 2001 03:23:20 +0000 (03:23 +0000)]
(realloc): Handle NULL for first parameter correctly.

22 years agoHurd/PowerPC port contributed by Peter Bruin <pjbruin@dds.nl>.
Roland McGrath [Sat, 10 Nov 2001 00:37:59 +0000 (00:37 +0000)]
Hurd/PowerPC port contributed by Peter Bruin <pjbruin@dds.nl>.

* NEWS: Mention it.
* sysdeps/mach/hurd/powerpc/exc2signal.c: New file.
* sysdeps/mach/hurd/powerpc/init-first.c: New file.
* sysdeps/mach/hurd/powerpc/intr-msg.h: New file.
* sysdeps/mach/hurd/powerpc/longjmp-ts.c: New file.
* sysdeps/mach/hurd/powerpc/register-dump.h: New file.
* sysdeps/mach/hurd/powerpc/sigreturn.c: New file.
* sysdeps/mach/hurd/powerpc/static-start.S: New file.
* sysdeps/mach/hurd/powerpc/trampoline.c: New file.
* sysdeps/mach/hurd/powerpc/bits/sigcontext.h: New file.
* sysdeps/mach/hurd/powerpc/Dist: New file.

22 years ago* hurd/privports.c (__get_privileged_ports):
Roland McGrath [Sat, 10 Nov 2001 00:11:38 +0000 (00:11 +0000)]
* hurd/privports.c (__get_privileged_ports):

Only contact the proc server if necessary for this call.
Suggested by Neal H Walfield <neal@cs.uml.edu>.
Check error return for mach_port_mod_refs.

22 years ago2001-11-09 Roland McGrath <roland@frob.com>
Roland McGrath [Sat, 10 Nov 2001 00:11:33 +0000 (00:11 +0000)]
2001-11-09  Roland McGrath  <roland@frob.com>

* hurd/privports.c (__get_privileged_ports):
Only contact the proc server if necessary for this call.
Suggested by Neal H Walfield <neal@cs.uml.edu>.
Check error return for mach_port_mod_refs.

22 years agoUpdate.
Ulrich Drepper [Fri, 9 Nov 2001 20:17:52 +0000 (20:17 +0000)]
Update.

* elf/dl-load.c (lose): Remove some unnecessary code.  The new
object is always the last in the list.
(_dl_map_object_from_fd): Delete code to remove from object list
when DF_1_NOOPEN is seen.  This is done in lose.

22 years ago(lose): Remove some unnecessary code. The new object is always the last in the list.
Ulrich Drepper [Fri, 9 Nov 2001 20:16:10 +0000 (20:16 +0000)]
(lose): Remove some unnecessary code.  The new object is always the last in the list.

22 years ago* sysdeps/unix/sysv/linux/m68k/bits/resource.h: New file.
Andreas Schwab [Fri, 9 Nov 2001 19:58:14 +0000 (19:58 +0000)]
* sysdeps/unix/sysv/linux/m68k/bits/resource.h: New file.

22 years agoNew file to fix RLIM_INFINITY.
Andreas Schwab [Fri, 9 Nov 2001 19:57:55 +0000 (19:57 +0000)]
New file to fix RLIM_INFINITY.

22 years agoUpdate.
Ulrich Drepper [Fri, 9 Nov 2001 19:32:36 +0000 (19:32 +0000)]
Update.

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

* elf/dl-load.c (_dl_map_object_from_fd): Delete code to remove
from object list when DF_1_NOOPEN is seen.  This is done in lose.

22 years agoUpdate.
Ulrich Drepper [Thu, 8 Nov 2001 22:32:38 +0000 (22:32 +0000)]
Update.

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

* elf/dl-object.c (_dl_new_object): Various small optimizations.

22 years agoUpdate.
Ulrich Drepper [Thu, 8 Nov 2001 01:48:57 +0000 (01:48 +0000)]
Update.

* sysdeps/generic/dl-cache.c: Optimize SEARCH_CACHE and
HWCAP_CHECK macro code.

* elf/dl-misc.c (_dl_sysdep_read_whole_file): Optimize code a bit.
Now returns MAP_FAILED on error.
* elf/rtld.c: Adjust caller.
* sysdeps/generic/dl-cache.c: Likewise.
* sysdeps/generic/ldsodefs.h: Adjust description.

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

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

* elf/dl-version.c (match_symbol): Optimize error handling for size.
(_dl_check_map_versions): Likewise.

22 years agoUpdate.
Ulrich Drepper [Wed, 7 Nov 2001 07:44:06 +0000 (07:44 +0000)]
Update.

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

* elf/dl-load.c (_dl_map_object_from_fd): Don't call
_dl_signal_error directly, always use lose.  Set fd to -1 after
file is closed.
(lose): Don't call close if fd == -1.

22 years agoUpdate.
Ulrich Drepper [Wed, 7 Nov 2001 07:21:22 +0000 (07:21 +0000)]
Update.

2001-11-07  Kaoru Fukui  <k_fukui@highway.ne.jp>

* manual/charset.texi: Fix typo @w[ISO 6937] to  @w{ISO 6937}.
 Also fix typo @code {mbsinit} to @code{mbsinit}.

22 years agoUpdate.
Ulrich Drepper [Wed, 7 Nov 2001 06:32:27 +0000 (06:32 +0000)]
Update.

* elf/dl-profile.c: Replace state variable with simple flag named
running.  Remove commented-out code.

* elf/dl-reloc.c (_dl_relocate_object): Likewise.

22 years agoUpdate.
Ulrich Drepper [Wed, 7 Nov 2001 00:31:36 +0000 (00:31 +0000)]
Update.

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

* elf/dl-load.c (decompose_rpath): Optimize error handling for size.
(_dl_init_paths): Likewise.
(_dl_map_object_from_fd): Likewise.

22 years agoUpdate.
Ulrich Drepper [Tue, 6 Nov 2001 21:08:49 +0000 (21:08 +0000)]
Update.

* sysdeps/generic/ldsodefs.h (DL_DEBUG_HELP): New macro.

22 years ago(DL_DEBUG_HELP): New macro.
Ulrich Drepper [Tue, 6 Nov 2001 20:15:40 +0000 (20:15 +0000)]
(DL_DEBUG_HELP): New macro.

22 years ago* sysdeps/mach/powerpc/sysdep.h: Include sysdeps/unix/powerpc/sysdep.h
Roland McGrath [Tue, 6 Nov 2001 10:59:17 +0000 (10:59 +0000)]
* sysdeps/mach/powerpc/sysdep.h: Include sysdeps/unix/powerpc/sysdep.h

instead of sysdeps/powerpc/elf/sysdep.h and sysdeps/unix/sysdep.h.

22 years ago* sysdeps/unix/sysv/linux/powerpc/sysdep.h: Don't include
Roland McGrath [Tue, 6 Nov 2001 10:57:14 +0000 (10:57 +0000)]
* sysdeps/unix/sysv/linux/powerpc/sysdep.h: Don't include

sysdeps/powerpc/elf/sysdep.h.
Reported by Kaoru Fukui <k_fukui@highway.ne.jp>.

22 years ago2001-11-06 Roland McGrath <roland@frob.com>
Roland McGrath [Tue, 6 Nov 2001 10:56:56 +0000 (10:56 +0000)]
2001-11-06  Roland McGrath  <roland@frob.com>

* sysdeps/unix/sysv/linux/powerpc/sysdep.h: Don't include
sysdeps/powerpc/elf/sysdep.h.
Reported by Kaoru Fukui <k_fukui@highway.ne.jp>.

22 years agoUpdate.
Ulrich Drepper [Tue, 6 Nov 2001 03:57:31 +0000 (03:57 +0000)]
Update.

(process_envvars): Some more optimizations.

22 years agoUpdate.
Ulrich Drepper [Tue, 6 Nov 2001 03:53:40 +0000 (03:53 +0000)]
Update.

* elf/rtld.c (process_dl_debug): Rewritten.  Optimized for size not
speed.
(process_envvars): More some optimizations.

22 years agoUpdate.
Ulrich Drepper [Tue, 6 Nov 2001 00:16:32 +0000 (00:16 +0000)]
Update.

* elf/elf.h: Add dynamic tag definitions for prelinking.

* elf/rtld.c (process_envvars): Avoid using array of string pointers.
Rewrite code to remove environment varables for SUID binaries.
Small optimization in LD_PROFILE handling.
* sysdeps/generic/unsecvars.h: Adjust format for process_envvars
changes.
* sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise.

* sysdeps/generic/dl-sysdep.c: Don't initialize _dl_cpuclock_offset.

22 years agoUpdate.
Ulrich Drepper [Mon, 5 Nov 2001 22:13:46 +0000 (22:13 +0000)]
Update.

* elf/dl-reloc.c (_dl_reloc_bad_type): Rewrite to not use writable
strings.  Change type of second parameter.
* sysdeps/generic/ldsodefs.h: Adjust _dl_reloc_bad_type prototype
for last change.

22 years agoUpdate.
Ulrich Drepper [Mon, 5 Nov 2001 21:02:41 +0000 (21:02 +0000)]
Update.

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

* io/fts.h: Prevent using <fts.h> with _FILE_OFFSET_BITS=64.

2001-11-04  Joseph S. Myers  <jsm28@cam.ac.uk>

* manual/string.texi: Fix typos.
* manual/examples/argp-ex2.c: Likewise.

* sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h (REGISTER_DUMP):
* sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h (REGISTER_DUMP):

22 years agoFix typos.
Ulrich Drepper [Mon, 5 Nov 2001 20:55:42 +0000 (20:55 +0000)]
Fix typos.

22 years ago* sysdeps/powerpc/elf/sysdep.h: Remove this file, because it overrides
Roland McGrath [Mon, 5 Nov 2001 09:30:32 +0000 (09:30 +0000)]
* sysdeps/powerpc/elf/sysdep.h: Remove this file, because it overrides

the more-specific unix/sysv/linux/powerpc file and breaks everything.
* sysdeps/powerpc/sysdep.h (ALIGNARG, ASM_TYPE_DIRECTIVE,
ASM_SIZE_DIRECTIVE, CALL_MCOUNT, ENTRY, EALIGN, DO_CALL, JUMPTARGET,
PSEUDO, PSEUDO_RET, PSEUDO_END, L, C_TEXT): These macros moved here
here, put under [__ELF__].