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

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


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

diff --git a/libs/wpp/preproc.c b/libs/wpp/preproc.c
index 21830d6..b0de2e0 100644
--- a/libs/wpp/preproc.c
+++ b/libs/wpp/preproc.c
@@ -711,7 +711,7 @@ end:
 static void wpp_default_error(const char *file, int line, int col, const char *near, const char *msg, va_list ap)
 {
 	generic_msg(msg, "Error", near, ap);
-	exit(1);
+	abort();
 }
 
 static void wpp_default_warning(const char *file, int line, int col, const char *near, const char *msg, va_list ap)
@@ -759,5 +759,5 @@ void pp_internal_error(const char *file, int line, const char *s, ...)
 	vfprintf(stderr, s, ap);
 	fprintf(stderr, "\n");
 	va_end(ap);
-	exit(3);
+	abort();
 }
-- 
2.9.3




More information about the wine-patches mailing list