- rename BOINC_DIAG_USEDEFALUTS (??) to BOINC_DIAG_DEFAULTS

api/
    boinc_api.C
lib/
    diagnostics.h

svn path=/trunk/boinc/; revision=12848
This commit is contained in:
David Anderson 2007-06-08 07:38:17 +00:00
parent 80563bb429
commit 18c29a91ee
3 changed files with 18 additions and 10 deletions

View File

@ -261,7 +261,7 @@ static bool update_app_progress(double cpu_t, double cp_cpu_t) {
int boinc_init() {
int retval;
if (!diagnostics_is_initialized()) {
retval = boinc_init_diagnostics(BOINC_DIAG_USEDEFULATS);
retval = boinc_init_diagnostics(BOINC_DIAG_DEFAULTS);
if (retval) return retval;
}
boinc_options_defaults(options);
@ -271,7 +271,7 @@ int boinc_init() {
int boinc_init_options(BOINC_OPTIONS* opt) {
int retval;
if (!diagnostics_is_initialized()) {
retval = boinc_init_diagnostics(BOINC_DIAG_USEDEFULATS);
retval = boinc_init_diagnostics(BOINC_DIAG_DEFAULTS);
if (retval) return retval;
}
retval = boinc_init_options_general(*opt);

View File

@ -5890,9 +5890,16 @@ Charlie 7 June 2007
release_GridRepublic.sh
Rom 7 June 2007
- fixes #241: BOINC Manager should only display one of each
project, no mater how many time you switch to and from
the page.
- fixes #241: BOINC Manager should only display one of each project,
no matter how many time you switch to and from the page.
clientgui/
ProjectInfoPage.cpp, .h
David 8 June 2007
- rename BOINC_DIAG_USEDEFALUTS (??) to BOINC_DIAG_DEFAULTS
api/
boinc_api.C
lib/
diagnostics.h

View File

@ -48,11 +48,12 @@
#define BOINC_DIAG_TRACETOSTDOUT 0x00000400L
#define BOINC_DIAG_HEAPCHECKEVERYALLOC 0x00000800L
#define BOINC_DIAG_BOINCAPPLICATION 0x00001000L
#define BOINC_DIAG_USEDEFULATS BOINC_DIAG_DUMPCALLSTACKENABLED | \
BOINC_DIAG_HEAPCHECKENABLED | \
BOINC_DIAG_MEMORYLEAKCHECKENABLED | \
BOINC_DIAG_REDIRECTSTDERR | \
BOINC_DIAG_TRACETOSTDERR
#define BOINC_DIAG_DEFAULTS \
BOINC_DIAG_DUMPCALLSTACKENABLED | \
BOINC_DIAG_HEAPCHECKENABLED | \
BOINC_DIAG_MEMORYLEAKCHECKENABLED | \
BOINC_DIAG_REDIRECTSTDERR | \
BOINC_DIAG_TRACETOSTDERR
// filenames