mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03:00
Update.
2004-11-15 Jakub Jelinek <jakub@redhat.com> * posix/bug-regex24.c: Include string.h. * nis/nis_clone_obj.c (nis_clone_object): Rename out3 label to out2 and out2 to out. Remove out label. Formatting. 2004-11-15 Ulrich Drepper <drepper@redhat.com> * include/stdio.h: Do not mark __libc_message as noreturn. * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_fatal): Add loop to fool gcc. Include <stdbool.h>. * sysdeps/posix/libc_fatal.c (__libc_fatal): Add loop to fool gcc. (__libc_message): Fix typo.
This commit is contained in:
@ -131,9 +131,9 @@ __libc_message (int do_abort, const char *fmt, ...)
|
||||
|
||||
va_end (ap_copy);
|
||||
|
||||
if (do_abort()
|
||||
/* Kill the application. */
|
||||
abort ();
|
||||
if (do_abort)
|
||||
/* Kill the application. */
|
||||
abort ();
|
||||
}
|
||||
|
||||
|
||||
@ -141,6 +141,8 @@ void
|
||||
__libc_fatal (message)
|
||||
const char *message;
|
||||
{
|
||||
__libc_message (1, "%s", message);
|
||||
/* The loop is added only to keep gcc happy. */
|
||||
while (1)
|
||||
__libc_message (1, "%s", message);
|
||||
}
|
||||
libc_hidden_def (__libc_fatal)
|
||||
|
Reference in New Issue
Block a user