diff options
author | Norbert Thiebaud <nthiebaud@gmail.com> | 2010-12-20 11:47:29 -0600 |
---|---|---|
committer | Norbert Thiebaud <nthiebaud@gmail.com> | 2011-01-10 21:35:29 -0600 |
commit | 15ff77bb3a8fa205bab3743c157d5a8a1db24cd5 (patch) | |
tree | e92efb45babc74b3fc1a80626b439dd01af6748f /soltools | |
parent | f3b5ce6eea02fc3f5cafa1a6126d264616cd1f16 (diff) |
fixing broken makedepend behaviour
Diffstat (limited to 'soltools')
-rw-r--r-- | soltools/mkdepend/include.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/soltools/mkdepend/include.c b/soltools/mkdepend/include.c index 48ca96344f1d..30515f7f395a 100644 --- a/soltools/mkdepend/include.c +++ b/soltools/mkdepend/include.c @@ -72,6 +72,10 @@ struct inclist *inc_path(file, include, dot, incCollection) * If the path was surrounded by "" or is an absolute path, * then check the exact path provided. */ +// FIXME: creates duplicates in the dependency files if absolute paths are +// given, which certainly is not the intended behavior. Also it slows down +// makedepend performance considerably. +/* if (!found && (dot || *include == '/')) { if ((exists_path(incCollection, include)) && stat(include, &st) == 0 && !( st.st_mode & S_IFDIR)) { @@ -81,6 +85,7 @@ struct inclist *inc_path(file, include, dot, incCollection) else if (show_where_not) warning1("\tnot in %s\n", include); } +*/ /* * See if this include file is in the directory of the |