From 03959462285142aaf8e1f08a7abb146b6113d4a1 Mon Sep 17 00:00:00 2001 From: Akira Kakuto Date: Wed, 30 Aug 2017 07:24:29 +0000 Subject: t1utils: binary output (w32 only) git-svn-id: svn://tug.org/texlive/trunk@45172 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/utils/t1utils/TLpatches/patch-04-TL-binary | 13 +++++++++++++ Build/source/utils/t1utils/t1utils-src/t1asm.c | 3 +-- 2 files changed, 14 insertions(+), 2 deletions(-) (limited to 'Build/source/utils') diff --git a/Build/source/utils/t1utils/TLpatches/patch-04-TL-binary b/Build/source/utils/t1utils/TLpatches/patch-04-TL-binary index 150d3d4747d..c3d170c3e63 100644 --- a/Build/source/utils/t1utils/TLpatches/patch-04-TL-binary +++ b/Build/source/utils/t1utils/TLpatches/patch-04-TL-binary @@ -11,6 +11,19 @@ diff -ur t1utils-1.41.orig/t1ascii.c t1utils-1.41/t1ascii.c #endif /* prepare font reader */ +diff -ur t1utils-1.41.orig/t1asm.c t1utils-1.41/t1asm.c +--- t1utils-1.41.orig/t1asm.c Thu Aug 17 01:31:11 2017 ++++ t1utils-1.41/t1asm.c Wed Aug 30 16:13:00 2017 +@@ -715,8 +715,7 @@ + #if defined(_MSDOS) || defined(_WIN32) + /* 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 + + /* Finally, we loop until no more input. Some special things to look for are diff -ur t1utils-1.41.orig/t1disasm.c t1utils-1.41/t1disasm.c --- t1utils-1.41.orig/t1disasm.c Thu Aug 17 01:31:24 2017 +++ t1utils-1.41/t1disasm.c Mon Aug 28 15:43:58 2017 diff --git a/Build/source/utils/t1utils/t1utils-src/t1asm.c b/Build/source/utils/t1utils/t1utils-src/t1asm.c index 898c0c516a0..67a6ced2234 100644 --- a/Build/source/utils/t1utils/t1utils-src/t1asm.c +++ b/Build/source/utils/t1utils/t1utils-src/t1asm.c @@ -715,8 +715,7 @@ particular purpose.\n"); #if defined(_MSDOS) || defined(_WIN32) /* 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 /* Finally, we loop until no more input. Some special things to look for are -- cgit v1.2.3