From: Paul Eggert Date: Tue, 27 Jul 2004 23:13:38 +0000 (+0000) Subject: (copy_internal): find_backup_file_name no longer X-Git-Tag: v5.3.0~1075 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c3d37adf6de1791e9e6c46ddd31b31cf24e0ffc2;p=thirdparty%2Fcoreutils.git (copy_internal): find_backup_file_name no longer returns NULL, so don't bother to check for this. --- diff --git a/src/copy.c b/src/copy.c index ef941cc25b..bca2de27bc 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