Added a change suggested by Cees Verstoep

This commit is contained in:
ceriel 1990-02-12 09:32:04 +00:00
parent 3f950c9f17
commit 63d6fe28e7

View file

@ -110,6 +110,13 @@ list_dependencies(source)
s++;
*s++ = 'o';
*s = '\0';
/* the source may be in another directory than the
* object generated, so don't include the pathname
* leading to it.
*/
if (s = strrindex(source, '/')) {
source = s + 1;
}
}
else source = 0;
}