*** empty log message ***

svn path=/trunk/boinc/; revision=4637
This commit is contained in:
Rom Walton 2004-11-24 00:25:54 +00:00
parent 4dd9d5d22a
commit daced38df2
4 changed files with 23 additions and 3 deletions

View File

@ -20068,3 +20068,18 @@ Bruce 23 Nov 2004 UTC
config.h.in (shouldn't be here anyway)
api/
boinc_gl.h
Rom 23 Nov 2004
- Bug Fix: Fix a crashing condition for both the screensaver and core client on
Win9x machines due to the Window Station and Desktop code.
- Bug Fix: Setup the core client to redirect stderr and stdout even though it is
running as a console. It's useful to do this in the case of where the core
client is launched from the boincmgr and so stderr and stdout cannot be
redirected.
client/
main.C
client/win/
win_screensaver.cpp
clientgui/
BOINCGUIApp.cpp

View File

@ -231,7 +231,9 @@ int boinc_main_loop(int argc, char** argv) {
boinc_init_diagnostics(
BOINC_DIAG_DUMPCALLSTACKENABLED |
BOINC_DIAG_HEAPCHECKENABLED |
BOINC_DIAG_TRACETOSTDERR
BOINC_DIAG_TRACETOSTDERR |
BOINC_DIAG_REDIRECTSTDERR |
BOINC_DIAG_REDIRECTSTDOUT
);
retval = check_unique_instance();

View File

@ -263,6 +263,9 @@ VOID CScreensaver::StartupBOINC()
DWORD dwBlankTime;
BOOL bReturnValue;
memset(szCurrentWindowStation, 0, sizeof(szCurrentWindowStation)/sizeof(TCHAR));
memset(szCurrentDesktop, 0, sizeof(szCurrentDesktop)/sizeof(TCHAR));
if (!m_bIs9x)
{
// Retrieve the current window station and desktop names

View File

@ -156,7 +156,7 @@ bool CBOINCGUIApp::OnCmdLineParsed(wxCmdLineParser &parser)
void CBOINCGUIApp::DetectDefaultWindowStation()
{
wxChar szWindowStation[256];
memset(szWindowStation, 0, sizeof(szWindowStation));
memset(szWindowStation, 0, sizeof(szWindowStation)/sizeof(wxChar));
#ifdef __WXMSW__
@ -181,7 +181,7 @@ void CBOINCGUIApp::DetectDefaultWindowStation()
void CBOINCGUIApp::DetectDefaultDesktop()
{
wxChar szDesktop[256];
memset(szDesktop, 0, sizeof(szDesktop));
memset(szDesktop, 0, sizeof(szDesktop)/sizeof(wxChar));
#ifdef __WXMSW__