diff options
author | Karl Berry <karl@freefriends.org> | 2017-11-03 22:50:57 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2017-11-03 22:50:57 +0000 |
commit | d280e23580526277e20890e40d6551dd390851f4 (patch) | |
tree | abbed1ab83338c075cdc54ae076526266f590a20 /Build/source/texk/kpathsea/default.h | |
parent | 753ccf29ee3c32686dbe1cb4ada792d0f26ec429 (diff) |
checks for empty program name, empty default strings
git-svn-id: svn://tug.org/texlive/trunk@45684 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/kpathsea/default.h')
-rw-r--r-- | Build/source/texk/kpathsea/default.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Build/source/texk/kpathsea/default.h b/Build/source/texk/kpathsea/default.h index a84d874d076..50fc1fc7c45 100644 --- a/Build/source/texk/kpathsea/default.h +++ b/Build/source/texk/kpathsea/default.h @@ -1,6 +1,6 @@ /* default.h: declare default path expander. - Copyright 1993, 1994, 2008, 2011 Karl Berry. + Copyright 1993, 1994, 2008, 2011, 2017 Karl Berry. This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public @@ -26,6 +26,7 @@ /* Replace a leading or trailing or doubled : in PATH with DFLT. If no extra colons, return PATH. Only one extra colon is replaced. + If PATH is NULL or the empty string, DFLT is returned. DFLT may not be NULL. The result is always in new memory. */ extern string kpathsea_expand_default (kpathsea kpse, const_string path, |