texlive[68812] Build/source/texk/web2c/lib: correct order of lines

commits+kakuto at tug.org commits+kakuto at tug.org
Sat Nov 11 07:25:08 CET 2023


Revision: 68812
          https://tug.org/svn/texlive?view=revision&revision=68812
Author:   kakuto
Date:     2023-11-11 07:25:08 +0100 (Sat, 11 Nov 2023)
Log Message:
-----------
correct order of lines (windows only)

Modified Paths:
--------------
    trunk/Build/source/texk/web2c/lib/ChangeLog
    trunk/Build/source/texk/web2c/lib/texmfmp.c

Modified: trunk/Build/source/texk/web2c/lib/ChangeLog
===================================================================
--- trunk/Build/source/texk/web2c/lib/ChangeLog	2023-11-11 00:44:05 UTC (rev 68811)
+++ trunk/Build/source/texk/web2c/lib/ChangeLog	2023-11-11 06:25:08 UTC (rev 68812)
@@ -1,3 +1,7 @@
+2023-11-11  Akira Kakuto  <kakuto at jcom.zaq.ne.jp>
+
+	* texmfmp.c: Order of lines was incorrect (windows only).
+
 2023-08-19  TANAKA Takuji  <ttk at t-lab.opal.ne.jp>
 
 	* texmfmp.c: Avoid compiler warning on MinGW.

Modified: trunk/Build/source/texk/web2c/lib/texmfmp.c
===================================================================
--- trunk/Build/source/texk/web2c/lib/texmfmp.c	2023-11-11 00:44:05 UTC (rev 68811)
+++ trunk/Build/source/texk/web2c/lib/texmfmp.c	2023-11-11 06:25:08 UTC (rev 68812)
@@ -1167,11 +1167,6 @@
   av[0] = kpse_program_basename (av[0]);
   _setmaxstdio(2048);
   setmode(fileno(stdin), _O_BINARY);
-#endif
-
-  maininit (ac, av);
-
-#ifdef WIN32
   if (ac > 1) {
     char *pp;
     if ((strlen(av[ac-1]) > 2) &&
@@ -1190,6 +1185,8 @@
   }
 #endif
 
+  maininit (ac, av);
+
   /* Call the real main program.  */
   mainbody ();
 



More information about the tex-live-commits mailing list.