- get rid of BOINC_SOCKLEN_T stuff; just use socklen_t

svn path=/trunk/boinc/; revision=25709
This commit is contained in:
David Anderson 2012-05-23 23:19:38 +00:00
parent d41f79588d
commit 9bba5f4349
3 changed files with 9 additions and 7 deletions

View File

@ -3995,7 +3995,7 @@ David 22 May 2012
stats.cpp stats.cpp
ssim.php ssim.php
David 22 May 2012 David 23 May 2012
- server daemons: add daemon_sleep(n), which sleeps for n secs - server daemons: add daemon_sleep(n), which sleeps for n secs
but checks for the "stop_daemons" trigger file every 1 sec. but checks for the "stop_daemons" trigger file every 1 sec.
Use this instead of sleep() in daemons. Use this instead of sleep() in daemons.
@ -4004,3 +4004,10 @@ David 22 May 2012
sched/ sched/
sched_util.cpp,h sched_util.cpp,h
(daemons).cpp (daemons).cpp
David 23 May 2012
- get rid of BOINC_SOCKLEN_T stuff; just use socklen_t
configure.ac
lib/
network.h

View File

@ -379,9 +379,6 @@ case ${target} in
;; ;;
esac esac
dnl m4/boinc_getsockopt.m4
BOINC_GETSOCKOPT_TYPE
if test "x${enable_fcgi}" = xyes ; then if test "x${enable_fcgi}" = xyes ; then
dnl m4/boinc_check_fcgi.m4 dnl m4/boinc_check_fcgi.m4
BOINC_CHECK_FCGI BOINC_CHECK_FCGI

View File

@ -54,9 +54,7 @@ extern int get_socket_error(int fd);
extern const char* socket_error_str(); extern const char* socket_error_str();
extern void reset_dns(); extern void reset_dns();
#if defined(_WIN32) && defined(USE_WINSOCK) typedef socklen_t BOINC_SOCKLEN_T;
typedef int BOINC_SOCKLEN_T;
#endif
#if defined(_WIN32) && defined(USE_WINSOCK) #if defined(_WIN32) && defined(USE_WINSOCK)
extern int WinsockInitialize(); extern int WinsockInitialize();