git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9009277
)
s3: "get_file_size" only looks at the size
author
Volker Lendecke
<vl@samba.org>
Fri, 27 Nov 2009 12:11:17 +0000
(13:11 +0100)
committer
Volker Lendecke
<vl@samba.org>
Sun, 29 Nov 2009 10:22:04 +0000
(11:22 +0100)
source3/lib/util.c
patch
|
blob
|
history
diff --git
a/source3/lib/util.c
b/source3/lib/util.c
index ef167578140440f396fdbd95f5735001f63e4197..de2204074d3c9cbe5d169cfca543aed5257b89a0 100644
(file)
--- 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);
}