]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
2288. [port] win32: mark service as running when we have finished
authorMark Andrews <marka@isc.org>
Wed, 9 Jan 2008 02:35:10 +0000 (02:35 +0000)
committerMark Andrews <marka@isc.org>
Wed, 9 Jan 2008 02:35:10 +0000 (02:35 +0000)
                        loading.  [RT #17441]

CHANGES
bin/named/win32/os.c

diff --git a/CHANGES b/CHANGES
index e58f52e98426d4face70dbe8a76c200eb9b62b20..4608f4d21edad5161c55e7ca807b14c2843a6d66 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,6 @@
+2288.  [port]          win32: mark service as running when we have finished
+                       loading.  [RT #17441]
+
 2287.  [bug]           Use 'volatile' if the compiler supports it. [RT #17413]
 
 2286.  [func]          Allow a TCP connection to be used as a weak
index e6ea7d1405771674c17a65b478f9f216f4dd10af..019c15ff5d4f54e17db1c12c4275a0b019a82265 100644 (file)
@@ -15,7 +15,7 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: os.c,v 1.25 2007/06/19 23:46:59 tbox Exp $ */
+/* $Id: os.c,v 1.26 2008/01/09 02:35:10 marka Exp $ */
 
 #include <config.h>
 #include <stdarg.h>
@@ -103,7 +103,16 @@ void
 ns_os_init(const char *progname) {
        ns_paths_init();
        setup_syslog(progname);
-       ntservice_init();
+       /*
+        * XXXMPA. We may need to split ntservice_init() in two and
+        * just mark as running in ns_os_started().  If we do that
+        * this is where the first part of ntservice_init() should be
+        * called from.
+        *
+        * XXX970 Remove comment if no problems by 9.7.0.
+        *
+        * ntservice_init();
+        */
        version_check(progname);
 }
 
@@ -285,4 +294,5 @@ ns_os_tzset(void) {
 
 void
 ns_os_started(void) {
+       ntservice_init();
 }