projects
/
platform
/
upstream
/
coreutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
967a08d
)
(copy_internal): find_backup_file_name no longer
author
Paul Eggert
<eggert@cs.ucla.edu>
Tue, 27 Jul 2004 23:13:38 +0000
(23:13 +0000)
committer
Paul 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
patch
|
blob
|
history
diff --git
a/src/copy.c
b/src/copy.c
index ef941cc25b1007b2def379bd7251bf7b203292e8..bca2de27bc59a90ed782e9440573af871f3db9ed 100644
(file)
--- 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