summaryrefslogtreecommitdiff
path: root/usr.sbin/bind/bin/named/win32/os.c
diff options
context:
space:
mode:
authorJakob Schlyter <jakob@cvs.openbsd.org>2003-01-20 21:52:47 +0000
committerJakob Schlyter <jakob@cvs.openbsd.org>2003-01-20 21:52:47 +0000
commit48e2c77aa24c798f1094eefcfba2c46539704231 (patch)
treea86fb152bca715d506234dd2b80a41bee3571c30 /usr.sbin/bind/bin/named/win32/os.c
parent9c5fd97312b1e7ec1a1cc357f601577085f147e2 (diff)
call tzset() before chroot
Diffstat (limited to 'usr.sbin/bind/bin/named/win32/os.c')
-rw-r--r--usr.sbin/bind/bin/named/win32/os.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/usr.sbin/bind/bin/named/win32/os.c b/usr.sbin/bind/bin/named/win32/os.c
index a9e2063bbd2..70c44b5c6bc 100644
--- a/usr.sbin/bind/bin/named/win32/os.c
+++ b/usr.sbin/bind/bin/named/win32/os.c
@@ -225,3 +225,10 @@ ns_os_shutdown(void) {
cleanup_pidfile();
ntservice_shutdown(); /* This MUST be the last thing done */
}
+
+void
+ns_os_tzset(void) {
+#ifdef HAVE_TZSET
+ tzset();
+#endif
+}