mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +03:00
s3: "get_file_size" only looks at the size
This commit is contained in:
parent
9009277b76
commit
6e94113b6f
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user