mirror of https://github.com/BOINC/boinc.git
MGR: Fix a few bugs in Exclusive Apps pane of Computing Prefs dialog
svn path=/trunk/boinc/; revision=23487
This commit is contained in:
parent
36ced0a5f4
commit
58b4589f96
|
@ -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
|
||||
|
|
|
@ -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(
|
||||
" <coproc>"
|
||||
" <coproc>\n"
|
||||
" <type>%s</type>\n"
|
||||
" <count>%d</count>\n"
|
||||
" <peak_flops>%f</peak_flops>\n"
|
||||
|
@ -431,7 +432,7 @@ int CONFIG::write(MIOFILE& out, LOG_FLAGS& log_flags) {
|
|||
}
|
||||
out.printf(
|
||||
"</device_nums>\n"
|
||||
" </coproc>"
|
||||
" </coproc>\n"
|
||||
);
|
||||
}
|
||||
|
||||
|
@ -453,7 +454,7 @@ int CONFIG::write(MIOFILE& out, LOG_FLAGS& log_flags) {
|
|||
);
|
||||
}
|
||||
|
||||
for (i=0; i<exclusive_apps.size(); ++i) {
|
||||
for (i=0; i<exclusive_gpu_apps.size(); ++i) {
|
||||
out.printf(
|
||||
" <exclusive_gpu_app>%s</exclusive_gpu_app>\n",
|
||||
exclusive_gpu_apps[i].c_str()
|
||||
|
|
Loading…
Reference in New Issue