s3: "copy_reg" only looks at mode, uid, gid, atime and mtime (no birthtime)
authorVolker Lendecke <vl@samba.org>
Fri, 27 Nov 2009 14:10:23 +0000 (15:10 +0100)
committerVolker Lendecke <vl@samba.org>
Sun, 29 Nov 2009 11:04:08 +0000 (12:04 +0100)
source3/modules/vfs_default.c

index 318e03ecff9d7d859e8ba69761ecf69cdb202ebe..cfa10692eccafeaf00df5377802952b4a48d7fb2 100644 (file)
@@ -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))