summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Howard2010-09-19 20:09:36 +0000
committerSimon Howard2010-09-19 20:09:36 +0000
commit253731b66d4a70d5040d11e4b1acf8aa58230a46 (patch)
tree2d833b5b89261316ddf33f96657dedb7b36d3775
parent68ccb55c97f193279e9a9e2ff4bfbf855e0fe0fe (diff)
downloadchocolate-doom-253731b66d4a70d5040d11e4b1acf8aa58230a46.tar.gz
chocolate-doom-253731b66d4a70d5040d11e4b1acf8aa58230a46.tar.bz2
chocolate-doom-253731b66d4a70d5040d11e4b1acf8aa58230a46.zip
Read response file in binary mode, to fix incomplete response file bug.
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 2122
-rw-r--r--src/m_argv.c4
1 files 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)
{