summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-11-27 13:11:17 +0100
committerVolker Lendecke <vl@samba.org>2009-11-29 11:22:04 +0100
commit6e94113b6f23622e0e5688cd1b7e9acf23391de9 (patch)
tree57fdc8003d947839eae60d58a925db03b57a795a /source3/lib
parent9009277b76cfee708954e2b4c7172b955ad0c633 (diff)
downloadsamba-6e94113b6f23622e0e5688cd1b7e9acf23391de9.tar.gz
samba-6e94113b6f23622e0e5688cd1b7e9acf23391de9.tar.bz2
samba-6e94113b6f23622e0e5688cd1b7e9acf23391de9.zip
s3: "get_file_size" only looks at the size
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/util.c b/source3/lib/util.c
index ef16757814..de2204074d 100644
--- a/source3/lib/util.c
+++ b/source3/lib/util.c
@@ -590,7 +590,7 @@ SMB_OFF_T get_file_size(char *file_name)
{
SMB_STRUCT_STAT buf;
buf.st_ex_size = 0;
- if (sys_stat(file_name, &buf, lp_fake_dir_create_times()) != 0)
+ if (sys_stat(file_name, &buf, false) != 0)
return (SMB_OFF_T)-1;
return get_file_size_stat(&buf);
}