Added a comment

svn path=/trunk/boinc/; revision=15016
This commit is contained in:
Charlie Fenton 2008-04-04 10:47:15 +00:00
parent 62b7599359
commit 907581140b
1 changed files with 3 additions and 1 deletions

View File

@ -172,7 +172,9 @@ void PrintBacktrace(void) {
strlcpy(saved_env, env, sizeof(saved_env));
}
setenv("NSUnbufferedIO", "YES", 1);
// For some reason, using the -p option with the value from getpid()
// fails here but the -o option with a path does work.
snprintf(pipeBuf, sizeof(pipeBuf), "/usr/bin/atos -o %s", pathToThisProcess);
f = popen(pipeBuf, "r+");
if (f) {