summaryrefslogtreecommitdiff
path: root/Build/source/utils/m-tx/mtx-src-PATCHES/patch-01-write-bin
blob: 150ebbd6cafab1b43cd8cbfb7c398e1ba0a88c75 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- mtx-0.61.orig/globals.c	Thu Dec 17 04:15:57 2015
+++ mtx-0.61/globals.c	Thu Dec 17 08:57:13 2015
@@ -223,7 +223,7 @@
     if (outfile != NULL)
       fclose(outfile);
     outfile = NULL;
-    outfile = fopen(outfile_NAME, "w");
+    outfile = fopen(outfile_NAME, "wb");
     if (outfile == NULL)
       _EscIO2(FileNotFound, outfile_NAME);
     fclose(outfile);