diff --git a/checkin_notes b/checkin_notes index af81e68e46..ae86918479 100644 --- a/checkin_notes +++ b/checkin_notes @@ -7192,11 +7192,20 @@ Charlie 30 Nov 2012 NoticeListCtrl.cpp,.h David 30 Nov 2012 - - client: if is set, don't check file existence at startup - - wrapper: open files in shared mode so you can look at them while wrapper is running + - client: if is set, + don't check file existence at startup + - wrapper: open files in shared mode + so you can look at them while wrapper is running + client/ cs_files.cpp lib/ procinfo.cpp samples/wrapper/ wrapper.cpp + +David 30 Nov 2012 + - Mac installer: add missing pclose() (from RustyBSD) + + mac_installer/PostInstall.cpp + diff --git a/client/async_file.cpp b/client/async_file.cpp index a2504c98ba..8a44a86853 100644 --- a/client/async_file.cpp +++ b/client/async_file.cpp @@ -173,7 +173,7 @@ int ASYNC_VERIFY::init(FILE_INFO* _fip) { char* p = strrchr(temp_path, '/'); strcpy(p+1, "verify_temp"); #ifdef _WIN32 - boinc_allocate_file(temp_path, fip->nbytes); + boinc_allocate_file(temp_path, fip->nbytes); #endif out = boinc_fopen(temp_path, "wb"); if (!out) return ERR_FOPEN; diff --git a/mac_installer/PostInstall.cpp b/mac_installer/PostInstall.cpp index 218418aabc..1aa20ee7a8 100644 --- a/mac_installer/PostInstall.cpp +++ b/mac_installer/PostInstall.cpp @@ -1218,6 +1218,7 @@ int CountGroupMembershipEntries(const char *userName, const char *groupName) { } } + pclose(f); return count; }