aboutsummaryrefslogtreecommitdiffstats
path: root/flist.c
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2011-06-18 12:06:44 -0700
committerWayne Davison <wayned@samba.org>2011-06-18 12:29:21 -0700
commit852585b1fced8d0df35b14c17f26c4aac633313b (patch)
tree0a8970ced90c952312344374dd7c0251983d9acf /flist.c
parente2c1e482e004b8f992156bf436d4bf34cee1ee1d (diff)
downloadandroid_external_rsync-852585b1fced8d0df35b14c17f26c4aac633313b.tar.gz
android_external_rsync-852585b1fced8d0df35b14c17f26c4aac633313b.tar.bz2
android_external_rsync-852585b1fced8d0df35b14c17f26c4aac633313b.zip
Check if sender file changed before allowing a remove.
Fixes bug 7691.
Diffstat (limited to 'flist.c')
-rw-r--r--flist.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/flist.c b/flist.c
index 0758f896..7a6ab342 100644
--- a/flist.c
+++ b/flist.c
@@ -86,14 +86,6 @@ extern int filesfrom_convert;
extern iconv_t ic_send, ic_recv;
#endif
-#ifdef HAVE_UTIMENSAT
-#ifdef HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC
-#define ST_MTIME_NSEC st_mtim.tv_nsec
-#elif defined(HAVE_STRUCT_STAT_ST_MTIMENSEC)
-#define ST_MTIME_NSEC st_mtimensec
-#endif
-#endif
-
#define PTR_SIZE (sizeof (struct file_struct *))
int io_error;