summaryrefslogtreecommitdiff
path: root/Build/source/utils/t1utils
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2012-08-13 07:47:30 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2012-08-13 07:47:30 +0000
commit48f3c5e8221e66fda48a8b93457b71ce99356a25 (patch)
tree045b199cd83c806572089e51e97d46249dd05098 /Build/source/utils/t1utils
parent9a45d6e20171c18750c5035135617ac995868b42 (diff)
t1utils: Remove TL vs W32TeX diffs (from Akira)
git-svn-id: svn://tug.org/texlive/trunk@27381 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/utils/t1utils')
-rw-r--r--Build/source/utils/t1utils/t1utils-1.37-PATCHES/ChangeLog5
-rw-r--r--Build/source/utils/t1utils/t1utils-1.37-PATCHES/patch-04-TL-binary37
-rw-r--r--Build/source/utils/t1utils/t1utils-1.37/t1ascii.c1
-rw-r--r--Build/source/utils/t1utils/t1utils-1.37/t1disasm.c1
-rw-r--r--Build/source/utils/t1utils/t1utils-1.37/t1unmac.c3
5 files changed, 45 insertions, 2 deletions
diff --git a/Build/source/utils/t1utils/t1utils-1.37-PATCHES/ChangeLog b/Build/source/utils/t1utils/t1utils-1.37-PATCHES/ChangeLog
index 00434bf5400..61ac3921ac6 100644
--- a/Build/source/utils/t1utils/t1utils-1.37-PATCHES/ChangeLog
+++ b/Build/source/utils/t1utils/t1utils-1.37-PATCHES/ChangeLog
@@ -1,3 +1,8 @@
+2012-08-12 Peter Breitenlohner <peb@mppmu.mpg.de>
+
+ * patch-04-TL-binary (new): Use binary mode for output files.
+ From Akira Kakuto <kakuto@fuk.kindai.ac.jp> (W32TeX).
+
2011-07-21 Peter Breitenlohner <peb@mppmu.mpg.de>
Adapt to t1utils-1.37.
diff --git a/Build/source/utils/t1utils/t1utils-1.37-PATCHES/patch-04-TL-binary b/Build/source/utils/t1utils/t1utils-1.37-PATCHES/patch-04-TL-binary
new file mode 100644
index 00000000000..6f0f32ff281
--- /dev/null
+++ b/Build/source/utils/t1utils/t1utils-1.37-PATCHES/patch-04-TL-binary
@@ -0,0 +1,37 @@
+ In TeX Live we treat all output files as binary.
+
+diff -ur t1utils-1.37.orig/t1ascii.c t1utils-1.37/t1ascii.c
+--- t1utils-1.37.orig/t1ascii.c 2011-04-04 16:47:49.000000000 +0200
++++ t1utils-1.37/t1ascii.c 2012-08-12 13:07:47.000000000 +0200
+@@ -281,6 +281,7 @@
+ /* As we are processing a PFB (binary) input */
+ /* file, we must set its file mode to binary. */
+ _setmode(_fileno(ifp), _O_BINARY);
++ _setmode(_fileno(ofp), _O_BINARY);
+ #endif
+
+ /* prepare font reader */
+diff -ur t1utils-1.37.orig/t1disasm.c t1utils-1.37/t1disasm.c
+--- t1utils-1.37.orig/t1disasm.c 2011-07-20 18:22:17.000000000 +0200
++++ t1utils-1.37/t1disasm.c 2012-08-12 13:08:15.000000000 +0200
+@@ -747,6 +747,7 @@
+ /* As we might be processing a PFB (binary) input file, we must set its file
+ mode to binary. */
+ _setmode(_fileno(ifp), _O_BINARY);
++ _setmode(_fileno(ofp), _O_BINARY);
+ #endif
+
+ /* prepare font reader */
+diff -ur t1utils-1.37.orig/t1unmac.c t1utils-1.37/t1unmac.c
+--- t1utils-1.37.orig/t1unmac.c 2011-04-04 16:47:49.000000000 +0200
++++ t1utils-1.37/t1unmac.c 2012-08-12 13:23:32.000000000 +0200
+@@ -651,8 +651,7 @@
+ _setmode(_fileno(ifp), _O_BINARY);
+ /* If we are processing a PFB (binary) output */
+ /* file, we must set its file mode to binary. */
+- if (pfb)
+- _setmode(_fileno(ofp), _O_BINARY);
++ _setmode(_fileno(ofp), _O_BINARY);
+ #endif
+
+ if (pfb)
diff --git a/Build/source/utils/t1utils/t1utils-1.37/t1ascii.c b/Build/source/utils/t1utils/t1utils-1.37/t1ascii.c
index 7e256d28e93..b8479212bf2 100644
--- a/Build/source/utils/t1utils/t1utils-1.37/t1ascii.c
+++ b/Build/source/utils/t1utils/t1utils-1.37/t1ascii.c
@@ -281,6 +281,7 @@ particular purpose.\n");
/* As we are processing a PFB (binary) input */
/* file, we must set its file mode to binary. */
_setmode(_fileno(ifp), _O_BINARY);
+ _setmode(_fileno(ofp), _O_BINARY);
#endif
/* prepare font reader */
diff --git a/Build/source/utils/t1utils/t1utils-1.37/t1disasm.c b/Build/source/utils/t1utils/t1utils-1.37/t1disasm.c
index 25318a96ee2..bf48a15e5f1 100644
--- a/Build/source/utils/t1utils/t1utils-1.37/t1disasm.c
+++ b/Build/source/utils/t1utils/t1utils-1.37/t1disasm.c
@@ -747,6 +747,7 @@ particular purpose.\n");
/* As we might be processing a PFB (binary) input file, we must set its file
mode to binary. */
_setmode(_fileno(ifp), _O_BINARY);
+ _setmode(_fileno(ofp), _O_BINARY);
#endif
/* prepare font reader */
diff --git a/Build/source/utils/t1utils/t1utils-1.37/t1unmac.c b/Build/source/utils/t1utils/t1utils-1.37/t1unmac.c
index e1d27219851..02e431b10b4 100644
--- a/Build/source/utils/t1utils/t1utils-1.37/t1unmac.c
+++ b/Build/source/utils/t1utils/t1utils-1.37/t1unmac.c
@@ -651,8 +651,7 @@ particular purpose.\n");
_setmode(_fileno(ifp), _O_BINARY);
/* If we are processing a PFB (binary) output */
/* file, we must set its file mode to binary. */
- if (pfb)
- _setmode(_fileno(ofp), _O_BINARY);
+ _setmode(_fileno(ofp), _O_BINARY);
#endif
if (pfb)