[PATCH v3 2/6] libwine: Don't call exit in the shared library.
Jens Reyer
jre.winesim at gmail.com
Fri Oct 7 11:39:22 CDT 2016
From: Michael Gilbert <mgilbert at debian.org>
Signed-off-by: Jens Reyer <jre.winesim at gmail.com>
---
libs/wine/config.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/libs/wine/config.c b/libs/wine/config.c
index 3b5dd68..c0b3bdd 100644
--- a/libs/wine/config.c
+++ b/libs/wine/config.c
@@ -68,7 +68,7 @@ static void fatal_error( const char *err, ... )
fprintf( stderr, "wine: " );
vfprintf( stderr, err, args );
va_end( args );
- exit(1);
+ abort();
}
/* die on a fatal error */
@@ -81,7 +81,7 @@ static void fatal_perror( const char *err, ... )
vfprintf( stderr, err, args );
perror( " " );
va_end( args );
- exit(1);
+ abort();
}
/* malloc wrapper */
--
2.9.3
More information about the wine-patches
mailing list