1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-07-25 18:19:00 +02:00

(copy_internal): Remove the code that tested for NULL

dir_name return value.  That can't happen.
This commit is contained in:
Jim Meyering
2001-05-12 09:58:03 +00:00
parent b489ba12d8
commit b2604c5d12
-2
View File
@@ -937,8 +937,6 @@ copy_internal (const char *src_path, const char *dst_path,
int in_current_dir;
dst_parent = dir_name (dst_path);
if (dst_parent == NULL)
xalloc_die ();
in_current_dir = (STREQ (".", dst_parent)
/* If either stat call fails, it's ok not to report