(struct dir_attr, flag_path, remove_trailing_slashes,
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 30 Jul 2004 07:57:27 +0000 (07:57 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 30 Jul 2004 07:57:27 +0000 (07:57 +0000)
commitf3b9ba46f86c41eaf13756bc10c14075e0ff29c4
treeacbafde6fe04443109d5dca5ffecd89f75f56d0e
parent89c5dddb8ff8bdb00c882ff0d28d3ddf6b3063e9
(struct dir_attr, flag_path, remove_trailing_slashes,
re_protect, make_path_private, target_directory_operand, do_copy,
cp_option_init, decode_preserve_arg, main): Use bool when appropriate.
(target_directory_operand): Do not clear *NEW_DST if stat
succeeds.  It's not necessary in that case, as *NEW_DST is always
false already.
(do_copy): Rewrite slightly to avoid need for "unreachable" comment.
(main): Use EXIT_SUCCESS, EXIT_FAILURE instead of 0, 1.
src/cp.c