(basename_is_dot_or_dotdot): Use new last_component, in place of base_name.

This commit is contained in:
Jim Meyering committed 2006-03-26 12:07:20 +00:00
1 parent 02b8c9a452
commit 811ecf9284
1 file changed
+1 -1
+1 -1
View File
@@ -2794,7 +2794,7 @@ make_link_name (char const *name, char const *linkname)
static bool
basename_is_dot_or_dotdot (const char *name)
{
char const *base = base_name (name);
char const *base = last_component (name);
return DOT_OR_DOTDOT (base);
}