version 1.10, 2005/02/15 15:17:34 |
version 1.11, 2005/02/15 20:14:49 |
|
|
#include <sys/un.h> |
#include <sys/un.h> |
|
|
#include <poll.h> |
#include <poll.h> |
#include <stdlib.h> |
#include <errno.h> |
#include <stdio.h> |
#include <stdio.h> |
|
#include <fcntl.h> |
#include <unistd.h> |
#include <unistd.h> |
#include <errno.h> |
|
#include <string.h> |
#include <string.h> |
|
#include <stdlib.h> |
|
|
#include "log.h" |
#include "log.h" |
#include "sock.h" |
#include "sock.h" |
|
|
(void)unlink(cvsd_sock_path); |
(void)unlink(cvsd_sock_path); |
return (-1); |
return (-1); |
} |
} |
|
|
|
/* close on exec so children can't muck around with this */ |
|
(void)fcntl(cvsd_sock, F_SETFD, FD_CLOEXEC); |
|
|
cvs_log(LP_DEBUG, "opened local socket `%s'", cvsd_sock_path); |
cvs_log(LP_DEBUG, "opened local socket `%s'", cvsd_sock_path); |
|
|