(copy_internal): find_backup_file_name no longer
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 27 Jul 2004 23:13:38 +0000 (23:13 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 27 Jul 2004 23:13:38 +0000 (23:13 +0000)
returns NULL, so don't bother to check for this.

src/copy.c

index ef941cc25b1007b2def379bd7251bf7b203292e8..bca2de27bc59a90ed782e9440573af871f3db9ed 100644 (file)
@@ -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