mirror of https://github.com/BOINC/boinc.git
*** empty log message ***
svn path=/trunk/boinc/; revision=4637
This commit is contained in:
parent
4dd9d5d22a
commit
daced38df2
|
@ -20068,3 +20068,18 @@ Bruce 23 Nov 2004 UTC
|
||||||
config.h.in (shouldn't be here anyway)
|
config.h.in (shouldn't be here anyway)
|
||||||
api/
|
api/
|
||||||
boinc_gl.h
|
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
|
||||||
|
|
|
@ -231,7 +231,9 @@ int boinc_main_loop(int argc, char** argv) {
|
||||||
boinc_init_diagnostics(
|
boinc_init_diagnostics(
|
||||||
BOINC_DIAG_DUMPCALLSTACKENABLED |
|
BOINC_DIAG_DUMPCALLSTACKENABLED |
|
||||||
BOINC_DIAG_HEAPCHECKENABLED |
|
BOINC_DIAG_HEAPCHECKENABLED |
|
||||||
BOINC_DIAG_TRACETOSTDERR
|
BOINC_DIAG_TRACETOSTDERR |
|
||||||
|
BOINC_DIAG_REDIRECTSTDERR |
|
||||||
|
BOINC_DIAG_REDIRECTSTDOUT
|
||||||
);
|
);
|
||||||
|
|
||||||
retval = check_unique_instance();
|
retval = check_unique_instance();
|
||||||
|
|
|
@ -263,6 +263,9 @@ VOID CScreensaver::StartupBOINC()
|
||||||
DWORD dwBlankTime;
|
DWORD dwBlankTime;
|
||||||
BOOL bReturnValue;
|
BOOL bReturnValue;
|
||||||
|
|
||||||
|
memset(szCurrentWindowStation, 0, sizeof(szCurrentWindowStation)/sizeof(TCHAR));
|
||||||
|
memset(szCurrentDesktop, 0, sizeof(szCurrentDesktop)/sizeof(TCHAR));
|
||||||
|
|
||||||
if (!m_bIs9x)
|
if (!m_bIs9x)
|
||||||
{
|
{
|
||||||
// Retrieve the current window station and desktop names
|
// Retrieve the current window station and desktop names
|
||||||
|
|
|
@ -156,7 +156,7 @@ bool CBOINCGUIApp::OnCmdLineParsed(wxCmdLineParser &parser)
|
||||||
void CBOINCGUIApp::DetectDefaultWindowStation()
|
void CBOINCGUIApp::DetectDefaultWindowStation()
|
||||||
{
|
{
|
||||||
wxChar szWindowStation[256];
|
wxChar szWindowStation[256];
|
||||||
memset(szWindowStation, 0, sizeof(szWindowStation));
|
memset(szWindowStation, 0, sizeof(szWindowStation)/sizeof(wxChar));
|
||||||
|
|
||||||
#ifdef __WXMSW__
|
#ifdef __WXMSW__
|
||||||
|
|
||||||
|
@ -181,7 +181,7 @@ void CBOINCGUIApp::DetectDefaultWindowStation()
|
||||||
void CBOINCGUIApp::DetectDefaultDesktop()
|
void CBOINCGUIApp::DetectDefaultDesktop()
|
||||||
{
|
{
|
||||||
wxChar szDesktop[256];
|
wxChar szDesktop[256];
|
||||||
memset(szDesktop, 0, sizeof(szDesktop));
|
memset(szDesktop, 0, sizeof(szDesktop)/sizeof(wxChar));
|
||||||
|
|
||||||
#ifdef __WXMSW__
|
#ifdef __WXMSW__
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue