[PATCH 5/5] Add abort(3) to the end of FatalError in case one of DDX functions fails to abort

Mikhail Gusarov dottedmag at dottedmag.net
Wed May 12 13:33:14 PDT 2010


Also it makes gcc happier.

Signed-off-by: Mikhail Gusarov <dottedmag at dottedmag.net>
---
 os/log.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/os/log.c b/os/log.c
index 0781659..a482616 100644
--- a/os/log.c
+++ b/os/log.c
@@ -545,6 +545,10 @@ FatalError(const char *f, ...)
 	AbortServer();
     } else
 	OsAbort();
+    /*
+     * OsVendorFatalError, AbortServer or OsAbort failed to abort.
+     */
+    abort();
     /*NOTREACHED*/
 }
 
-- 
1.7.1



More information about the xorg-devel mailing list