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/install.c | |
parent | f0c27dac9e8762833da5a6c16450192569bebd9f (diff) | |
download | coreutils-4c2adcbd56def9b5897a1a462998e77233d83542.tar.xz |
Use base_name, not basename.
Diffstat (limited to 'src/install.c')
-rw-r--r-- | src/install.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/install.c b/src/install.c index ddc912427..eb8059dae 100644 --- a/src/install.c +++ b/src/install.c @@ -114,7 +114,7 @@ gid_t getgid (); * BITSPERBYTE - 1))))) #endif -char *basename (); +char *base_name (); char *stpcpy (); char *xmalloc (); int safe_read (); @@ -338,7 +338,7 @@ install_file_in_dir (char *from, char *to_dir) char *to; int ret; - from_base = basename (from); + from_base = base_name (from); to = xmalloc ((unsigned) (strlen (to_dir) + strlen (from_base) + 2)); stpcpy (stpcpy (stpcpy (to, to_dir), "/"), from_base); ret = install_file_in_file (from, to); |