diff options
author | Jakub Jelinek <jakub@redhat.com> | 2004-11-16 09:11:27 +0000 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2004-11-16 09:11:27 +0000 |
commit | 1c1465a4f7e7af0a5c5b512adf82af8174071431 (patch) | |
tree | 4788a66a64bf6068563dbd547ddff6b9c5dee850 /sysdeps/posix | |
parent | 4e2e518f6a0ca001e13c06d7463fb179e1e96124 (diff) | |
download | glibc-1c1465a4f7e7af0a5c5b512adf82af8174071431.tar.gz glibc-1c1465a4f7e7af0a5c5b512adf82af8174071431.tar.xz glibc-1c1465a4f7e7af0a5c5b512adf82af8174071431.zip |
Updated to fedora-glibc-20041116T0856
Diffstat (limited to 'sysdeps/posix')
-rw-r--r-- | sysdeps/posix/libc_fatal.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/sysdeps/posix/libc_fatal.c b/sysdeps/posix/libc_fatal.c index fac8cbd051..a5c5a2d1f7 100644 --- a/sysdeps/posix/libc_fatal.c +++ b/sysdeps/posix/libc_fatal.c @@ -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) |