mirror of https://github.com/BOINC/boinc.git
LIB: Store the per-user log files in the local profile area instead of the roaming area. We do not need to copy the log files back up to a home directory server when roaming profiles are used.
This commit is contained in:
parent
0d7909a3f9
commit
42d1645b82
|
@ -243,7 +243,7 @@ int diagnostics_init(
|
|||
char user_dir[MAXPATHLEN];
|
||||
|
||||
#if defined(_WIN32)
|
||||
snprintf(user_dir, sizeof(user_dir), "%s", getenv("APPDATA"));
|
||||
snprintf(user_dir, sizeof(user_dir), "%s", getenv("LOCALAPPDATA"));
|
||||
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