texlive[49230] Build/source/texk/kpathsea/elt-dirs.c: support
commits+kakuto at tug.org
commits+kakuto at tug.org
Fri Nov 23 11:53:49 CET 2018
Revision: 49230
http://tug.org/svn/texlive?view=revision&revision=49230
Author: kakuto
Date: 2018-11-23 11:53:49 +0100 (Fri, 23 Nov 2018)
Log Message:
-----------
support non-ascii values for variables (w32 only)
Modified Paths:
--------------
trunk/Build/source/texk/kpathsea/elt-dirs.c
Modified: trunk/Build/source/texk/kpathsea/elt-dirs.c
===================================================================
--- trunk/Build/source/texk/kpathsea/elt-dirs.c 2018-11-23 09:42:40 UTC (rev 49229)
+++ trunk/Build/source/texk/kpathsea/elt-dirs.c 2018-11-23 10:53:49 UTC (rev 49230)
@@ -409,6 +409,10 @@
str_llist_type *ret;
unsigned i;
+ /* If given nothing, return nothing. */
+ if (!elt || !*elt)
+ return NULL;
+
#ifdef _WIN32
/*
Change encoding of a variable into kpse->File_system_codepage
@@ -426,10 +430,6 @@
}
#endif
- /* If given nothing, return nothing. */
- if (!elt || !*elt)
- return NULL;
-
/* Normalize ELT before looking for a cached value. */
i = kpathsea_normalize_path (kpse, elt);
More information about the tex-live-commits
mailing list