From 930ffe6812cb7c81d415cf7660a836d7f5ba1423 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Tue, 2 Mar 2004 03:46:04 +0000 Subject: [PATCH] *** empty log message *** svn path=/trunk/boinc/; revision=3018 --- checkin_notes | 6 ++ client/gui_rpc_server.C | 16 ++--- doc/anonymous_platform.php | 9 +-- doc/build_client.php | 39 ++++++----- doc/build_client_mac.php | 23 ------- doc/build_client_unix.php | 21 ------ doc/build_client_win.php | 36 ---------- doc/contact.php | 2 +- doc/database_setup.php | 1 - doc/gui_rpc.php | 2 +- doc/key_setup.php | 2 +- doc/ssl_client_release_instructions.txt | 32 ++++----- doc/test.php | 2 +- doc/tool_update_versions.php | 56 +++++++++++----- doc/tool_upgrade.php | 1 + doc/tools.php | 26 -------- doc/trickle.php | 87 +++++++++++++++++++++---- 17 files changed, 170 insertions(+), 191 deletions(-) delete mode 100644 doc/build_client_mac.php delete mode 100644 doc/build_client_unix.php delete mode 100644 doc/build_client_win.php diff --git a/checkin_notes b/checkin_notes index c1bbf17c9a..afba6e6918 100755 --- a/checkin_notes +++ b/checkin_notes @@ -10211,3 +10211,9 @@ Rom Mar 1 2004 log_flags.c lib/ filesys.C, .h + +David Mar 1 2004 + - compile errors + + client/ + gui_rpc_server.C diff --git a/client/gui_rpc_server.C b/client/gui_rpc_server.C index 81107abf40..2d1cab8c02 100644 --- a/client/gui_rpc_server.C +++ b/client/gui_rpc_server.C @@ -166,7 +166,6 @@ static void handle_set_proxy_settings(char* buf, FILE* fout) { } int GUI_RPC_CONN::handle_rpc() { -#ifndef _WIN32 char buf[1024]; int n; @@ -200,7 +199,6 @@ int GUI_RPC_CONN::handle_rpc() { fprintf(fout, "\n"); } fflush(fout); -#endif return 0; } @@ -221,16 +219,15 @@ void GUI_RPC_CONN_SET::init(char* path) { #ifdef _WIN32 addr.sa_family = AF_UNIX; strcpy(addr.sa_data, path); -#else - addr.sun_family = AF_UNIX; - strcpy(addr.sun_path, path); -//#endif WSADATA wsdata; WORD wVersionRequested = MAKEWORD(1, 1); WSAStartup(wVersionRequested, &wsdata); +#else + addr.sun_family = AF_UNIX; + strcpy(addr.sun_path, path); +#endif lsock = socket(AF_UNIX, SOCK_STREAM, 0); if (lsock < 0) { - int x = WSAGetLastError(); perror("socket"); exit(1); } @@ -244,13 +241,9 @@ void GUI_RPC_CONN_SET::init(char* path) { perror("listen"); exit(1); } -#endif } bool GUI_RPC_CONN_SET::poll() { -#ifdef _WIN32 - return false; -#else unsigned int i; fd_set read_fds, error_fds; int sock, n, retval; @@ -298,5 +291,4 @@ bool GUI_RPC_CONN_SET::poll() { iter++; } return (n != 0); -#endif } diff --git a/doc/anonymous_platform.php b/doc/anonymous_platform.php index cc7981d80f..b816ad6401 100644 --- a/doc/anonymous_platform.php +++ b/doc/anonymous_platform.php @@ -42,10 +42,11 @@ Here's how it works: