Windows binary file fix.

svn path=/trunk/boinc/; revision=114
This commit is contained in:
Eric Heien 2002-06-19 18:37:08 +00:00
parent 5dcbe6447c
commit 7aa3c64278
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ int md5_file(char* path, char* output, double& nbytes) {
int i, n;
nbytes = 0;
f = fopen(path, "r");
f = fopen(path, "rb");
if (!f) {
fprintf(stderr, "md5_file: can't open %s\n", path);
perror("md5_file");