mirror of https://github.com/BOINC/boinc.git
*** empty log message ***
svn path=/trunk/boinc/; revision=4383
This commit is contained in:
parent
bec1f60422
commit
5d4734daff
|
@ -18724,3 +18724,11 @@ Rom 21 Oct 2004 (boinc)
|
|||
- Tag for 4.50 release, all platforms
|
||||
boinc_core_release_4_50
|
||||
|
||||
David 21 Oct 2004
|
||||
- compile fix
|
||||
To initialize a char[256], use strcpy(x, ""), not x[0] = NULL.
|
||||
|
||||
client/
|
||||
app_control.C
|
||||
lib/
|
||||
gui_rpc_client.C
|
||||
|
|
|
@ -446,7 +446,7 @@ bool ACTIVE_TASK::check_max_disk_exceeded() {
|
|||
//
|
||||
retval = current_disk_usage(disk_usage);
|
||||
if (retval) {
|
||||
msg_printf(0, MSG_ERROR, "Can't get application disk usage");
|
||||
msg_printf(0, MSG_ERROR, "Can't get application disk usage: %d", retval);
|
||||
} else {
|
||||
if (disk_usage > max_disk_usage) {
|
||||
msg_printf(
|
||||
|
|
|
@ -832,7 +832,7 @@ bool CViewProjects::IsWebsiteLink( const wxString& strLink )
|
|||
|
||||
wxInt32 CViewProjects::ConvertWebsiteIndexToLink( wxInt32 iProjectIndex, wxInt32 iWebsiteIndex, wxString& strLink )
|
||||
{
|
||||
strLink.Printf(wxT("%s:%d:%d"), LINK_WEB, iProjectIndex, iWebsiteIndex);
|
||||
strLink.Printf(wxT("%s:%d:%d"), LINK_WEB.c_str(), iProjectIndex, iWebsiteIndex);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
@ -577,12 +577,12 @@ int HOST_INFO::parse(MIOFILE& in) {
|
|||
|
||||
void HOST_INFO::clear() {
|
||||
timezone = 0;
|
||||
domain_name[0] = NULL;
|
||||
serialnum[0] = NULL;
|
||||
ip_addr[0] = NULL;
|
||||
strcpy(domain_name, "");
|
||||
strcpy(serialnum, "");
|
||||
strcpy(ip_addr, "");
|
||||
p_ncpus = 0;
|
||||
p_vendor[0] = NULL;
|
||||
p_model[0] = NULL;
|
||||
strcpy(p_vendor, "");
|
||||
strcpy(p_model, "");
|
||||
p_fpops = 0.0;
|
||||
p_iops = 0.0;
|
||||
p_membw = 0.0;
|
||||
|
@ -590,8 +590,8 @@ void HOST_INFO::clear() {
|
|||
p_iop_err = 0;
|
||||
p_membw_err = 0;
|
||||
p_calculated = 0.0;
|
||||
os_name[0] = NULL;
|
||||
os_version[0] = NULL;
|
||||
strcpy(os_name, "");
|
||||
strcpy(os_version, "");
|
||||
m_nbytes = 0.0;
|
||||
m_cache = 0.0;
|
||||
m_swap = 0.0;
|
||||
|
|
Loading…
Reference in New Issue