From ab062404c17563eba0352a2a257162c0e9310933 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Thu, 13 Dec 2018 22:44:47 +0000 Subject: (-var-value): disable brace_expand again due to selfautoloc=c:/texlive/texlive2018/bin/win32. git-svn-id: svn://tug.org/texlive/trunk@49401 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/texk/kpathsea/kpsewhich.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'Build') diff --git a/Build/source/texk/kpathsea/kpsewhich.c b/Build/source/texk/kpathsea/kpsewhich.c index d78f098f657..879c7998757 100644 --- a/Build/source/texk/kpathsea/kpsewhich.c +++ b/Build/source/texk/kpathsea/kpsewhich.c @@ -836,12 +836,19 @@ main (int argc, string *argv) unfound++; value = ""; } + +#if 0 +/* must think about + selfautoloc=c:/texlive/texlive2018/bin/win32 + kpsewhich --var-value selfautoloc + /* It is helpful for users to output the fully-expanded (as a string, no filesystem checks) value. We can't call brace_expand as part of kpathsea_var_value, though, because unfortunately it is not reentrant. We use var_value in lots of places in the source, and it clobbers the static buffer in the kpse structure. */ value = kpathsea_brace_expand (kpse, value); +#endif puts (value); } -- cgit v1.2.3