summaryrefslogtreecommitdiff
path: root/Build/source/texk/kpathsea/cnf.c
diff options
context:
space:
mode:
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;