From: Bradley Nicholes Date: Mon, 29 Oct 2001 22:55:13 +0000 (+0000) Subject: Fix up exit() to make sure that things are cleaned up properly on error X-Git-Tag: 2.0.27~8 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=49a703b254d7030bb66de5e71e4300765d2587ae;p=thirdparty%2Fapache%2Fhttpd.git Fix up exit() to make sure that things are cleaned up properly on error conditions git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91690 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/os/netware/os.h b/os/netware/os.h index df9e1feabe9..e39150221e4 100644 --- a/os/netware/os.h +++ b/os/netware/os.h @@ -63,12 +63,14 @@ #define PLATFORM "NETWARE" #endif +#include + #define CASE_BLIND_FILESYSTEM #define NO_WRITEV #define APACHE_MPM_DIR "server/mpm/netware" /* generated on unix */ #define getpid NXThreadGetId -//#define exit(s) _exit(s) +#define exit(s) if(s){pressanykey();apr_terminate();}exit(s); #endif /* ! APACHE_OS_H */