From 7aa3c64278fd44c3e85750fb0067d936f1b98edc Mon Sep 17 00:00:00 2001 From: Eric Heien Date: Wed, 19 Jun 2002 18:37:08 +0000 Subject: [PATCH] Windows binary file fix. svn path=/trunk/boinc/; revision=114 --- lib/md5_file.C | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/md5_file.C b/lib/md5_file.C index da35c5094b..7d88f16718 100644 --- a/lib/md5_file.C +++ b/lib/md5_file.C @@ -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");