shithub: choc

Download patch

ref: 253731b66d4a70d5040d11e4b1acf8aa58230a46
parent: 68ccb55c97f193279e9a9e2ff4bfbf855e0fe0fe
author: Simon Howard <fraggle@gmail.com>
date: Sun Sep 19 16:09:36 EDT 2010

Read response file in binary mode, to fix incomplete response file bug.

Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 2122

--- a/src/m_argv.c
+++ b/src/m_argv.c
@@ -74,9 +74,9 @@
     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)
     {