# Alphabetically
UNIXOBJS = unix/pk11_api.@O@ \
- unix/app.@O@ unix/dir.@O@ unix/errno.@O@ \
+ unix/dir.@O@ unix/errno.@O@ \
unix/errno2result.@O@ unix/file.@O@ unix/fsaccess.@O@ \
unix/interfaceiter.@O@ unix/meminfo.@O@ \
unix/net.@O@ unix/os.@O@ unix/resource.@O@ unix/socket.@O@ \
# Alphabetically
OBJS = pk11.@O@ pk11_result.@O@ \
- aes.@O@ assertions.@O@ backtrace.@O@ base32.@O@ base64.@O@ \
+ aes.@O@ app.@O@ assertions.@O@ \
+ backtrace.@O@ base32.@O@ base64.@O@ \
bind9.@O@ buffer.@O@ bufferlist.@O@ \
commandline.@O@ counter.@O@ crc64.@O@ error.@O@ entropy.@O@ \
event.@O@ hash.@O@ ht.@O@ heap.@O@ hex.@O@ hmac.@O@ \
# Alphabetically
SRCS = pk11.c pk11_result.c \
- aes.c assertions.c backtrace.c base32.c base64.c bind9.c \
+ aes.c app.c assertions.c \
+ backtrace.c base32.c base64.c bind9.c \
buffer.c bufferlist.c commandline.c counter.c crc64.c \
entropy.c error.c event.c hash.c ht.c heap.c hex.c hmac.c \
httpd.c iterated_hash.c \
/*! \file */
-#include <sys/param.h> /* Openserver 5.0.6A and FD_SETSIZE */
#include <sys/types.h>
#include <stdbool.h>
#include <stddef.h>
-#include <inttypes.h>
#include <stdlib.h>
#include <errno.h>
#include <unistd.h>
+
+#ifndef WIN32
+#include <inttypes.h>
#include <signal.h>
#include <sys/time.h>
-#ifdef HAVE_EPOLL
-#include <sys/epoll.h>
-#endif
+#endif /* WIN32 */
#include <isc/platform.h>
#include <isc/atomic.h>
#include <isc/string.h>
#include <isc/task.h>
#include <isc/time.h>
+#include <isc/thread.h>
#include <isc/util.h>
+#ifdef WIN32
+#include <process.h>
+#else /* WIN32 */
#include <pthread.h>
+#endif /* WIN32 */
/*%
* For BIND9 internal applications built with threads, we use a single app
* context and let multiple worker, I/O, timer threads do actual jobs.
- * For other cases (including BIND9 built without threads) an app context acts
- * as an event loop dispatching various events.
*/
-static pthread_t blockedthread;
+
+static isc_thread_t blockedthread;
static atomic_bool is_running;
+#ifdef WIN32
+/*
+ * We need to remember which thread is the main thread...
+ */
+static isc_thread_t main_thread;
+#endif
+
/*
- * The application context of this module. This implementation actually
- * doesn't use it. (This may change in the future).
+ * The application context of this module.
*/
#define APPCTX_MAGIC ISC_MAGIC('A', 'p', 'c', 'x')
#define VALID_APPCTX(c) ISC_MAGIC_VALID(c, APPCTX_MAGIC)
+#ifdef WIN32
+#define NUM_EVENTS 2
+
+enum {
+ RELOAD_EVENT,
+ SHUTDOWN_EVENT
+};
+#endif /* WIN32 */
+
struct isc_appctx {
unsigned int magic;
isc_mem_t *mctx;
atomic_bool want_shutdown;
atomic_bool want_reload;
atomic_bool blocked;
+#ifdef WIN32
+ HANDLE hEvents[NUM_EVENTS];
+#else /* WIN32 */
isc_mutex_t readylock;
isc_condition_t ready;
+#endif /* WIN32 */
};
static isc_appctx_t isc_g_appctx;
+#ifndef WIN32
static void
handle_signal(int sig, void (*handler)(int)) {
struct sigaction sa;
sig, strbuf);
}
}
+#endif
isc_result_t
isc_app_ctxstart(isc_appctx_t *ctx) {
- int presult;
- sigset_t sset;
- char strbuf[ISC_STRERRORSIZE];
-
REQUIRE(VALID_APPCTX(ctx));
/*
isc_mutex_init(&ctx->lock);
+#ifndef WIN32
isc_mutex_init(&ctx->readylock);
isc_condition_init(&ctx->ready);
+#endif /* WIN32 */
ISC_LIST_INIT(ctx->on_run);
atomic_init(&ctx->want_reload, false);
atomic_init(&ctx->blocked, false);
+#ifdef WIN32
+ main_thread = GetCurrentThread();
+
+ /* Create the reload event in a non-signaled state */
+ ctx->hEvents[RELOAD_EVENT] = CreateEvent(NULL, FALSE, FALSE, NULL);
+
+ /* Create the shutdown event in a non-signaled state */
+ ctx->hEvents[SHUTDOWN_EVENT] = CreateEvent(NULL, FALSE, FALSE, NULL);
+#else /* WIN32 */
+ int presult;
+ sigset_t sset;
+ char strbuf[ISC_STRERRORSIZE];
+
/*
* Always ignore SIGPIPE.
*/
strbuf);
}
+#endif /* WIN32 */
+
return (ISC_R_SUCCESS);
}
}
LOCK(&ctx->lock);
+ ISC_LINK_INIT(event, ev_link);
ISC_LIST_APPEND(ctx->on_run, event, ev_link);
UNLOCK(&ctx->lock);
isc_app_ctxrun(isc_appctx_t *ctx) {
isc_event_t *event, *next_event;
isc_task_t *task;
- sigset_t sset;
- int sig;
bool exp_false = false;
bool exp_true = true;
REQUIRE(VALID_APPCTX(ctx));
+#ifdef WIN32
+ REQUIRE(main_thread == GetCurrentThread());
+#endif
+
if (atomic_compare_exchange_weak_acq_rel(
&ctx->running, &exp_false, true) == true)
{
UNLOCK(&ctx->lock);
}
+#ifndef WIN32
/*
* BIND9 internal tools using multiple contexts do not
* rely on signal. */
if (isc_bind9 && ctx != &isc_g_appctx) {
return (ISC_R_SUCCESS);
}
+#endif /* WIN32 */
/*
* There is no danger if isc_app_shutdown() is called before we
* sigwait().
*/
while (atomic_load_acquire(&ctx->want_shutdown) == false) {
+#ifdef WIN32
+ DWORD dwWaitResult = \
+ WaitForMultipleObjects(NUM_EVENTS, ctx->hEvents,
+ FALSE, INFINITE);
+
+ /* See why we returned */
+
+ if (WaitSucceeded(dwWaitResult, NUM_EVENTS)) {
+ /*
+ * The return was due to one of the events
+ * being signaled
+ */
+ switch (WaitSucceededIndex(dwWaitResult)) {
+ case RELOAD_EVENT:
+ atomic_store_release(&ctx->want_reload, true);
+
+ break;
+
+ case SHUTDOWN_EVENT:
+ atomic_store_release(&ctx->want_shutdown, true);
+ break;
+ }
+ }
+#else /* WIN32 */
if (isc_bind9) {
+ sigset_t sset;
+ int sig;
/*
* BIND9 internal; single context:
* Wait for SIGHUP, SIGINT, or SIGTERM.
UNLOCK(&ctx->readylock);
}
}
-
+#endif /* WIN32 */
exp_true = true;
if (atomic_compare_exchange_weak_acq_rel(&ctx->want_reload,
&exp_true,
&exp_false,
true))
{
+#ifdef WIN32
+ SetEvent(ctx->hEvents[SHUTDOWN_EVENT]);
+#else /* WIN32 */
if (isc_bind9 && ctx != &isc_g_appctx) {
/* BIND9 internal, but using multiple contexts */
atomic_store_release(&ctx->want_shutdown, true);
atomic_store_release(&ctx->want_shutdown, true);
SIGNAL(&ctx->ready);
}
+#endif /* WIN32 */
}
}
* Don't send the reload signal if we're shutting down.
*/
if (atomic_load_acquire(&ctx->shutdown_requested) == false) {
+#ifdef WIN32
+ SetEvent(ctx->hEvents[RELOAD_EVENT]);
+#else /* WIN32 */
if (isc_bind9 && ctx != &isc_g_appctx) {
/* BIND9 internal, but using multiple contexts */
atomic_store_release(&ctx->want_reload, true);
atomic_store_release(&ctx->want_reload, true);
SIGNAL(&ctx->ready);
}
-
+#endif /* WIN32 */
}
}
REQUIRE(VALID_APPCTX(ctx));
isc_mutex_destroy(&ctx->lock);
+#ifndef WIN32
isc_mutex_destroy(&ctx->readylock);
isc_condition_destroy(&ctx->ready);
+#endif /* WIN32 */
}
void
void
isc_app_block(void) {
- sigset_t sset;
- REQUIRE(isc_g_appctx.running);
- REQUIRE(!isc_g_appctx.blocked);
+ bool exp_false = false;
+ REQUIRE(atomic_load_acquire(&isc_g_appctx.running));
+ REQUIRE(atomic_compare_exchange_weak_acq_rel(&isc_g_appctx.blocked,
+ &exp_false, true));
- atomic_store_release(&isc_g_appctx.blocked, true);
+#ifdef WIN32
+ blockedthread = GetCurrentThread();
+#else /* WIN32 */
+ sigset_t sset;
blockedthread = pthread_self();
RUNTIME_CHECK(sigemptyset(&sset) == 0 &&
sigaddset(&sset, SIGINT) == 0 &&
sigaddset(&sset, SIGTERM) == 0);
RUNTIME_CHECK(pthread_sigmask(SIG_UNBLOCK, &sset, NULL) == 0);
+#endif /* WIN32 */
}
void
isc_app_unblock(void) {
- sigset_t sset;
bool exp_true = true;
REQUIRE(atomic_load_acquire(&isc_g_appctx.running));
&exp_true,
false));
+#ifdef WIN32
+ REQUIRE(blockedthread == GetCurrentThread());
+#else /* WIN32 */
REQUIRE(blockedthread == pthread_self());
+ sigset_t sset;
RUNTIME_CHECK(sigemptyset(&sset) == 0 &&
sigaddset(&sset, SIGINT) == 0 &&
sigaddset(&sset, SIGTERM) == 0);
RUNTIME_CHECK(pthread_sigmask(SIG_BLOCK, &sset, NULL) == 0);
+#endif /* WIN32 */
}
isc_result_t
REQUIRE(ctxp != NULL && *ctxp == NULL);
ctx = isc_mem_get(mctx, sizeof(*ctx));
- if (ctx == NULL)
- return (ISC_R_NOMEMORY);
ctx->magic = APPCTX_MAGIC;
REQUIRE(ctxp != NULL);
ctx = *ctxp;
- REQUIRE(VALID_APPCTX(ctx));
*ctxp = NULL;
+ REQUIRE(VALID_APPCTX(ctx));
ctx->magic = 0;
# Alphabetically
OBJS = pk11_api.@O@ \
- app.@O@ dir.@O@ errno.@O@ errno2result.@O@ \
+ dir.@O@ errno.@O@ errno2result.@O@ \
file.@O@ fsaccess.@O@ interfaceiter.@O@ \
meminfo.@O@ \
net.@O@ os.@O@ resource.@O@ socket.@O@ stdio.@O@ stdtime.@O@ \
# Alphabetically
SRCS = pk11_api.c \
- app.c dir.c errno.c errno2result.c \
+ dir.c errno.c errno2result.c \
file.c fsaccess.c interfaceiter.c meminfo.c \
net.c os.c resource.c socket.c stdio.c stdtime.c \
syslog.c time.c
+++ /dev/null
-/*
- * Copyright (C) Internet Systems Consortium, Inc. ("ISC")
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * See the COPYRIGHT file distributed with this work for additional
- * information regarding copyright ownership.
- */
-
-#include <sys/types.h>
-
-#include <stdbool.h>
-#include <stddef.h>
-#include <stdlib.h>
-#include <errno.h>
-#include <unistd.h>
-#include <process.h>
-
-#include <isc/app.h>
-#include <isc/atomic.h>
-#include <isc/condition.h>
-#include <isc/mem.h>
-#include <isc/mutex.h>
-#include <isc/event.h>
-#include <isc/platform.h>
-#include <isc/string.h>
-#include <isc/task.h>
-#include <isc/time.h>
-#include <isc/util.h>
-#include <isc/thread.h>
-
-/*%
- * For BIND9 internal applications built with threads, we use a single app
- * context and let multiple worker, I/O, timer threads do actual jobs.
- */
-
-static isc_thread_t blockedthread;
-static atomic_bool is_running;
-
-#define APPCTX_MAGIC ISC_MAGIC('A', 'p', 'c', 'x')
-#define VALID_APPCTX(c) ISC_MAGIC_VALID(c, APPCTX_MAGIC)
-
-/* Events to wait for */
-
-#define NUM_EVENTS 2
-
-enum {
- RELOAD_EVENT,
- SHUTDOWN_EVENT
-};
-
-struct isc_appctx {
- unsigned int magic;
- isc_mem_t *mctx;
- isc_eventlist_t on_run;
- isc_mutex_t lock;
- atomic_bool shutdown_requested;
- atomic_bool running;
- /*
- * We assume that 'want_shutdown' can be read and written atomically.
- */
- atomic_bool want_shutdown;
- /*
- * We assume that 'want_reload' can be read and written atomically.
- */
- atomic_bool want_reload;
-
- atomic_bool blocked;
-
- HANDLE hEvents[NUM_EVENTS];
-};
-
-static isc_appctx_t isc_g_appctx;
-
-/*
- * We need to remember which thread is the main thread...
- */
-static isc_thread_t main_thread;
-
-isc_result_t
-isc_app_ctxstart(isc_appctx_t *ctx) {
-
- REQUIRE(VALID_APPCTX(ctx));
-
- /*
- * Start an ISC library application.
- */
-
- main_thread = GetCurrentThread();
-
- isc_mutex_init(&ctx->lock);
-
- atomic_init(&ctx->shutdown_requested, false);
- atomic_init(&ctx->running, false);
- atomic_init(&ctx->want_shutdown, false);
- atomic_init(&ctx->want_reload, false);
- atomic_init(&ctx->blocked, false);
-
- /* Create the reload event in a non-signaled state */
- ctx->hEvents[RELOAD_EVENT] = CreateEvent(NULL, FALSE, FALSE, NULL);
-
- /* Create the shutdown event in a non-signaled state */
- ctx->hEvents[SHUTDOWN_EVENT] = CreateEvent(NULL, FALSE, FALSE, NULL);
-
- ISC_LIST_INIT(ctx->on_run);
- return (ISC_R_SUCCESS);
-}
-
-isc_result_t
-isc_app_start(void) {
- isc_g_appctx.magic = APPCTX_MAGIC;
- isc_g_appctx.mctx = NULL;
- /* The remaining members will be initialized in ctxstart() */
-
- return (isc_app_ctxstart(&isc_g_appctx));
-}
-
-isc_result_t
-isc_app_onrun(isc_mem_t *mctx, isc_task_t *task, isc_taskaction_t action,
- void *arg)
-{
- return (isc_app_ctxonrun(&isc_g_appctx, mctx, task, action, arg));
-}
-
-isc_result_t
-isc_app_ctxonrun(isc_appctx_t *ctx, isc_mem_t *mctx, isc_task_t *task,
- isc_taskaction_t action, void *arg)
-{
- isc_event_t *event;
- isc_task_t *cloned_task = NULL;
- isc_result_t result;
-
- if (atomic_load_acquire(&ctx->running)) {
- return (ISC_R_ALREADYRUNNING);
- }
-
- /*
- * Note that we store the task to which we're going to send the event
- * in the event's "sender" field.
- */
- isc_task_attach(task, &cloned_task);
- event = isc_event_allocate(mctx, cloned_task, ISC_APPEVENT_SHUTDOWN,
- action, arg, sizeof(*event));
- if (event == NULL) {
- return (ISC_R_NOMEMORY);
- }
-
- LOCK(&ctx->lock);
- ISC_LINK_INIT(event, ev_link);
- ISC_LIST_APPEND(ctx->on_run, event, ev_link);
- UNLOCK(&ctx->lock);
-
- return (ISC_R_SUCCESS);
-}
-
-isc_result_t
-isc_app_ctxrun(isc_appctx_t *ctx) {
- bool exp_true = true;
- bool exp_false = false;
- isc_event_t *event, *next_event;
- isc_task_t *task;
- HANDLE *pHandles = NULL;
- DWORD dwWaitResult;
-
- REQUIRE(VALID_APPCTX(ctx));
-
- REQUIRE(main_thread == GetCurrentThread());
-
- LOCK(&ctx->lock);
- if (atomic_compare_exchange_weak(&ctx->running, &exp_false, true)) {
- /*
- * Post any on-run events (in FIFO order).
- */
- for (event = ISC_LIST_HEAD(ctx->on_run);
- event != NULL;
- event = next_event) {
- next_event = ISC_LIST_NEXT(event, ev_link);
- ISC_LIST_UNLINK(ctx->on_run, event, ev_link);
- task = event->ev_sender;
- event->ev_sender = NULL;
- isc_task_sendanddetach(&task, &event);
- }
- }
- UNLOCK(&ctx->lock);
-
- /*
- * There is no danger if isc_app_shutdown() is called before we wait
- * for events.
- */
-
- while (atomic_load_acquire(&ctx->want_shutdown) == false) {
- dwWaitResult = WaitForMultipleObjects(NUM_EVENTS, ctx->hEvents,
- FALSE, INFINITE);
-
- /* See why we returned */
-
- if (WaitSucceeded(dwWaitResult, NUM_EVENTS)) {
- /*
- * The return was due to one of the events
- * being signaled
- */
- switch (WaitSucceededIndex(dwWaitResult)) {
- case RELOAD_EVENT:
- atomic_store_release(&ctx->want_reload, true);
-
- break;
-
- case SHUTDOWN_EVENT:
- atomic_store_release(&ctx->want_shutdown, true);
- break;
- }
- }
-
- exp_true = true;
- if (atomic_compare_exchange_weak(&ctx->want_reload,
- &exp_true, false))
- {
- return (ISC_R_RELOAD);
- }
-
- if (atomic_load_acquire(&ctx->want_shutdown) &&
- atomic_load_acquire(&ctx->blocked)) {
- exit(-1);
- }
- }
-
- return (ISC_R_SUCCESS);
-}
-
-isc_result_t
-isc_app_run(void) {
- bool exp_false = false;
- isc_result_t result;
-
- REQUIRE(atomic_compare_exchange_weak(&is_running, &exp_false, true));
- result = isc_app_ctxrun(&isc_g_appctx);
- atomic_store_release(&is_running, false);
-
- return (result);
-}
-
-bool
-isc_app_isrunning() {
- return (is_running);
-}
-
-void
-isc_app_ctxshutdown(isc_appctx_t *ctx) {
- bool exp_false = false;
-
- REQUIRE(VALID_APPCTX(ctx));
- REQUIRE(atomic_load_acquire(&ctx->running));
-
- /*
- * If ctx->shutdown_requested == true, we are already shutting
- * down and we want to just bail out.
- */
- if (atomic_compare_exchange_weak(&ctx->shutdown_requested,
- &exp_false, true))
- {
- SetEvent(ctx->hEvents[SHUTDOWN_EVENT]);
- }
-}
-
-void
-isc_app_shutdown(void) {
- isc_app_ctxshutdown(&isc_g_appctx);
-}
-
-void
-isc_app_ctxsuspend(isc_appctx_t *ctx) {
-
- REQUIRE(VALID_APPCTX(ctx));
- REQUIRE(atomic_load(&ctx->running));
-
- /*
- * Don't send the reload signal if we're shutting down.
- */
- if (atomic_load_acquire(&ctx->shutdown_requested) == false) {
- SetEvent(ctx->hEvents[RELOAD_EVENT]);
- }
-}
-
-void
-isc_app_reload(void) {
- isc_app_ctxsuspend(&isc_g_appctx);
-}
-
-void
-isc_app_ctxfinish(isc_appctx_t *ctx) {
- REQUIRE(VALID_APPCTX(ctx));
-
- isc_mutex_destroy(&ctx->lock);
-}
-
-void
-isc_app_finish(void) {
- isc_app_ctxfinish(&isc_g_appctx);
-}
-
-void
-isc_app_block(void) {
- bool exp_false = false;
-
- REQUIRE(atomic_load_acquire(&isc_g_appctx.running));
- REQUIRE(atomic_compare_exchange_weak(&isc_g_appctx.blocked,
- &exp_false, true));
-
- blockedthread = GetCurrentThread();
-}
-
-void
-isc_app_unblock(void) {
- bool exp_true = true;
-
- REQUIRE(atomic_load_acquire(&isc_g_appctx.running));
- REQUIRE(atomic_compare_exchange_weak(&isc_g_appctx.blocked,
- &exp_true, false));
- REQUIRE(blockedthread == GetCurrentThread());
-}
-
-isc_result_t
-isc_appctx_create(isc_mem_t *mctx, isc_appctx_t **ctxp) {
- isc_appctx_t *ctx;
-
- REQUIRE(mctx != NULL);
- REQUIRE(ctxp != NULL && *ctxp == NULL);
-
- ctx = isc_mem_get(mctx, sizeof(*ctx));
-
- ctx->magic = APPCTX_MAGIC;
-
- ctx->mctx = NULL;
- isc_mem_attach(mctx, &ctx->mctx);
-
- *ctxp = ctx;
-
- return (ISC_R_SUCCESS);
-}
-
-void
-isc_appctx_destroy(isc_appctx_t **ctxp) {
- isc_appctx_t *ctx;
-
- REQUIRE(ctxp != NULL);
- ctx = *ctxp;
- *ctxp = NULL;
- REQUIRE(VALID_APPCTX(ctx));
-
- isc_mem_putanddetach(&ctx->mctx, ctx, sizeof(*ctx));
-}
</ClInclude>
</ItemGroup>
<ItemGroup>
- <ClCompile Include="app.c">
- <Filter>Win32 Source Files</Filter>
- </ClCompile>
<ClCompile Include="condition.c">
<Filter>Win32 Source Files</Filter>
</ClCompile>
<ClCompile Include="..\aes.c">
<Filter>Win32 Source Files</Filter>
</ClCompile>
+ <ClCompile Include="..\app.c">
+ <Filter>Win32 Source Files</Filter>
+ </ClCompile>
<ClCompile Include="..\assertions.c">
<Filter>Library Source Files</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\aes.c" />
+ <ClCompile Include="..\app.c" />
<ClCompile Include="..\assertions.c" />
<ClCompile Include="..\backtrace-emptytbl.c" />
<ClCompile Include="..\backtrace.c" />
<ClCompile Include="..\pk11.c" />
<ClCompile Include="..\pk11_result.c" />
@END PKCS11
- <ClCompile Include="app.c" />
<ClCompile Include="condition.c" />
<ClCompile Include="dir.c" />
<ClCompile Include="DLLMain.c" />
./lib/isc/Kyuafile X 2017,2018,2019
./lib/isc/aes.c C 2014,2016,2017,2018,2019
./lib/isc/api X 1999,2000,2001,2006,2008,2009,2010,2011,2012,2013,2014,2015,2016,2017,2018,2019
+./lib/isc/app.c C 1999,2000,2001,2002,2003,2004,2005,2007,2008,2009,2013,2014,2015,2016,2017,2018,2019
./lib/isc/assertions.c C 1997,1998,1999,2000,2001,2004,2005,2007,2008,2009,2015,2016,2018,2019
./lib/isc/backtrace-emptytbl.c C 2009,2016,2018,2019
./lib/isc/backtrace.c C 2009,2013,2014,2015,2016,2018,2019
./lib/isc/timer.c C 1998,1999,2000,2001,2002,2004,2005,2007,2008,2009,2011,2012,2013,2014,2015,2016,2017,2018,2019
./lib/isc/timer_p.h C 2000,2001,2004,2005,2007,2009,2016,2017,2018,2019
./lib/isc/tm.c C 2014,2016,2018,2019
-./lib/isc/unix/app.c C 1999,2000,2001,2002,2003,2004,2005,2007,2008,2009,2013,2014,2015,2016,2017,2018,2019
./lib/isc/unix/dir.c C 1999,2000,2001,2004,2005,2007,2008,2009,2011,2012,2016,2017,2018,2019
./lib/isc/unix/errno.c C 2016,2018,2019
./lib/isc/unix/errno2result.c C 2000,2001,2002,2004,2005,2007,2011,2012,2013,2016,2018,2019
./lib/isc/unix/time.c C 1998,1999,2000,2001,2003,2004,2005,2006,2007,2008,2011,2012,2014,2015,2016,2017,2018,2019
./lib/isc/version.c C 1998,1999,2000,2001,2004,2005,2007,2016,2018,2019
./lib/isc/win32/DLLMain.c C 2001,2004,2007,2016,2018,2019
-./lib/isc/win32/app.c C 1999,2000,2001,2004,2007,2009,2013,2014,2016,2018,2019
./lib/isc/win32/condition.c C 1998,1999,2000,2001,2004,2006,2007,2016,2018,2019
./lib/isc/win32/dir.c C 1999,2000,2001,2004,2007,2008,2009,2011,2012,2013,2016,2017,2018,2019
./lib/isc/win32/errno.c C 2016,2018,2019