summaryrefslogtreecommitdiff
path: root/Build/source/utils/m-tx/TLPATCHES/patch-01-write-bin
blob: 0c85cedf4f85dc0badf02e176bb3778d26e5b258 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff -ur mtx-0.62.orig/globals.c mtx-0.62/globals.c
--- mtx-0.62.orig/globals.c	Tue Feb 09 05:51:40 2016
+++ mtx-0.62/globals.c	Thu Feb 11 01:50:54 2016
@@ -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);