texlive[45172] Build/source/utils/t1utils: t1utils: binary output
commits+kakuto at tug.org
commits+kakuto at tug.org
Wed Aug 30 09:24:29 CEST 2017
Revision: 45172
http://tug.org/svn/texlive?view=revision&revision=45172
Author: kakuto
Date: 2017-08-30 09:24:29 +0200 (Wed, 30 Aug 2017)
Log Message:
-----------
t1utils: binary output (w32 only)
Modified Paths:
--------------
trunk/Build/source/utils/t1utils/TLpatches/patch-04-TL-binary
trunk/Build/source/utils/t1utils/t1utils-src/t1asm.c
Modified: trunk/Build/source/utils/t1utils/TLpatches/patch-04-TL-binary
===================================================================
--- trunk/Build/source/utils/t1utils/TLpatches/patch-04-TL-binary 2017-08-30 07:02:48 UTC (rev 45171)
+++ trunk/Build/source/utils/t1utils/TLpatches/patch-04-TL-binary 2017-08-30 07:24:29 UTC (rev 45172)
@@ -11,6 +11,19 @@
#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
Modified: trunk/Build/source/utils/t1utils/t1utils-src/t1asm.c
===================================================================
--- trunk/Build/source/utils/t1utils/t1utils-src/t1asm.c 2017-08-30 07:02:48 UTC (rev 45171)
+++ trunk/Build/source/utils/t1utils/t1utils-src/t1asm.c 2017-08-30 07:24:29 UTC (rev 45172)
@@ -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
More information about the tex-live-commits
mailing list