diff options
author | Jim Meyering <jim@meyering.net> | 2006-03-26 12:07:20 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2006-03-26 12:07:20 +0000 |
commit | 811ecf92848d654ee4cceff311853cd122a0ccec (patch) | |
tree | 7e89aeeef62b0c7f1526a087cf6af890f3f32dcb /src | |
parent | 02b8c9a4525c30d25a0f98f5a6686416f23d5452 (diff) | |
download | coreutils-811ecf92848d654ee4cceff311853cd122a0ccec.tar.xz |
(basename_is_dot_or_dotdot): Use new last_component, in place of base_name.
Diffstat (limited to 'src')
-rw-r--r-- | src/ls.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); } |