*** empty log message ***

svn path=/trunk/boinc/; revision=10187
This commit is contained in:
Rom Walton 2006-05-23 06:55:00 +00:00
parent bd245ca055
commit 92b2dc54a4
2 changed files with 10 additions and 0 deletions

View File

@ -4983,3 +4983,12 @@ David 22 May 2006
client_types.C,h
cs_scheduler.C
scheduler_op.C,h
Rom 22 May 2006 (From Sebastian Masch)
- Bug Fix: Keep the CPU capabilities string from growing without
bound by initializing the string each time
get_processor_capabilities() is called.
client/win/
hostinfo_win.cpp

View File

@ -516,6 +516,7 @@ BOOL is_processor_feature_supported(DWORD feature) {
// identifiers as defined in Linux.
//
int get_processor_capabilities( char* capabilities, int capabilities_size ) {
strcpy(capabilities, "");
if (!is_processor_feature_supported(PF_FLOATING_POINT_EMULATED)) {
strncat(capabilities, "fpu ", capabilities_size - strlen(capabilities));
}