summaryrefslogtreecommitdiff
path: root/source3/modules
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-11-27 15:10:23 +0100
committerVolker Lendecke <vl@samba.org>2009-11-29 11:22:05 +0100
commite71c17b2b008ba926e74dd184523723a742b76ba (patch)
treeb9d94203c8afe046bc92987c8576c4ea901d08b3 /source3/modules
parent224691aa53e1ed407de69182fdb045e6c73bcb38 (diff)
downloadsamba-e71c17b2b008ba926e74dd184523723a742b76ba.tar.gz
samba-e71c17b2b008ba926e74dd184523723a742b76ba.tar.bz2
samba-e71c17b2b008ba926e74dd184523723a742b76ba.zip
s3: "copy_reg" only looks at mode, uid, gid, atime and mtime (no birthtime)
Diffstat (limited to 'source3/modules')
-rw-r--r--source3/modules/vfs_default.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/modules/vfs_default.c b/source3/modules/vfs_default.c
index 318e03ecff..cfa10692ec 100644
--- a/source3/modules/vfs_default.c
+++ b/source3/modules/vfs_default.c
@@ -487,8 +487,7 @@ static int copy_reg(const char *source, const char *dest)
int ifd = -1;
int ofd = -1;
- if (sys_lstat (source, &source_stats,
- lp_fake_dir_create_times()) == -1)
+ if (sys_lstat(source, &source_stats, false) == -1)
return -1;
if (!S_ISREG (source_stats.st_ex_mode))