From ed1e36049b34566c108c6c844bc7695e5c382355 Mon Sep 17 00:00:00 2001 From: Eric Heien Date: Fri, 21 Jun 2002 00:29:08 +0000 Subject: [PATCH] Fixed windows bug and changed file names to avoid compile error on UNIX. svn path=/trunk/boinc/; revision=125 --- client/client_state.C | 2 +- client/{win_main.C => win_main.cpp} | 0 client/{win_net.C => win_net.cpp} | 3 +++ 3 files changed, 4 insertions(+), 1 deletion(-) rename client/{win_main.C => win_main.cpp} (100%) rename client/{win_net.C => win_net.cpp} (96%) diff --git a/client/client_state.C b/client/client_state.C index e4e1a00928..328535cb09 100644 --- a/client/client_state.C +++ b/client/client_state.C @@ -221,7 +221,7 @@ int CLIENT_STATE::make_slot_dirs() { int CLIENT_STATE::write_state_file() { unsigned int i, j; - FILE* f = fopen(STATE_FILE_TEMP, "w"); + FILE* f = fopen(STATE_FILE_TEMP, "wb"); int retval; if (log_flags.state_debug) { diff --git a/client/win_main.C b/client/win_main.cpp similarity index 100% rename from client/win_main.C rename to client/win_main.cpp diff --git a/client/win_net.C b/client/win_net.cpp similarity index 96% rename from client/win_net.C rename to client/win_net.cpp index c4eea2cdb7..3b1a0639a3 100644 --- a/client/win_net.C +++ b/client/win_net.cpp @@ -136,6 +136,9 @@ void NetSetState( ENetState state ) /* * $Log$ + * Revision 1.1 2002/06/21 00:29:08 eheien + * Fixed windows bug and changed file names to avoid compile error on UNIX. + * * Revision 1.1 2002/06/21 00:13:48 eheien * Windows networking support. *