Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
23f4587
)
The delete_one() function no longer needs to handle the case where
author
Wayne Davison
<wayned@samba.org>
Tue, 21 Sep 2004 09:24:06 +0000
(09:24 +0000)
committer
Wayne Davison
<wayned@samba.org>
Tue, 21 Sep 2004 09:24:06 +0000
(09:24 +0000)
it thinks it is removing a directory and it is really removing a
symlink.
receiver.c
patch
|
blob
|
blame
|
history
diff --git
a/receiver.c
b/receiver.c
index
7b86938
..
3ce5528
100644
(file)
--- a/
receiver.c
+++ b/
receiver.c
@@
-65,10
+65,6
@@
static void delete_one(char *fn, int is_dir)
rprintf(FINFO, "deleting %s\n", safe_fname(fn));
} else {
if (do_rmdir(fn) != 0) {
- if (errno == ENOTDIR && keep_dirlinks) {
- delete_one(fn, 0);
- return;
- }
if (errno != ENOTEMPTY && errno != EEXIST) {
rsyserr(FERROR, errno,
"delete_one: rmdir %s failed",