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:
@@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user