summaryrefslogtreecommitdiff
path: root/Build/source/texk/kpathsea/variable.h
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/kpathsea/variable.h')
-rw-r--r--Build/source/texk/kpathsea/variable.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/Build/source/texk/kpathsea/variable.h b/Build/source/texk/kpathsea/variable.h
index ab4a22a6924..6bd2a62bf98 100644
--- a/Build/source/texk/kpathsea/variable.h
+++ b/Build/source/texk/kpathsea/variable.h
@@ -1,6 +1,6 @@
/* variable.h: declare variable expander.
- Copyright 1993, 1995, 2008 Karl Berry.
+ Copyright 1993, 1995, 2008, 2019 Karl Berry.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
@@ -39,7 +39,9 @@ extern KPSEDLL string kpathsea_var_value (kpathsea kpse, const_string var);
In any case, ``expansion'' means calling `getenv'; if the variable is not
set, look in texmf.cnf files for a definition. If not set there, either,
- the expansion is the empty string (no error). */
+ the expansion of a $FOO construct is its literal text ("$FOO"), while
+ the expansion of a ${BAR} construct is the empty string. This is so
+ at least some file names containing $ characters will work. */
extern KPSEDLL string kpathsea_var_expand (kpathsea kpse, const_string src);
#if defined (KPSE_COMPAT_API)