(same_file_ok): New function, extracted from copy_internal,
authorJim Meyering <jim@meyering.net>
Sun, 3 Sep 2000 13:01:49 +0000 (13:01 +0000)
committerJim Meyering <jim@meyering.net>
Sun, 3 Sep 2000 13:01:49 +0000 (13:01 +0000)
commit76685fb1e90617c417cf7606ec9bd5cbf0abdd06
tree76da55aefbda1bf3701a43eb17ed824d34213812
parent3e8dff57b24f4bb9fe2117221a62d8e36a8247c0
(same_file_ok): New function, extracted from copy_internal,
and partially rewritten.
(copy_internal): Unlink destination file when unlink_dest_before_opening
option is set, and when the source is neither a regular file nor a directory.
src/copy.c