summaryrefslogtreecommitdiff
path: root/Build/source/texk/kpathsea/pathsearch.h
diff options
context:
space:
mode:
authorAkira Kakuto <kakuto@fuk.kindai.ac.jp>2010-05-15 01:55:00 +0000
committerAkira Kakuto <kakuto@fuk.kindai.ac.jp>2010-05-15 01:55:00 +0000
commitff95b300f8204c215384425032124f206349bca2 (patch)
treeabdb4fced025cb35b974f9f0ba0c7d6c9fd01094 /Build/source/texk/kpathsea/pathsearch.h
parent64252d2baf23bb55ca90c388215779740c73e695 (diff)
remove trailing spaces.
git-svn-id: svn://tug.org/texlive/trunk@18276 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/kpathsea/pathsearch.h')
-rw-r--r--Build/source/texk/kpathsea/pathsearch.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/Build/source/texk/kpathsea/pathsearch.h b/Build/source/texk/kpathsea/pathsearch.h
index 1238baa696f..cdf91f0c3c7 100644
--- a/Build/source/texk/kpathsea/pathsearch.h
+++ b/Build/source/texk/kpathsea/pathsearch.h
@@ -45,7 +45,7 @@ extern unsigned kpathsea_normalize_path (kpathsea kpse, string elt);
of the corresponding (existing) directory or directories, with
trailing slashes, or NULL. If ELT is the empty string, check the
current working directory.
-
+
It's up to the caller to expand ELT. This is because this routine is
most likely only useful to be called from `kpathsea_path_search', which
has already assumed expansion has been done. */
@@ -56,19 +56,19 @@ extern KPSEDLL str_llist_type *kpathsea_element_dirs (kpathsea kpse,
/* Call `kpathsea_expand' on NAME. If the result is an absolute or
explicitly relative filename, check whether it is a readable
(regular) file.
-
+
Otherwise, look in each of the directories specified in PATH (also do
tilde and variable expansion on elements in PATH), using a prebuilt
db (see db.h) if it's relevant for a given path element.
-
+
If the prebuilt db doesn't exist, or if MUST_EXIST is true and NAME
isn't found in the prebuilt db, look on the filesystem. (I.e., if
MUST_EXIST is false, and NAME isn't found in the db, do *not* look on
the filesystem.)
-
+
The caller must expand PATH. This is because it makes more sense to
do this once, in advance, instead of for every search.
-
+
In any case, return a matching filename if found, otherwise NULL.
If more than one file matches, which one gets returned is
unspecified. */