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

1550. [port] Call tzset(), if available, before calling chroot().

This commit is contained in:
Mark Andrews
2004-01-07 05:48:15 +00:00
parent d0aebc5a55
commit 6286983c50
9 changed files with 46 additions and 8 deletions

View File

@@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: os.c,v 1.62 2002/12/13 02:51:39 marka Exp $ */
/* $Id: os.c,v 1.63 2004/01/07 05:48:15 marka Exp $ */
#include <config.h>
#include <stdarg.h>
@@ -598,3 +598,10 @@ ns_os_shutdownmsg(char *command, isc_buffer_t *text) {
if (n < isc_buffer_availablelength(text))
isc_buffer_add(text, n);
}
void
ns_os_tzset(void) {
#ifdef HAVE_TZSET
tzset();
#endif
}