From c3d37adf6de1791e9e6c46ddd31b31cf24e0ffc2 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Tue, 27 Jul 2004 23:13:38 +0000 Subject: [PATCH] (copy_internal): find_backup_file_name no longer returns NULL, so don't bother to check for this. --- src/copy.c | 2 -- 1 file changed, 2 deletions(-) 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 -- 2.47.2