Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
No need for conditional code around do_lstat() anymore.
[rsync/rsync.git]
/
util.c
diff --git
a/util.c
b/util.c
index
4f1b59a
..
99a3a5d
100644
(file)
--- a/
util.c
+++ b/
util.c
@@
-990,11
+990,7
@@
int handle_partial_dir(const char *fname, int create)
dir = partial_fname;
if (create) {
STRUCT_STAT st;
-#if SUPPORT_LINKS
int statret = do_lstat(dir, &st);
-#else
- int statret = do_stat(dir, &st);
-#endif
if (statret == 0 && !S_ISDIR(st.st_mode)) {
if (do_unlink(dir) < 0)
return 0;