(isdir): Remove decl.
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 2 Aug 2004 20:14:39 +0000 (20:14 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 2 Aug 2004 20:14:39 +0000 (20:14 +0000)
commit1dfc8b472e5f973cfa7c4818d65b962442b5cfba
treecc105c74b8e81c104447c0eb193200931e22350e
parente4d5fc228349cf93a89fa184ba0d1e5db52d5fc0
(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.
src/install.c