summaryrefslogtreecommitdiff
path: root/Build
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2017-12-09 00:56:45 +0000
committerKarl Berry <karl@freefriends.org>2017-12-09 00:56:45 +0000
commit037654b071b00d9567c0988214f128b0e5b6d824 (patch)
treef9f81cc1b16e0b41989625ae923f14e5c61200f3 /Build
parentf54d9cf5282bbd54f70dff81d94ec667928da76b (diff)
use DIR_SEP_STRING instead of / in initializations
git-svn-id: svn://tug.org/texlive/trunk@46022 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build')
-rw-r--r--Build/source/texk/kpathsea/ChangeLog9
-rw-r--r--Build/source/texk/kpathsea/tex-file.c10
2 files changed, 14 insertions, 5 deletions
diff --git a/Build/source/texk/kpathsea/ChangeLog b/Build/source/texk/kpathsea/ChangeLog
index 51ca0f0cea0..7aa64cbd8f0 100644
--- a/Build/source/texk/kpathsea/ChangeLog
+++ b/Build/source/texk/kpathsea/ChangeLog
@@ -1,7 +1,14 @@
+2017-12-08 Karl Berry <karl@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@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@tug.org>
diff --git a/Build/source/texk/kpathsea/tex-file.c b/Build/source/texk/kpathsea/tex-file.c
index 74275de955c..952f1f205f8 100644
--- a/Build/source/texk/kpathsea/tex-file.c
+++ b/Build/source/texk/kpathsea/tex-file.c
@@ -730,14 +730,16 @@ kpathsea_init_format_return_varlist(kpathsea kpse,kpse_file_format_type format)
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;