Skip to content

Commit

Permalink
- Mac installer: add missing pclose() (from RustyBSD)
Browse files Browse the repository at this point in the history
  • Loading branch information
davidpanderson authored and Oliver Bock committed Mar 4, 2013
1 parent ce47010 commit c332021
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 3 deletions.
13 changes: 11 additions & 2 deletions checkin_notes
Original file line number Diff line number Diff line change
Expand Up @@ -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

2 changes: 1 addition & 1 deletion client/async_file.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
1 change: 1 addition & 0 deletions mac_installer/PostInstall.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1218,6 +1218,7 @@ int CountGroupMembershipEntries(const char *userName, const char *groupName) {
}
}

pclose(f);
return count;
}

Expand Down

0 comments on commit c332021

Please sign in to comment.