diff options
author | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2017-08-30 07:24:29 +0000 |
---|---|---|
committer | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2017-08-30 07:24:29 +0000 |
commit | 03959462285142aaf8e1f08a7abb146b6113d4a1 (patch) | |
tree | b025d3b1590a73ed359cf8d0e0257394a5128dd9 /Build | |
parent | 62ece492afd5cdc8e776f5b5913077d6220fb949 (diff) |
t1utils: binary output (w32 only)
git-svn-id: svn://tug.org/texlive/trunk@45172 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build')
-rw-r--r-- | Build/source/utils/t1utils/TLpatches/patch-04-TL-binary | 13 | ||||
-rw-r--r-- | Build/source/utils/t1utils/t1utils-src/t1asm.c | 3 |
2 files changed, 14 insertions, 2 deletions
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 |