projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
403a73a
)
Let people force overwrite links
author
Eric Andersen
<andersen@codepoet.org>
Mon, 16 Sep 2002 10:23:38 +0000
(10:23 -0000)
committer
Eric Andersen
<andersen@codepoet.org>
Mon, 16 Sep 2002 10:23:38 +0000
(10:23 -0000)
-Erik
libbb/copy_file.c
patch
|
blob
|
history
diff --git
a/libbb/copy_file.c
b/libbb/copy_file.c
index 1a584017f157ba02f4cee0d9e670c5b453844716..d71dbf47d5c6cbe2dd95e9f73453847204a03780 100644
(file)
--- a/
libbb/copy_file.c
+++ b/
libbb/copy_file.c
@@
-47,7
+47,7
@@
int copy_file(const char *source, const char *dest, int flags)
return -1;
}
- if (stat(dest, &dest_stat) < 0) {
+ if (
l
stat(dest, &dest_stat) < 0) {
if (errno != ENOENT) {
perror_msg("unable to stat `%s'", dest);
return -1;