[libxml2] Remove potential calls to exit()



commit 7457c67fb95e9b129f793d48ad5e4142cf0f228b
Author: Daniel Veillard <veillard redhat com>
Date:   Thu Oct 11 12:25:51 2012 +0800

    Remove potential calls to exit()

 threads.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/threads.c b/threads.c
index 7e85a26..c8414e1 100644
--- a/threads.c
+++ b/threads.c
@@ -252,7 +252,6 @@ xmlMutexLock(xmlMutexPtr tok)
 #ifdef DEBUG_THREADS
         xmlGenericError(xmlGenericErrorContext,
                         "xmlMutexLock():BeOS:Couldn't aquire semaphore\n");
-        exit();
 #endif
     }
     tok->tid = find_thread(NULL);
@@ -500,7 +499,6 @@ __xmlGlobalInitMutexLock(void)
 #ifdef DEBUG_THREADS
         xmlGenericError(xmlGenericErrorContext,
                         "xmlGlobalInitMutexLock():BeOS:Couldn't acquire semaphore\n");
-        exit();
 #endif
     }
 #endif



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]