summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Build/source/texk/kpathsea/pathsearch.c3
-rw-r--r--Build/source/texk/kpathsea/xputenv.c2
2 files changed, 3 insertions, 2 deletions
diff --git a/Build/source/texk/kpathsea/pathsearch.c b/Build/source/texk/kpathsea/pathsearch.c
index 90d21945556..e3b3fc14885 100644
--- a/Build/source/texk/kpathsea/pathsearch.c
+++ b/Build/source/texk/kpathsea/pathsearch.c
@@ -288,13 +288,14 @@ path_search P4C(const_string, path, string, name,
}
/* Did we find anything anywhere? */
- if (found && STR_LIST (*found))
+ if (found && STR_LIST (*found)) {
if (all)
str_list_concat (&ret_list, *found);
else {
str_list_add (&ret_list, STR_LIST_ELT (*found, 0));
done = true;
}
+ }
/* Free the list space, if any (but not the elements). */
if (found) {
diff --git a/Build/source/texk/kpathsea/xputenv.c b/Build/source/texk/kpathsea/xputenv.c
index 34d0e1d0730..bc0e294de15 100644
--- a/Build/source/texk/kpathsea/xputenv.c
+++ b/Build/source/texk/kpathsea/xputenv.c
@@ -1,4 +1,4 @@
-/* xputenv.c: set an environment variable without return.
+// xputenv.c: set an environment variable without return.
/*
* Copyright 2003-05 Olaf Weber.