diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2004-07-27 23:13:38 +0000 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2004-07-27 23:13:38 +0000 |
commit | c3d37adf6de1791e9e6c46ddd31b31cf24e0ffc2 (patch) | |
tree | 245026a6167d49237b63d77991fcc79ce50050d7 | |
parent | 967a08d5208dcbe7abb9e73ce10e5388f17282f8 (diff) | |
download | coreutils-c3d37adf6de1791e9e6c46ddd31b31cf24e0ffc2.tar.xz |
(copy_internal): find_backup_file_name no longer
returns NULL, so don't bother to check for this.
-rw-r--r-- | src/copy.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/copy.c b/src/copy.c index ef941cc25..bca2de27b 100644 --- a/src/copy.c +++ b/src/copy.c @@ -1033,8 +1033,6 @@ copy_internal (const char *src_path, const char *dst_path, { char *tmp_backup = find_backup_file_name (dst_path, x->backup_type); - if (tmp_backup == NULL) - xalloc_die (); /* Detect (and fail) when creating the backup file would destroy the source file. Before, running the commands |