kopensolaris-gnu/glibc.git
18 years ago2001-08-27 Roland McGrath <roland@frob.com>
roland [Sat, 1 Sep 2001 21:45:32 +0000 (21:45 +0000)]
2001-08-27  Roland McGrath  <roland@frob.com>

* sysdeps/unix/sysv/gethostname.c (__gethostname): When LEN is too
short, copy that much into NAME anyway before returning error.

18 years agoUpdate.
drepper [Sat, 1 Sep 2001 19:24:55 +0000 (19:24 +0000)]
Update.

18 years agoStartup code for Alpha/ELF.
drepper [Sat, 1 Sep 2001 19:24:46 +0000 (19:24 +0000)]
Startup code for Alpha/ELF.

18 years agoNot needed anymore.
drepper [Sat, 1 Sep 2001 19:23:47 +0000 (19:23 +0000)]
Not needed anymore.

18 years agoInclude <stddef.h> for wchar_t.
drepper [Sat, 1 Sep 2001 19:21:50 +0000 (19:21 +0000)]
Include <stddef.h> for wchar_t.

18 years ago(__gwchar_t): Define to wchar_t for C++.
drepper [Sat, 1 Sep 2001 19:19:45 +0000 (19:19 +0000)]
(__gwchar_t): Define to wchar_t for C++.

18 years agoUpdate.
drepper [Sat, 1 Sep 2001 19:03:22 +0000 (19:03 +0000)]
Update.

18 years ago(insert_cache): New function.
drepper [Sat, 1 Sep 2001 19:02:44 +0000 (19:02 +0000)]
(insert_cache): New function.
(print_known_names): If cache is used call insert_cache to use the information
from the cache.

18 years ago(libc) [GLIBC_2.2.5]: Export __gconv_cache.
drepper [Sat, 1 Sep 2001 19:01:38 +0000 (19:01 +0000)]
(libc) [GLIBC_2.2.5]: Export __gconv_cache.

18 years agoRename variable cache to __gconv_cache and export it.
drepper [Sat, 1 Sep 2001 19:01:07 +0000 (19:01 +0000)]
Rename variable cache to __gconv_cache and export it.

18 years agoUpdate.
drepper [Sat, 1 Sep 2001 06:22:57 +0000 (06:22 +0000)]
Update.

18 years ago(Low-Level Time String Parsing): Add warning about formats without separators.
drepper [Sat, 1 Sep 2001 06:22:16 +0000 (06:22 +0000)]
(Low-Level Time String Parsing): Add warning about formats without separators.

18 years ago(strptime_internal): Recognize 'l' format and handle it like 'I' for
drepper [Sat, 1 Sep 2001 06:20:04 +0000 (06:20 +0000)]
(strptime_internal): Recognize 'l' format and handle it like 'I' for
symmatry with strftime.

18 years agoUpdate.
drepper [Sat, 1 Sep 2001 06:10:36 +0000 (06:10 +0000)]
Update.

18 years ago(HP_TIMING_AVAIL): Set to HP_SMALL_TIMING_AVAIL if present.
drepper [Sat, 1 Sep 2001 06:10:09 +0000 (06:10 +0000)]
(HP_TIMING_AVAIL): Set to HP_SMALL_TIMING_AVAIL if present.
(print_statistics): Make scalar unsigned long long.

18 years ago(_dl_cpuclock_offset): Protect with NONAVAIL.
drepper [Sat, 1 Sep 2001 06:09:31 +0000 (06:09 +0000)]
(_dl_cpuclock_offset): Protect with NONAVAIL.
(HP_TIMING_AVAIL): Set to HP_SMALL_TIMING_AVAIL if present.

18 years agoSupport for high-precision timers on Alpha.
drepper [Sat, 1 Sep 2001 06:08:44 +0000 (06:08 +0000)]
Support for high-precision timers on Alpha.

18 years ago(perror): Save errno early, pass it down to perror_internal.
drepper [Sat, 1 Sep 2001 05:33:01 +0000 (05:33 +0000)]
(perror): Save errno early, pass it down to perror_internal.
(perror_internal): Add errnum argument.

18 years ago(elf_machine_rela): Remove unused code.
drepper [Sat, 1 Sep 2001 05:32:08 +0000 (05:32 +0000)]
(elf_machine_rela): Remove unused code.
Don't add old memory content for R_ALPHA_REFQUAD.

18 years agoUpdate.
drepper [Fri, 31 Aug 2001 01:46:47 +0000 (01:46 +0000)]
Update.

18 years ago(__md5_crypt_r): Compute used and required memory correctly.
drepper [Fri, 31 Aug 2001 01:45:02 +0000 (01:45 +0000)]
(__md5_crypt_r): Compute used and required memory correctly.

18 years agoUpdate.
drepper [Thu, 30 Aug 2001 23:25:18 +0000 (23:25 +0000)]
Update.

18 years ago(_ioperm): Use __open instead of open, __close instead of close, __getpagesize
drepper [Thu, 30 Aug 2001 23:24:34 +0000 (23:24 +0000)]
(_ioperm): Use __open instead of open, __close instead of close, __getpagesize
instead of getpagesize.

18 years agoUpdate.
drepper [Thu, 30 Aug 2001 23:22:02 +0000 (23:22 +0000)]
Update.

18 years ago(__argz_stringify): Use __strnlen instead of strnlen.
drepper [Thu, 30 Aug 2001 23:21:12 +0000 (23:21 +0000)]
(__argz_stringify): Use __strnlen instead of strnlen.

18 years ago(strndupa): Redefine here to use __strnlen instead of strnlen.
drepper [Thu, 30 Aug 2001 23:20:14 +0000 (23:20 +0000)]
(strndupa): Redefine here to use __strnlen instead of strnlen.

18 years ago(__strndup): Use __strnlen not strnlen.
drepper [Thu, 30 Aug 2001 23:17:41 +0000 (23:17 +0000)]
(__strndup): Use __strnlen not strnlen.

18 years ago(vsyslog): Fix typo in last change (connect -> connected).
drepper [Thu, 30 Aug 2001 23:13:49 +0000 (23:13 +0000)]
(vsyslog): Fix typo in last change (connect -> connected).

18 years agoUpdate.
drepper [Thu, 30 Aug 2001 23:09:38 +0000 (23:09 +0000)]
Update.

18 years ago(elf_machine_rela): Don't handle
drepper [Thu, 30 Aug 2001 23:09:10 +0000 (23:09 +0000)]
(elf_machine_rela): Don't handle
R_ALPHA_RELATIVE if RTLD_BOOTSTRAP and HAVE_Z_COMBRELOC.  Only
check for rtld map if RTLD_BOOTSTRAP nor HAVE_Z_COMBRELOC is defined.

18 years agoUpdate.
drepper [Thu, 30 Aug 2001 20:23:15 +0000 (20:23 +0000)]
Update.

18 years agoAdjust j0 ULPs.
drepper [Thu, 30 Aug 2001 20:22:48 +0000 (20:22 +0000)]
Adjust j0 ULPs.

18 years agoAdjust j0 ULPs.
drepper [Thu, 30 Aug 2001 20:04:34 +0000 (20:04 +0000)]
Adjust j0 ULPs.

18 years agoUpdate.
aj [Thu, 30 Aug 2001 11:26:11 +0000 (11:26 +0000)]
Update.

18 years ago128-bit long double Bessel functions jn and yn.
aj [Thu, 30 Aug 2001 11:16:00 +0000 (11:16 +0000)]
128-bit long double Bessel functions jn and yn.

18 years agoUpdate.
drepper [Thu, 30 Aug 2001 08:27:57 +0000 (08:27 +0000)]
Update.

18 years ago(sgi_fam): Add.
drepper [Thu, 30 Aug 2001 08:27:23 +0000 (08:27 +0000)]
(sgi_fam): Add.

18 years agoUpdate.
drepper [Thu, 30 Aug 2001 08:20:13 +0000 (08:20 +0000)]
Update.

18 years agoUpdate.
drepper [Thu, 30 Aug 2001 02:13:26 +0000 (02:13 +0000)]
Update.

18 years ago(MAX_ADAPTIVE_SPIN_COUNT): Define if not already done.
drepper [Thu, 30 Aug 2001 02:12:08 +0000 (02:12 +0000)]
(MAX_ADAPTIVE_SPIN_COUNT): Define if not already done.

18 years ago(__pthread_lock): Top max_count value with MAX_ADAPTIVE_SPIN_COUNT.
drepper [Thu, 30 Aug 2001 02:11:19 +0000 (02:11 +0000)]
(__pthread_lock): Top max_count value with MAX_ADAPTIVE_SPIN_COUNT.

18 years ago(BUSY_WAIT_NOP): New macro to help P4.
drepper [Thu, 30 Aug 2001 02:10:39 +0000 (02:10 +0000)]
(BUSY_WAIT_NOP): New macro to help P4.

18 years agoUpdate.
drepper [Wed, 29 Aug 2001 23:31:38 +0000 (23:31 +0000)]
Update.

18 years ago(__nis_findfastest): Don't fail if reply received first is from a previous call.
drepper [Wed, 29 Aug 2001 23:30:01 +0000 (23:30 +0000)]
(__nis_findfastest): Don't fail if reply received first is from a previous call.

18 years agoUpdated.
drepper [Wed, 29 Aug 2001 22:46:05 +0000 (22:46 +0000)]
Updated.

18 years agoInstall scripts with install-bin-script.
drepper [Wed, 29 Aug 2001 22:45:25 +0000 (22:45 +0000)]
Install scripts with install-bin-script.

18 years ago(glibcbug): Install with install-bin-script.
drepper [Wed, 29 Aug 2001 22:44:49 +0000 (22:44 +0000)]
(glibcbug): Install with install-bin-script.

18 years ago(others): Add $(install-bin-script).
drepper [Wed, 29 Aug 2001 22:44:35 +0000 (22:44 +0000)]
(others): Add $(install-bin-script).

18 years ago(do-install-script): New macro to install scripts using INSTALL_SCRIPT.
drepper [Wed, 29 Aug 2001 22:43:53 +0000 (22:43 +0000)]
(do-install-script): New macro to install scripts using INSTALL_SCRIPT.
(install-bin-script): New rule to install scripts with
do-install-script.
(install-bin-script-nosubdir): New rule.
(install-no-libc.a-nosubdir): Add install-bin-script-nosubdir.
(distinfo-vars): Add $(install-bin-script).

18 years ago(INSTALL_SCRIPT): Define.
drepper [Wed, 29 Aug 2001 22:43:27 +0000 (22:43 +0000)]
(INSTALL_SCRIPT): Define.

18 years ago(INSTALL_SCRIPT): Define.
drepper [Wed, 29 Aug 2001 22:42:50 +0000 (22:42 +0000)]
(INSTALL_SCRIPT): Define.

18 years ago.
schwab [Wed, 29 Aug 2001 21:13:03 +0000 (21:13 +0000)]
.

18 years agoUpdated.
schwab [Wed, 29 Aug 2001 21:12:09 +0000 (21:12 +0000)]
Updated.

18 years ago(__dl_runtime_resolve): Pass ELF_RTYPE_CLASS_PLT, instead of R_MIPS_REL32, to
drepper [Wed, 29 Aug 2001 18:48:49 +0000 (18:48 +0000)]
(__dl_runtime_resolve): Pass ELF_RTYPE_CLASS_PLT, instead of R_MIPS_REL32, to
_dl_lookup_versioned_symbol () and _dl_lookup_symbol ().

18 years agoUpdate.
drepper [Wed, 29 Aug 2001 18:45:03 +0000 (18:45 +0000)]
Update.

18 years agoRegenerated.
drepper [Wed, 29 Aug 2001 18:09:44 +0000 (18:09 +0000)]
Regenerated.

18 years agoSubstitute libc_cv_z_combreloc.
drepper [Wed, 29 Aug 2001 18:05:56 +0000 (18:05 +0000)]
Substitute libc_cv_z_combreloc.

18 years ago(have-z-combreloc): New variable.
drepper [Wed, 29 Aug 2001 18:05:39 +0000 (18:05 +0000)]
(have-z-combreloc): New variable.

18 years ago(combreloc-LDFLAGS): New variable. Add it to LDFALGS.so,
drepper [Wed, 29 Aug 2001 18:05:16 +0000 (18:05 +0000)]
(combreloc-LDFLAGS): New variable.  Add it to LDFALGS.so,
LDFLAGS-rtld, and +link.

18 years agoUpdate from translation team.
drepper [Wed, 29 Aug 2001 08:09:17 +0000 (08:09 +0000)]
Update from translation team.

18 years agoUpdate.
drepper [Wed, 29 Aug 2001 08:07:47 +0000 (08:07 +0000)]
Update.

18 years agoUpdate.
drepper [Wed, 29 Aug 2001 08:06:33 +0000 (08:06 +0000)]
Update.

18 years agoUpdate from translation team.
drepper [Wed, 29 Aug 2001 08:02:18 +0000 (08:02 +0000)]
Update from translation team.

18 years agoUpdate from translation team.
drepper [Wed, 29 Aug 2001 07:54:26 +0000 (07:54 +0000)]
Update from translation team.

18 years agoFix typo.
aj [Wed, 29 Aug 2001 07:23:19 +0000 (07:23 +0000)]
Fix typo.

18 years agoUpdate.
drepper [Tue, 28 Aug 2001 09:19:58 +0000 (09:19 +0000)]
Update.

18 years ago(pargdef): Function must take pointer to object.
drepper [Tue, 28 Aug 2001 09:17:24 +0000 (09:17 +0000)]
(pargdef): Function must take pointer to object.

18 years agoUpdate.
aj [Tue, 28 Aug 2001 08:06:07 +0000 (08:06 +0000)]
Update.

18 years ago * manual/libc-texinfo.sh: Add entry about free manuals.
aj [Tue, 28 Aug 2001 08:05:40 +0000 (08:05 +0000)]
* manual/libc-texinfo.sh: Add entry about free manuals.

* manual/contrib.texi (Contributors): Fix cross reference.

* manual/libc.texinfo (Copying): Include freemanuals.

* manual/Makefile (appendices): Add freemanuals.

* manual/freemanuals.texi: New file.
Patch by Brian Youmans <3diff@gnu.org>.

* manual/libm-err-tab.pl: Pretty print more platforms, print a
smaller table.

* manual/math.texi (Errors in Math Functions): Fix grammar, start
table on separate page.
Patch by Brian Youmans <3diff@gnu.org>.

18 years agoUpdate.
drepper [Tue, 28 Aug 2001 04:52:25 +0000 (04:52 +0000)]
Update.

18 years ago(vsyslog): Try a bit harder to use syslogd. If the connection went down after we...
drepper [Tue, 28 Aug 2001 04:51:00 +0000 (04:51 +0000)]
(vsyslog): Try a bit harder to use syslogd.  If the connection went down after we first used it try to connect again and resend the message before printing
to the console.

18 years agoUpdate.
drepper [Tue, 28 Aug 2001 04:30:04 +0000 (04:30 +0000)]
Update.

18 years ago(__libc_rwlock_t): Only define to non-opaque type if __USE_UNIX98.
drepper [Tue, 28 Aug 2001 04:27:25 +0000 (04:27 +0000)]
(__libc_rwlock_t): Only define to non-opaque type if __USE_UNIX98.

18 years ago(__strnlen): Fix for maxlens with top bit set.
drepper [Tue, 28 Aug 2001 04:25:27 +0000 (04:25 +0000)]
(__strnlen): Fix for maxlens with top bit set.

18 years ago(main): Test strnlen (, -1) too.
drepper [Tue, 28 Aug 2001 04:24:49 +0000 (04:24 +0000)]
(main): Test strnlen (, -1) too.

18 years ago(searchstring): Use correct length for comparison.
drepper [Tue, 28 Aug 2001 04:22:59 +0000 (04:22 +0000)]
(searchstring): Use correct length for comparison.
(strtabadd): Account total size correct if new string has old string as
substring.

18 years agoUpdate.
drepper [Mon, 27 Aug 2001 17:17:42 +0000 (17:17 +0000)]
Update.

18 years ago(dl_main): Update call to _dl_lookup_symbol.
drepper [Mon, 27 Aug 2001 16:21:32 +0000 (16:21 +0000)]
(dl_main): Update call to _dl_lookup_symbol.

18 years agoUpdate.
aj [Mon, 27 Aug 2001 13:55:20 +0000 (13:55 +0000)]
Update.

18 years ago * sysdeps/i386/fpu/libm-test-ulps (float): Add ulps for new tests.
aj [Mon, 27 Aug 2001 13:55:12 +0000 (13:55 +0000)]
* sysdeps/i386/fpu/libm-test-ulps (float): Add ulps for new tests.

* math/libm-test.inc (j0_test): Add extra tests.
* sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Use |x|,
not x, in Hankel approximation.
Patches by Stephen L Moshier.

18 years agoUpdate.
drepper [Mon, 27 Aug 2001 05:32:49 +0000 (05:32 +0000)]
Update.

18 years ago(__libc_lock_t): Define non-opaque lock types also if _IO_MTSAFE_IO is defined.
drepper [Mon, 27 Aug 2001 05:29:34 +0000 (05:29 +0000)]
(__libc_lock_t): Define non-opaque lock types also if _IO_MTSAFE_IO is defined.

18 years agoUpdate.
drepper [Mon, 27 Aug 2001 00:59:51 +0000 (00:59 +0000)]
Update.

18 years agoAdd forward declaration for struct link_map.
drepper [Mon, 27 Aug 2001 00:59:13 +0000 (00:59 +0000)]
Add forward declaration for struct link_map.

18 years agoUpdate.
drepper [Mon, 27 Aug 2001 00:45:49 +0000 (00:45 +0000)]
Update.

18 years agoRegenerated.
drepper [Mon, 27 Aug 2001 00:45:11 +0000 (00:45 +0000)]
Regenerated.

18 years agoFix test for .rela.dyn section.
drepper [Mon, 27 Aug 2001 00:44:48 +0000 (00:44 +0000)]
Fix test for .rela.dyn section.

18 years agoUpdate.
drepper [Mon, 27 Aug 2001 00:19:07 +0000 (00:19 +0000)]
Update.

18 years agoUpdate calls to _dl_lookup_*.
drepper [Mon, 27 Aug 2001 00:13:54 +0000 (00:13 +0000)]
Update calls to _dl_lookup_*.

18 years agoUpdate.
drepper [Sun, 26 Aug 2001 22:28:16 +0000 (22:28 +0000)]
Update.

18 years ago(elf_machine_lookup_noplt_p, elf_machine_lookup_noexec_p): Remove.
drepper [Sun, 26 Aug 2001 22:26:33 +0000 (22:26 +0000)]
(elf_machine_lookup_noplt_p, elf_machine_lookup_noexec_p): Remove.
(elf_machine_type_class): Define.

18 years ago(ELF_RTYPE_CLASS_PLT, ELF_RTYPE_CLASS_COPY): Define.
drepper [Sun, 26 Aug 2001 22:25:26 +0000 (22:25 +0000)]
(ELF_RTYPE_CLASS_PLT, ELF_RTYPE_CLASS_COPY): Define.
Adjust prototypes for _dl_lookup_symbol and _dl_lookup_versioned_symbol.

18 years ago(struct link_map): Replace noexec and noplt fields in l_lookup_cache with
drepper [Sun, 26 Aug 2001 22:24:55 +0000 (22:24 +0000)]
(struct link_map): Replace noexec and noplt fields in l_lookup_cache with
type_class field.

18 years ago(do_lookup): Pass around just type_class instead of noexec, noplt pair.
drepper [Sun, 26 Aug 2001 22:24:08 +0000 (22:24 +0000)]
(do_lookup): Pass around just type_class instead of noexec, noplt pair.

18 years ago(_dl_lookup_symbol): Take type_clas parameter now.
drepper [Sun, 26 Aug 2001 22:23:01 +0000 (22:23 +0000)]
(_dl_lookup_symbol): Take type_clas parameter now.
Pass around just type_class instead of noexec, noplt pair.
(_dl_lookup_versioned_symbol): Likewise.
(_dl_lookup_symbol_skip): Pass around just type_class instead of
noexec, noplt pair.
(_dl_lookup_versioned_symbol_skip): Likewise.
(_dl_do_lookup, _dl_do_lookup_versioned): Likewise.

18 years ago(RESOLVE_MAP, RESOLVE): Use elf_machine_type_class
drepper [Sun, 26 Aug 2001 22:22:09 +0000 (22:22 +0000)]
(RESOLVE_MAP, RESOLVE): Use elf_machine_type_class
instead of elf_machine_lookup_noexec_p and elf_machine_lookup_noplt_p.
Pass type_class to _dl_lookup_*.

18 years ago(elf_machine_rel): Remove obsolete comment.
drepper [Sun, 26 Aug 2001 19:02:16 +0000 (19:02 +0000)]
(elf_machine_rel): Remove obsolete comment.

18 years agoUpdate.
drepper [Sun, 26 Aug 2001 17:37:42 +0000 (17:37 +0000)]
Update.

18 years ago(Advanced gettext functions): Change description of plural forms for Slovak.
drepper [Sun, 26 Aug 2001 17:37:15 +0000 (17:37 +0000)]
(Advanced gettext functions): Change description of plural forms for Slovak.

18 years ago(Low-Level Time String Parsing): Fix %z description.
drepper [Sun, 26 Aug 2001 17:27:53 +0000 (17:27 +0000)]
(Low-Level Time String Parsing): Fix %z description.