texlive[43956] Build/source/texk/kpathsea: kpathsea: Update

commits+kakuto at tug.org commits+kakuto at tug.org
Fri Apr 21 12:40:16 CEST 2017


Revision: 43956
          http://tug.org/svn/texlive?view=revision&revision=43956
Author:   kakuto
Date:     2017-04-21 12:40:16 +0200 (Fri, 21 Apr 2017)
Log Message:
-----------
kpathsea: Update win32lib.c and mingw32.c (w32 only)

Modified Paths:
--------------
    trunk/Build/source/texk/kpathsea/ChangeLog
    trunk/Build/source/texk/kpathsea/mingw32.c
    trunk/Build/source/texk/kpathsea/win32lib.c

Modified: trunk/Build/source/texk/kpathsea/ChangeLog
===================================================================
--- trunk/Build/source/texk/kpathsea/ChangeLog	2017-04-21 01:57:31 UTC (rev 43955)
+++ trunk/Build/source/texk/kpathsea/ChangeLog	2017-04-21 10:40:16 UTC (rev 43956)
@@ -1,3 +1,7 @@
+2017-04-21  Akira Kakuto  <kakuto at fuk.kindai.ac.jp>
+
+	* win32lib.c, mingw32.c: Upsate texlive_gs_init() (w32 only). 
+
 2017-04-14  Karl Berry  <karl at tug.org>
 
 	* texmf.cnf (shell_escape_commands): add texosquery-jre8.

Modified: trunk/Build/source/texk/kpathsea/mingw32.c
===================================================================
--- trunk/Build/source/texk/kpathsea/mingw32.c	2017-04-21 01:57:31 UTC (rev 43955)
+++ trunk/Build/source/texk/kpathsea/mingw32.c	2017-04-21 10:40:16 UTC (rev 43956)
@@ -409,7 +409,7 @@
 {
   char *nptr, *path;
   char tlgsbindir[512];
-  char tlgslibdir[512];
+  char tlgslibdir[1024];
   nptr = kpse_var_value("TEXLIVE_WINDOWS_EXTERNAL_GS");
   if (nptr == NULL || !strcmp(nptr, "0") || !strcmp(nptr, "n") || !strcmp(nptr, "f")) {
     if (nptr)
@@ -422,7 +422,13 @@
         strcpy(tlgslibdir, tlgsbindir);
         strcat(tlgslibdir, "/lib;");
         strcat(tlgslibdir, tlgsbindir);
-        strcat(tlgslibdir, "/fonts");
+        strcat(tlgslibdir, "/fonts;");
+        strcat(tlgslibdir, tlgsbindir);
+        strcat(tlgslibdir, "/Resource/Init;");
+        strcat(tlgslibdir, tlgsbindir);
+        strcat(tlgslibdir, "/Resource;");
+        strcat(tlgslibdir, tlgsbindir);
+        strcat(tlgslibdir, "/kanji");
         strcat(tlgsbindir, "/bin;");
         free(nptr);
         for(nptr = tlgsbindir; *nptr; nptr++) {

Modified: trunk/Build/source/texk/kpathsea/win32lib.c
===================================================================
--- trunk/Build/source/texk/kpathsea/win32lib.c	2017-04-21 01:57:31 UTC (rev 43955)
+++ trunk/Build/source/texk/kpathsea/win32lib.c	2017-04-21 10:40:16 UTC (rev 43956)
@@ -133,7 +133,7 @@
 {
   char *nptr, *path;
   char tlgsbindir[512];
-  char tlgslibdir[512];
+  char tlgslibdir[1024];
   nptr = kpse_var_value("TEXLIVE_WINDOWS_EXTERNAL_GS");
   if (nptr == NULL || !strcmp(nptr, "0") || !strcmp(nptr, "n") || !strcmp(nptr, "f")) {
     if (nptr)
@@ -146,7 +146,13 @@
         strcpy(tlgslibdir, tlgsbindir);
         strcat(tlgslibdir, "/lib;");
         strcat(tlgslibdir, tlgsbindir);
-        strcat(tlgslibdir, "/fonts");
+        strcat(tlgslibdir, "/fonts;");
+        strcat(tlgslibdir, tlgsbindir);
+        strcat(tlgslibdir, "/Resource/Init;");
+        strcat(tlgslibdir, tlgsbindir);
+        strcat(tlgslibdir, "/Resource;");
+        strcat(tlgslibdir, tlgsbindir);
+        strcat(tlgslibdir, "/kanji");
         strcat(tlgsbindir, "/bin;");
         free(nptr);
         for(nptr = tlgsbindir; *nptr; nptr++) {



More information about the tex-live-commits mailing list