1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00

s3: "dotareof" only looks at the file type

This commit is contained in:
Volker Lendecke 2009-11-27 12:47:57 +01:00
parent 932ab0c299
commit e1f53e5d49

View File

@ -404,7 +404,7 @@ static void dotareof(int f)
(void) dozerobuf(f, TBLOCK);
(void) dozerobuf(f, TBLOCK);
if (sys_fstat(f, &stbuf, lp_fake_dir_create_times()) == -1) {
if (sys_fstat(f, &stbuf, false) == -1) {
DEBUG(0, ("Couldn't stat file handle\n"));
return;
}