*** empty log message ***

svn path=/trunk/boinc/; revision=9643
This commit is contained in:
Walt Gribben 2006-03-14 00:46:41 +00:00
parent a180483343
commit f9d03a24ac
3 changed files with 17 additions and 2 deletions

View File

@ -394,12 +394,15 @@ void boinc_exit(int status) {
//
file_lock.unlock(LOCKFILE);
// flush all the output buffers
//
fflush(NULL);
// on Mac, calling exit() can lead to infinite exit-atexit loops,
// while _exit() seems to behave nicely.
// This is not pretty but unless someone finds a cleaner solution,
// we handle the Mac-case separately .
#ifdef __APPLE_CC__
fflush(NULL);
_exit(status);
#else
#ifdef _WIN32

View File

@ -2821,3 +2821,15 @@ David 13 Mar 2006
api/
boinc_api.C,h
graphics_lib.C
Walt 13 Mar 2006
- Bug Fix: in boinc-exit, all platforms, call fflush(NULL) so
output buffers get flushed. Moves the call outside the #ifdef.
- Bug Fix: Account manager shouldn't be contacted if the network
is suspended. This affects the automatic (every hour)
connections only.
api/
boinc_api.C
client/
client_state.C

View File

@ -497,9 +497,9 @@ bool CLIENT_STATE::poll_slow_events() {
POLL_ACTION(garbage_collect , garbage_collect );
POLL_ACTION(update_results , update_results );
POLL_ACTION(gui_http , gui_http.poll );
POLL_ACTION(acct_mgr , acct_mgr_info.poll );
if (!network_suspended) {
net_stats.poll(*file_xfers, *net_xfers);
POLL_ACTION(acct_mgr , acct_mgr_info.poll );
POLL_ACTION(file_xfers , file_xfers->poll );
POLL_ACTION(pers_file_xfers , pers_file_xfers->poll );
POLL_ACTION(handle_pers_file_xfers , handle_pers_file_xfers );