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

	* elf/dl-minimal.c (__assert_fail): Change error string.  It's
	most of the time no bug in ld.so.
	(__assert_perror_fail): Likewise.
This commit is contained in:
Ulrich Drepper 2001-04-11 04:53:37 +00:00
parent 122dbcec35
commit 28966366a2
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2001-04-10 Ulrich Drepper <drepper@redhat.com>
* elf/dl-minimal.c (__assert_fail): Change error string. It's
most of the time no bug in ld.so.
(__assert_perror_fail): Likewise.
2001-04-11 Hans-Peter Nilsson <hp@axis.com> 2001-04-11 Hans-Peter Nilsson <hp@axis.com>
* sysdeps/generic/bits/fenv.h (fexcept_t): Change default type * sysdeps/generic/bits/fenv.h (fexcept_t): Change default type

View File

@ -188,7 +188,7 @@ __assert_fail (const char *assertion,
const char *file, unsigned int line, const char *function) const char *file, unsigned int line, const char *function)
{ {
_dl_fatal_printf ("\ _dl_fatal_printf ("\
BUG IN DYNAMIC LINKER ld.so: %s: %u: %s%sAssertion `%s' failed!\n", Inconsistency detected by ld.so: %s: %u: %s%sAssertion `%s' failed!\n",
file, line, function ?: "", function ? ": " : "", file, line, function ?: "", function ? ": " : "",
assertion); assertion);
@ -201,7 +201,7 @@ __assert_perror_fail (int errnum,
{ {
char errbuf[64]; char errbuf[64];
_dl_fatal_printf ("\ _dl_fatal_printf ("\
BUG IN DYNAMIC LINKER ld.so: %s: %u: %s%sUnexpected error: %s\n", Inconsistency detected by ld.so: %s: %u: %s%sUnexpected error: %s\n",
file, line, function ?: "", function ? ": " : "", file, line, function ?: "", function ? ": " : "",
__strerror_r (errnum, errbuf, sizeof (errbuf))); __strerror_r (errnum, errbuf, sizeof (errbuf)));
} }