mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 06:25:31 +00:00
update copyright notice
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: socket.c,v 1.281 2008/06/23 19:41:19 jinmei Exp $ */
|
||||
/* $Id: socket.c,v 1.282 2008/06/23 23:47:11 tbox Exp $ */
|
||||
|
||||
/*! \file */
|
||||
|
||||
@@ -80,7 +80,7 @@
|
||||
#endif
|
||||
|
||||
/*%
|
||||
* Choose the most preferable multiplex method.
|
||||
* Choose the most preferable multiplex method.
|
||||
*/
|
||||
#ifdef ISC_PLATFORM_HAVEKQUEUE
|
||||
#define USE_KQUEUE
|
||||
@@ -563,7 +563,7 @@ unwatch_fd(isc_socketmgr_t *manager, int fd, int msg) {
|
||||
writelen += sizeof(pfds[1]);
|
||||
}
|
||||
|
||||
if (write(manager->devpoll_fd, pfds, writelen) == -1)
|
||||
if (write(manager->devpoll_fd, pfds, writelen) == -1)
|
||||
result = isc__errno2result(errno);
|
||||
else {
|
||||
if (msg == SELECT_POKE_READ)
|
||||
@@ -3192,7 +3192,7 @@ setup_watcher(isc_mem_t *mctx, isc_socketmgr_t *manager) {
|
||||
sizeof(struct kevent) * manager->nevents);
|
||||
return (result);
|
||||
}
|
||||
|
||||
|
||||
#ifdef ISC_PLATFORM_USETHREADS
|
||||
result = watch_fd(manager, manager->pipe_fds[0], SELECT_POKE_READ);
|
||||
if (result != ISC_R_SUCCESS) {
|
||||
|
Reference in New Issue
Block a user