2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 06:25:31 +00:00

remove exit calls after FATAL_ERROR

This commit is contained in:
Mark Andrews
2018-04-18 14:18:08 +10:00
committed by Ondřej Surý
parent 686edad5c5
commit f8d2a46daa

View File

@@ -9,8 +9,6 @@
* information regarding copyright ownership. * information regarding copyright ownership.
*/ */
/* $Id$ */
/* This code uses functions which are only available on Server 2003 and /* This code uses functions which are only available on Server 2003 and
* higher, and Windows XP and higher. * higher, and Windows XP and higher.
* *
@@ -498,7 +496,6 @@ iocompletionport_createthreads(int total_threads, isc_socketmgr_t *manager) {
ISC_MSG_FAILED, ISC_MSG_FAILED,
"Can't create IOCP thread: %s"), "Can't create IOCP thread: %s"),
strbuf); strbuf);
exit(1);
} }
} }
} }
@@ -526,7 +523,6 @@ iocompletionport_init(isc_socketmgr_t *manager) {
"HeapCreate() failed during " "HeapCreate() failed during "
"initialization: %s"), "initialization: %s"),
strbuf); strbuf);
exit(1);
} }
manager->maxIOCPThreads = min(isc_os_ncpus() + 1, MAX_IOCPTHREADS); manager->maxIOCPThreads = min(isc_os_ncpus() + 1, MAX_IOCPTHREADS);
@@ -544,7 +540,6 @@ iocompletionport_init(isc_socketmgr_t *manager) {
"CreateIoCompletionPort() failed " "CreateIoCompletionPort() failed "
"during initialization: %s"), "during initialization: %s"),
strbuf); strbuf);
exit(1);
} }
/* /*
@@ -589,7 +584,6 @@ iocompletionport_update(isc_socket_t *sock) {
"CreateIoCompletionPort() failed " "CreateIoCompletionPort() failed "
"during initialization: %s"), "during initialization: %s"),
strbuf); strbuf);
exit(1);
} }
InterlockedIncrement(&sock->manager->iocp_total); InterlockedIncrement(&sock->manager->iocp_total);
@@ -641,7 +635,6 @@ initialise(void) {
isc_msgcat_get(isc_msgcat, ISC_MSGSET_GENERAL, isc_msgcat_get(isc_msgcat, ISC_MSGSET_GENERAL,
ISC_MSG_FAILED, "failed"), ISC_MSG_FAILED, "failed"),
strbuf); strbuf);
exit(1);
} }
/* /*
* The following APIs do not exist as functions in a library, but * The following APIs do not exist as functions in a library, but