*** empty log message ***

svn path=/trunk/boinc/; revision=11912
This commit is contained in:
David Anderson 2007-01-19 22:50:32 +00:00
parent d7811336bc
commit 8a30171d88
3 changed files with 16 additions and 1 deletions

View File

@ -870,3 +870,9 @@ David 19 Jan 2007
cs_apps.C cs_apps.C
cs_files.C cs_files.C
pers_file_xfer.C pers_file_xfer.C
David 19 Jan 2007
- core client: print more info if MFILE vsnprintf() is too big for buffer
lib/
mfile.C

View File

@ -1,6 +1,13 @@
<? <?
$project_news = array( $project_news = array(
array("January 19, 2007",
"Check out a
<a href=http://youtube.com/watch?v=kCYlZ8-l5jc>TV news segment</a>
and a <a href=http://www.bbc.co.uk/sn/climateexperiment/>web site</a>
about the results of the recently-completed
BBC Climate Change Experiment."
),
array("January 18, 2007", array("January 18, 2007",
"The paper \"<a href=rosetta_ms.doc>Reporting@Home: Delivering Dynamic Graphical Feedback to Participants in Community Computing Projects</a>\" "The paper \"<a href=rosetta_ms.doc>Reporting@Home: Delivering Dynamic Graphical Feedback to Participants in Community Computing Projects</a>\"
describes how Rosetta@home delivers personalized describes how Rosetta@home delivers personalized
@ -14,7 +21,7 @@ array("January 17, 2007",
and has other features too numerous to mention." and has other features too numerous to mention."
), ),
array("January 17, 2007", array("January 17, 2007",
"On Sunday the 21st Jan. at 8pm BBC 1 will broadcast "On Sunday 21 Jan. at 8pm BBC 1 will broadcast
<a href=http://www.bbc.co.uk/bbcone/listings/programme.shtml?day=sunday&service_id=4223&filename=20070121/20070121_2000_4223_18875_60>Climate Change: Britain Under Threat</a>. <a href=http://www.bbc.co.uk/bbcone/listings/programme.shtml?day=sunday&service_id=4223&filename=20070121/20070121_2000_4223_18875_60>Climate Change: Britain Under Threat</a>.
This will include results from the BBC and CPDN experiments, This will include results from the BBC and CPDN experiments,
and an interview with CPDN staff. and an interview with CPDN staff.

View File

@ -66,6 +66,8 @@ int MFILE::vprintf(const char* format, va_list ap) {
k = vsnprintf(buf2, BUFSIZE, format, ap); k = vsnprintf(buf2, BUFSIZE, format, ap);
if (k<=-1 || k>=BUFSIZE) { if (k<=-1 || k>=BUFSIZE) {
fprintf(stderr, "ERROR: buffer too small in MFILE::vprintf()\n"); fprintf(stderr, "ERROR: buffer too small in MFILE::vprintf()\n");
fprintf(stderr, "ERROR: format: %s\n", format);
fprintf(stderr, "ERROR: k=%d, BUFSIZE=%d\n", k, BUFSIZE);
return -1; return -1;
} }
n = (int)strlen(buf2); n = (int)strlen(buf2);