summaryrefslogtreecommitdiff
path: root/Build/source/utils/m-tx/TLpatches/patch-01-write-bin
blob: 5023d2009b7023062aefdbc5b40d57b8acf469e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff -ur mtx-0.63.orig/globals.c mtx-0.63/globals.c
--- mtx-0.63.orig/globals.c	Tue Jan 09 01:39:42 2018
+++ mtx-0.63/globals.c	Tue Jan 09 08:46:40 2018
@@ -230,7 +230,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);