diff options
author | Jim Meyering <jim@meyering.net> | 1998-12-07 06:20:50 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1998-12-07 06:20:50 +0000 |
commit | 52dedbfebbb911c39feeb052e4bcd26b2a99a2c9 (patch) | |
tree | a893189a382b2b7a2fd075ed8b1128b4448d2a81 /src/install.c | |
parent | f5e9896c186513a956952a951b3a417467dff6b6 (diff) | |
download | coreutils-52dedbfebbb911c39feeb052e4bcd26b2a99a2c9.tar.xz |
Use dir_name, not dirname. Include dirname.h.
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 98c196a43..888204d10 100644 --- a/src/install.c +++ b/src/install.c @@ -81,6 +81,7 @@ #include "path-concat.h" #include "cp-hash.h" #include "copy.h" +#include "dirname.h" #if HAVE_SYS_WAIT_H # include <sys/wait.h> @@ -127,7 +128,6 @@ gid_t getgid (); #endif char *base_name (); -char *dirname (); int full_write (); int isdir (); enum backup_type get_version (); @@ -411,7 +411,7 @@ install_file_to_path (const char *from, const char *to, char *dest_dir; int fail; - dest_dir = dirname (to); + dest_dir = dir_name (to); /* check to make sure this is a path (not install a b ) */ if (!STREQ (dest_dir, ".") |