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:
b489ba1
)
(copy_internal): Remove the code that tested for NULL
author
Jim Meyering
<jim@meyering.net>
Sat, 12 May 2001 09:58:03 +0000
(09:58 +0000)
committer
Jim Meyering
<jim@meyering.net>
Sat, 12 May 2001 09:58:03 +0000
(09:58 +0000)
dir_name return value. That can't happen.
src/copy.c
patch
|
blob
|
history
diff --git
a/src/copy.c
b/src/copy.c
index 1f8c40a20b9b3e17503d6f62bc61a6d98bd3122f..d0aad251be832191f5b3a3ff527019020c9a0e94 100644
(file)
--- a/
src/copy.c
+++ b/
src/copy.c
@@
-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