texlive[46022] Build/source/texk/kpathsea: use DIR_SEP_STRING instead
commits+karl at tug.org
commits+karl at tug.org
Sat Dec 9 01:56:46 CET 2017
Revision: 46022
http://tug.org/svn/texlive?view=revision&revision=46022
Author: karl
Date: 2017-12-09 01:56:45 +0100 (Sat, 09 Dec 2017)
Log Message:
-----------
use DIR_SEP_STRING instead of / in initializations
Modified Paths:
--------------
trunk/Build/source/texk/kpathsea/ChangeLog
trunk/Build/source/texk/kpathsea/tex-file.c
Modified: trunk/Build/source/texk/kpathsea/ChangeLog
===================================================================
--- trunk/Build/source/texk/kpathsea/ChangeLog 2017-12-09 00:08:16 UTC (rev 46021)
+++ trunk/Build/source/texk/kpathsea/ChangeLog 2017-12-09 00:56:45 UTC (rev 46022)
@@ -1,7 +1,14 @@
+2017-12-08 Karl Berry <karl at freefriends.org>
+
+ * tex-file.c (kpathsea_init_format_return_varlist)
+ <kpse_program_text_format>, <kpse_program_binary_format>:
+ use DIR_SEP_STRING instead of hardwired /
+ Report from Douglas McKenna, tex-k 5 Dec 2017 22:27:10.
+
2017-12-05 Karl Berry <karl at freefriends.org>
* c-minmax.h (SCHAR_MAX): decrement to the correct 127.
- Report from Doug McKenna, tex-k 4 Dec 2017 18:26:35.
+ Report from Douglas McKenna, tex-k 4 Dec 2017 18:26:35.
2017-11-28 Karl Berry <karl at tug.org>
Modified: trunk/Build/source/texk/kpathsea/tex-file.c
===================================================================
--- trunk/Build/source/texk/kpathsea/tex-file.c 2017-12-09 00:08:16 UTC (rev 46021)
+++ trunk/Build/source/texk/kpathsea/tex-file.c 2017-12-09 00:56:45 UTC (rev 46022)
@@ -730,14 +730,16 @@
break;
case kpse_program_text_format:
INIT_FORMAT ("other text files",
- concatn (".", ENV_SEP_STRING, "$TEXMF/",
- kpse->program_name, "//", NULL),
+ concatn (".", ENV_SEP_STRING, "$TEXMF", DIR_SEP_STRING,
+ kpse->program_name,
+ DIR_SEP_STRING, DIR_SEP_STRING, NULL),
concat (uppercasify (kpse->program_name), "INPUTS"));
break;
case kpse_program_binary_format:
INIT_FORMAT ("other binary files",
- concatn (".", ENV_SEP_STRING, "$TEXMF/",
- kpse->program_name, "//", NULL),
+ concatn (".", ENV_SEP_STRING, "$TEXMF", DIR_SEP_STRING,
+ kpse->program_name,
+ DIR_SEP_STRING, DIR_SEP_STRING, NULL),
concat (uppercasify (kpse->program_name), "INPUTS"));
FMT_INFO.binmode = true;
break;
More information about the tex-live-commits
mailing list