if(daemon(1, 0) != 0)
fatal_exit("daemon failed: %s", strerror(errno));
#else /* no HAVE_DAEMON */
-#ifdef HAVE_WORKING_FORK
+#ifdef HAVE_FORK
int fd;
/* Take off... */
switch (fork()) {
if (fd > 2)
(void)close(fd);
}
-#endif /* HAVE_WORKING_FORK */
+#endif /* HAVE_FORK */
#endif /* HAVE_DAEMON */
}
- fix for memory alignment in struct sock_list allocation.
- Fix for MacPorts ldns without ssl default, unbound checks if ldns
has dnssec functionality and uses the builtin if not.
+ - Fix daemonize on Solaris 10, it did not detach from terminal.
10 March 2010: Wouter
- --enable-alloc-lite works with test set.