summaryrefslogtreecommitdiff
path: root/Build/source/texk/kpathsea/cnf.c
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2018-12-12 23:32:21 +0000
committerKarl Berry <karl@freefriends.org>2018-12-12 23:32:21 +0000
commite7c6248709acb026c8d8c2fb1fd7e4f968d29b60 (patch)
tree11c461997177fbca12b15e7edecdea91663e52e2 /Build/source/texk/kpathsea/cnf.c
parent8441f31cd34519760d11af39eed6db71dd2ca2d8 (diff)
doc, diag tweaks
git-svn-id: svn://tug.org/texlive/trunk@49397 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/kpathsea/cnf.c')
-rw-r--r--Build/source/texk/kpathsea/cnf.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/Build/source/texk/kpathsea/cnf.c b/Build/source/texk/kpathsea/cnf.c
index b8d4a9c69ac..60a5df93e6d 100644
--- a/Build/source/texk/kpathsea/cnf.c
+++ b/Build/source/texk/kpathsea/cnf.c
@@ -1,7 +1,7 @@
/* cnf.c: read config files.
Copyright 1994, 1995, 1996, 1997, 2008, 2009, 2011, 2012, 2016,
- 2017 Karl Berry.
+ 2017, 2018 Karl Berry.
Copyright 1997-2005 Olaf Weber.
This library is free software; you can redistribute it and/or
@@ -140,14 +140,14 @@ do_line (kpathsea kpse, string line)
value[len] = 0;
/* Suppose we want to write a single texmf.cnf that can be used under
- both NT and Unix. This is feasible except for the path separators
- : on Unix, ; on NT. We can't switch NT to allowing :'s, since :
- is the drive separator. So we switch Unix to allowing ;'s. On the
- other hand, we don't want to change IS_ENV_SEP and all the rest.
-
- So, simply translate all ;'s in the path
- values to :'s if we are a Unix binary. (Fortunately we don't use ;
- in other kinds of texmf.cnf values.) */
+ both Windows and Unix. This is feasible except for the path
+ separators: : on Unix, ; on Windows. We can't switch Windows to
+ allowing :, since : is the drive separator. So we switch Unix to
+ allowing ;. On the other hand, we don't want to change IS_ENV_SEP
+ and all the rest.
+
+ So, translate all ;'s in the path values to :'s if we'd normally
+ use :. (Fortunately we don't use ; as a normal character in values.) */
if (IS_ENV_SEP(':')) {
string loc;