summaryrefslogtreecommitdiff
path: root/Build/source/utils/m-tx/TLPATCHES/patch-01-write-bin
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/utils/m-tx/TLPATCHES/patch-01-write-bin')
-rw-r--r--Build/source/utils/m-tx/TLPATCHES/patch-01-write-bin12
1 files changed, 12 insertions, 0 deletions
diff --git a/Build/source/utils/m-tx/TLPATCHES/patch-01-write-bin b/Build/source/utils/m-tx/TLPATCHES/patch-01-write-bin
new file mode 100644
index 00000000000..0c85cedf4f8
--- /dev/null
+++ b/Build/source/utils/m-tx/TLPATCHES/patch-01-write-bin
@@ -0,0 +1,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);