From 58b4589f9632027298db6e718c58faf03e04a261 Mon Sep 17 00:00:00 2001 From: Charlie Fenton Date: Sat, 30 Apr 2011 07:55:05 +0000 Subject: [PATCH] MGR: Fix a few bugs in Exclusive Apps pane of Computing Prefs dialog svn path=/trunk/boinc/; revision=23487 --- checkin_notes | 6 ++++++ lib/cc_config.cpp | 7 ++++--- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/checkin_notes b/checkin_notes index e29b358863..6372b35942 100644 --- a/checkin_notes +++ b/checkin_notes @@ -2719,3 +2719,9 @@ David 29 Apr 2011 client/ gui_rpc_client_ops.cpp gui_rpc_client.cpp + +Charlie 29 Apr 2011 + - MGR: Fix a few bugs in Exclusive Apps pane of Computing Prefs dialog. + + lib/ + cc_config.cpp diff --git a/lib/cc_config.cpp b/lib/cc_config.cpp index 8af90f2f3d..36aa6020d0 100644 --- a/lib/cc_config.cpp +++ b/lib/cc_config.cpp @@ -188,6 +188,7 @@ void CONFIG::defaults() { alt_platforms.clear(); client_version_check_url = "http://boinc.berkeley.edu/download.php?xml=1"; client_download_url = "http://boinc.berkeley.edu/download.php"; + config_coprocs.n_rsc = 0; disallow_attach = false; dont_check_file_sizes = false; dont_contact_ref_site = false; @@ -414,7 +415,7 @@ int CONFIG::write(MIOFILE& out, LOG_FLAGS& log_flags) { for (i=0; i<(unsigned int)config_coprocs.n_rsc; ++i) { out.printf( - " " + " \n" " %s\n" " %d\n" " %f\n" @@ -431,7 +432,7 @@ int CONFIG::write(MIOFILE& out, LOG_FLAGS& log_flags) { } out.printf( "\n" - " " + " \n" ); } @@ -453,7 +454,7 @@ int CONFIG::write(MIOFILE& out, LOG_FLAGS& log_flags) { ); } - for (i=0; i%s\n", exclusive_gpu_apps[i].c_str()