commit 253731b66d4a70d5040d11e4b1acf8aa58230a46
Author: Simon Howard <fraggle@gmail.com>
AuthorDate: Sun Sep 19 20:09:36 2010 +0000
Commit: Simon Howard <fraggle@gmail.com>
CommitDate: Sun Sep 19 20:09:36 2010 +0000
Read response file in binary mode, to fix incomplete response file bug.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 2122
---
src/m_argv.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/m_argv.c b/src/m_argv.c
index 7fc15863..99295c6d 100644
--- a/src/m_argv.c
+++ b/src/m_argv.c
@@ -74,9 +74,9 @@ static void LoadResponseFile(int argv_index)
int i, k;
response_filename = myargv[argv_index] + 1;
-
+
// Read the response file into memory
- handle = fopen(response_filename, "r");
+ handle = fopen(response_filename, "rb");
if (handle == NULL)
{