[PATCH v3 4/6] libwine: Don't call exit in the shared library.

Jens Reyer jre.winesim at gmail.com
Fri Oct 7 11:39:24 CDT 2016


From: Michael Gilbert <mgilbert at debian.org>
Signed-off-by: Jens Reyer <jre.winesim at gmail.com>
---
 libs/wine/ldt.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libs/wine/ldt.c b/libs/wine/ldt.c
index 0946407..8bdda00 100644
--- a/libs/wine/ldt.c
+++ b/libs/wine/ldt.c
@@ -192,7 +192,7 @@ static int internal_set_entry( unsigned short sel, const LDT_ENTRY *entry )
         {
             perror("i386_set_ldt");
             fprintf( stderr, "Did you reconfigure the kernel with \"options USER_LDT\"?\n" );
-            exit(1);
+            abort();
         }
     }
 #elif defined(__svr4__) || defined(_SCO_DS)
@@ -213,7 +213,7 @@ static int internal_set_entry( unsigned short sel, const LDT_ENTRY *entry )
         perror("i386_set_ldt");
 #else
     fprintf( stderr, "No LDT support on this platform\n" );
-    exit(1);
+    abort();
 #endif
 
     if (ret >= 0)
-- 
2.9.3




More information about the wine-patches mailing list