diff options
author | Jim Meyering <jim@meyering.net> | 1997-05-27 11:04:41 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1997-05-27 11:04:41 +0000 |
commit | 4c2adcbd56def9b5897a1a462998e77233d83542 (patch) | |
tree | d64d2b06fc75d3ce761ac2ac7b315276f466e585 /src/mv.c | |
parent | f0c27dac9e8762833da5a6c16450192569bebd9f (diff) | |
download | coreutils-4c2adcbd56def9b5897a1a462998e77233d83542.tar.xz |
Use base_name, not basename.
Diffstat (limited to 'src/mv.c')
-rw-r--r-- | src/mv.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -59,7 +59,7 @@ uid_t geteuid (); #endif -char *basename (); +char *base_name (); enum backup_type get_version (); int isdir (); int yesno (); @@ -357,7 +357,7 @@ movefile (const char *source, const char *dest) char *new_dest; int fail; - base = basename (source); + base = base_name (source); new_dest = path_concat (dest, base, NULL); if (new_dest == NULL) error (1, 0, _("virtual memory exhausted")); |