- Mac installer: add missing pclose() (from RustyBSD)

This commit is contained in:
David Anderson 2012-11-30 16:57:30 -08:00 committed by Oliver Bock
parent ce47010dbb
commit c332021853
3 changed files with 13 additions and 3 deletions

View File

@ -7192,11 +7192,20 @@ Charlie 30 Nov 2012
NoticeListCtrl.cpp,.h
David 30 Nov 2012
- client: if <dont_check_file_sizes> 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 <dont_check_file_sizes> 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

View File

@ -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;

View File

@ -1218,6 +1218,7 @@ int CountGroupMembershipEntries(const char *userName, const char *groupName) {
}
}
pclose(f);
return count;
}