diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2004-08-02 20:14:39 +0000 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2004-08-02 20:14:39 +0000 |
commit | 1dfc8b472e5f973cfa7c4818d65b962442b5cfba (patch) | |
tree | cc105c74b8e81c104447c0eb193200931e22350e /lib | |
parent | e4d5fc228349cf93a89fa184ba0d1e5db52d5fc0 (diff) | |
download | coreutils-1dfc8b472e5f973cfa7c4818d65b962442b5cfba.tar.xz |
(isdir): Remove decl.
(install_file_to_path): Rely on make_path to fail if the destination
is not a directory, by passing preserve_existing==true to it.
Hence we no longer need to call isdir.
Free dest_dir immediately when it's no longer needed, rather than
waiting until the end of the function.
(copy_file): Don't bother calling isdir, as copy will do the
right thing if the destination is a directory.
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions