*** empty log message ***

svn path=/trunk/boinc_samples/; revision=12135
This commit is contained in:
David Anderson 2007-02-21 20:04:14 +00:00
parent 1f8489100c
commit 1a48757db8
5 changed files with 26 additions and 1 deletions

View File

@ -260,10 +260,22 @@ David 27 Dec 2006
uppercase/
upper_case.C
David 11 Jan 2006
David 11 Jan 2007
- upper_case: if checkpoint found,
truncate the output file to the indicated size.
Otherwise a checkpoint/restart generally produces a bad result.
uppercase/
upper_case.C
David 21 Feb 2007
- compile fixes
sleeper/
sleeper.C
uppercase/
upper_case.C
win_build/
libboinc.vcproj
wrapper/
wrapper.C

View File

@ -20,6 +20,7 @@
// Application for testing non-CPU-intensive features of BOINC.
// TODO: make it exit after a certain amount of time
#include "str_util.h"
#include "util.h"
#include "boinc_api.h"

View File

@ -53,6 +53,7 @@
#endif
#include "diagnostics.h"
#include "str_util.h"
#include "util.h"
#include "filesys.h"
#include "boinc_api.h"

View File

@ -304,6 +304,10 @@
/>
</FileConfiguration>
</File>
<File
RelativePath="..\..\boinc\lib\str_util.C"
>
</File>
<File
RelativePath="..\..\boinc\lib\util.C"
>

View File

@ -47,6 +47,7 @@
#include "diagnostics.h"
#include "filesys.h"
#include "parse.h"
#include "str_util.h"
#include "util.h"
#include "error_numbers.h"
@ -77,6 +78,8 @@ vector<TASK> tasks;
bool app_suspended = false;
FILE* debug;
int TASK::parse(XML_PARSER& xp) {
char tag[1024];
bool is_tag;
@ -378,6 +381,10 @@ int main(int argc, char** argv) {
BOINC_OPTIONS options;
int retval;
debug = fopen("wrapper_log", "a");
setbuf(debug, 0);
fprintf(debug, "foobar\n");
boinc_init_diagnostics(
BOINC_DIAG_DUMPCALLSTACKENABLED
| BOINC_DIAG_HEAPCHECKENABLED