mirror of https://github.com/BOINC/boinc.git
Mac V5 GFX API: Fix old zombie process bug (I hope). getPathToThisApp() should call pclose(), not fclose().
svn path=/trunk/boinc/; revision=13840
This commit is contained in:
parent
f32e42e1bb
commit
8396e06fc0
|
@ -160,7 +160,7 @@ void getPathToThisApp(char* pathBuf, size_t bufSize) {
|
||||||
return;
|
return;
|
||||||
PersistentFGets(pathBuf, bufSize, f); // Skip over line of column headings
|
PersistentFGets(pathBuf, bufSize, f); // Skip over line of column headings
|
||||||
PersistentFGets(pathBuf, bufSize, f); // Get the UNIX command which ran us
|
PersistentFGets(pathBuf, bufSize, f); // Get the UNIX command which ran us
|
||||||
fclose(f);
|
pclose(f);
|
||||||
|
|
||||||
c = strstr(pathBuf, " -");
|
c = strstr(pathBuf, " -");
|
||||||
if (c)
|
if (c)
|
||||||
|
|
|
@ -9465,3 +9465,10 @@ Charlie 11 Oct 2007
|
||||||
screensaver.cpp
|
screensaver.cpp
|
||||||
doc/
|
doc/
|
||||||
sandbox.php
|
sandbox.php
|
||||||
|
|
||||||
|
Charlie 11 Oct 2007
|
||||||
|
- Mac V5 GFX API: Fix old zombie process bug (I hope). getPathToThisApp()
|
||||||
|
should call pclose(), not fclose().
|
||||||
|
|
||||||
|
api/
|
||||||
|
mac_icon.C
|
||||||
|
|
Loading…
Reference in New Issue