diff --git a/api/mac_icon.C b/api/mac_icon.C index 005ba0163a..e455fb511c 100644 --- a/api/mac_icon.C +++ b/api/mac_icon.C @@ -160,7 +160,7 @@ void getPathToThisApp(char* pathBuf, size_t bufSize) { return; PersistentFGets(pathBuf, bufSize, f); // Skip over line of column headings PersistentFGets(pathBuf, bufSize, f); // Get the UNIX command which ran us - fclose(f); + pclose(f); c = strstr(pathBuf, " -"); if (c) diff --git a/checkin_notes b/checkin_notes index 56f653c7b3..19098c1aa5 100644 --- a/checkin_notes +++ b/checkin_notes @@ -9465,3 +9465,10 @@ Charlie 11 Oct 2007 screensaver.cpp doc/ 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