mirror of https://github.com/BOINC/boinc.git
LIB: Revert 42d1645b82
and remove the heap check in the tray applet.
This commit is contained in:
parent
942e37b0ae
commit
9304a1851c
|
@ -56,7 +56,6 @@ INT CBOINCTray::Run( HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR /* lpCm
|
|||
#endif
|
||||
BOINC_DIAG_DUMPCALLSTACKENABLED |
|
||||
BOINC_DIAG_PERUSERLOGFILES |
|
||||
BOINC_DIAG_HEAPCHECKENABLED |
|
||||
BOINC_DIAG_TRACETOSTDOUT |
|
||||
BOINC_DIAG_REDIRECTSTDERR |
|
||||
BOINC_DIAG_REDIRECTSTDOUT;
|
||||
|
|
|
@ -243,7 +243,7 @@ int diagnostics_init(
|
|||
char user_dir[MAXPATHLEN];
|
||||
|
||||
#if defined(_WIN32)
|
||||
snprintf(user_dir, sizeof(user_dir), "%s", getenv("LOCALAPPDATA"));
|
||||
snprintf(user_dir, sizeof(user_dir), "%s", getenv("APPDATA"));
|
||||
strncat(user_dir, "/BOINC", sizeof(user_dir) - strlen(user_dir)-1);
|
||||
#elif defined(__APPLE__)
|
||||
snprintf(user_dir, sizeof(user_dir), "%s", getenv("HOME"));
|
||||
|
|
Loading…
Reference in New Issue