]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Fix up exit() to make sure that things are cleaned up properly on error
authorBradley Nicholes <bnicholes@apache.org>
Mon, 29 Oct 2001 22:55:13 +0000 (22:55 +0000)
committerBradley Nicholes <bnicholes@apache.org>
Mon, 29 Oct 2001 22:55:13 +0000 (22:55 +0000)
conditions

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91690 13f79535-47bb-0310-9956-ffa450edef68

os/netware/os.h

index df9e1feabe963e8745307b23236881c74b91c34f..e39150221e4552b2250ac5d2ee0f6f02e1232609 100644 (file)
 #define PLATFORM "NETWARE"
 #endif
 
+#include <screen.h>
+
 #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 */