texlive[47865] Build/source/texk/web2c: Discard the changes for

commits+kakuto at tug.org commits+kakuto at tug.org
Tue May 29 08:52:07 CEST 2018


Revision: 47865
          http://tug.org/svn/texlive?view=revision&revision=47865
Author:   kakuto
Date:     2018-05-29 08:52:07 +0200 (Tue, 29 May 2018)
Log Message:
-----------
Discard the changes for pdfTeX on 2018-05-11, since 'command_line_encoding=utf-8' is not so natural for pdfTeX (w32 only).

Modified Paths:
--------------
    trunk/Build/source/texk/web2c/lib/ChangeLog
    trunk/Build/source/texk/web2c/lib/texmfmp.c
    trunk/Build/source/texk/web2c/pdftexdir/ChangeLog
    trunk/Build/source/texk/web2c/pdftexdir/ptexlib.h
    trunk/Build/source/texk/web2c/synctexdir/ChangeLog
    trunk/Build/source/texk/web2c/synctexdir/synctex.c

Modified: trunk/Build/source/texk/web2c/lib/ChangeLog
===================================================================
--- trunk/Build/source/texk/web2c/lib/ChangeLog	2018-05-29 06:08:34 UTC (rev 47864)
+++ trunk/Build/source/texk/web2c/lib/ChangeLog	2018-05-29 06:52:07 UTC (rev 47865)
@@ -1,3 +1,9 @@
+2018-05-29  Akira Kakuto  <kakuto at fuk.kindai.ac.jp>
+
+	* texmfmp.c: Discard the changes for pdfTeX on 2018-05-11,
+	since 'command_line_encoding=utf-8' is not so natural
+	for pdfTeX (w32 only).
+
 2018-05-12  Akira Kakuto  <kakuto at fuk.kindai.ac.jp>
 
 	* texmfmp.c: Allow non-ascii file names for pdfTeX (w32 only).

Modified: trunk/Build/source/texk/web2c/lib/texmfmp.c
===================================================================
--- trunk/Build/source/texk/web2c/lib/texmfmp.c	2018-05-29 06:08:34 UTC (rev 47864)
+++ trunk/Build/source/texk/web2c/lib/texmfmp.c	2018-05-29 06:52:07 UTC (rev 47865)
@@ -674,7 +674,7 @@
 maininit (int ac, string *av)
 {
   string main_input_file;
-#if (IS_upTeX || defined(XeTeX) || defined(pdfTeX)) && defined(WIN32)
+#if (IS_upTeX || defined(XeTeX)) && defined(WIN32)
   string enc;
 #endif
   /* Save to pass along to topenin.  */
@@ -703,10 +703,10 @@
   kpse_set_program_name (argv[0], NULL);
   initkanji ();
 #endif
-#if (defined(XeTeX) || defined(pdfTeX)) && defined(WIN32)
+#if defined(XeTeX) && defined(WIN32)
   kpse_set_program_name (argv[0], NULL);
 #endif
-#if (IS_upTeX || defined(XeTeX) || defined(pdfTeX)) && defined(WIN32)
+#if (IS_upTeX || defined(XeTeX)) && defined(WIN32)
   enc = kpse_var_value("command_line_encoding");
   get_command_line_args_utf8(enc, &argc, &argv);
 #endif
@@ -714,7 +714,7 @@
   /* If the user says --help or --version, we need to notice early.  And
      since we want the --ini option, have to do it before getting into
      the web (which would read the base file, etc.).  */
-#if (IS_upTeX || defined(XeTeX) || defined(pdfTeX)) && defined(WIN32)
+#if (IS_upTeX || defined(XeTeX)) && defined(WIN32)
   parse_options (argc, argv);
 #else
   parse_options (ac, av);
@@ -738,7 +738,7 @@
   /* Do this early so we can inspect kpse_invocation_name and
      kpse_program_name below, and because we have to do this before
      any path searching.  */
-#if IS_pTeX || ((defined(XeTeX) || defined(pdfTeX)) && defined(WIN32))
+#if IS_pTeX || (defined(XeTeX) && defined(WIN32))
   if (user_progname)
     kpse_reset_program_name (user_progname);
 #else

Modified: trunk/Build/source/texk/web2c/pdftexdir/ChangeLog
===================================================================
--- trunk/Build/source/texk/web2c/pdftexdir/ChangeLog	2018-05-29 06:08:34 UTC (rev 47864)
+++ trunk/Build/source/texk/web2c/pdftexdir/ChangeLog	2018-05-29 06:52:07 UTC (rev 47865)
@@ -1,3 +1,9 @@
+2018-05-29  Akira Kakuto  <kakuto at fuk.kindai.ac.jp>
+
+	* ptexlib.h: Discard the changes on 2018-05-11, since
+	'command_line_encoding=utf-8' is not so natural for
+	pdfTeX (w32 only).
+
 2018-05-13  Joseph Wright  <joseph.wright at morningstar2.co.uk>
 
 	* pdftex.web: New primitive \expanded based on original

Modified: trunk/Build/source/texk/web2c/pdftexdir/ptexlib.h
===================================================================
--- trunk/Build/source/texk/web2c/pdftexdir/ptexlib.h	2018-05-29 06:08:34 UTC (rev 47864)
+++ trunk/Build/source/texk/web2c/pdftexdir/ptexlib.h	2018-05-29 06:52:07 UTC (rev 47865)
@@ -20,13 +20,6 @@
 #ifndef PDFTEXLIB
 #  define PDFTEXLIB
 
-#ifdef _WIN32
-#undef fopen
-#undef xfopen
-#define fopen fsyscp_fopen
-#define xfopen fsyscp_xfopen
-#endif
-
 /* WEB2C macros and prototypes */
 #  if !defined(PDFTEXCOERCE) && !defined(PDFETEXCOERCE)
 #    ifdef pdfTeX

Modified: trunk/Build/source/texk/web2c/synctexdir/ChangeLog
===================================================================
--- trunk/Build/source/texk/web2c/synctexdir/ChangeLog	2018-05-29 06:08:34 UTC (rev 47864)
+++ trunk/Build/source/texk/web2c/synctexdir/ChangeLog	2018-05-29 06:52:07 UTC (rev 47865)
@@ -1,3 +1,9 @@
+2018-05-29  Akira Kakuto  <kakuto at fuk.kindai.ac.jp>
+
+	* synctex.c: Discard the changes on 2018-05-11, since
+	'command_line_encoding=utf-8' is not so natural for
+	pdfTeX (w32 only).
+
 2018-05-11  Akira Kakuto  <kakuto at fuk.kindai.ac.jp>
 
 	* synctex.c: Allow non-ascii file names also for pdfTeX

Modified: trunk/Build/source/texk/web2c/synctexdir/synctex.c
===================================================================
--- trunk/Build/source/texk/web2c/synctexdir/synctex.c	2018-05-29 06:08:34 UTC (rev 47864)
+++ trunk/Build/source/texk/web2c/synctexdir/synctex.c	2018-05-29 06:52:07 UTC (rev 47865)
@@ -292,7 +292,7 @@
 #       define SYNCTEX_OFFSET_IS_PDF 0
 #   endif
 
-#if defined(_WIN32) && (defined(pdfTeX) || defined(upTeX) || defined(eupTeX) || defined(XeTeX))
+#if defined(_WIN32) && (defined(upTeX) || defined(eupTeX) || defined(XeTeX))
 #define W32UPTEXSYNCTEX 1
 #include <wchar.h>
 static char *chgto_oem(char *src);



More information about the tex-live-commits mailing list