* fhandler_disk_file.cc (fhandler_base::fstat_by_handle): Only write
attributes if call to GetFileInformationByHandle was successful.
This commit is contained in:
parent
40c7d132ef
commit
04f3d97fe4
|
@ -1,3 +1,8 @@
|
|||
2005-09-30 Corinna Vinschen <corinna@vinschen.de>
|
||||
|
||||
* fhandler_disk_file.cc (fhandler_base::fstat_by_handle): Only write
|
||||
attributes if call to GetFileInformationByHandle was successful.
|
||||
|
||||
2005-09-29 Christopher Faylor <cgf@timesys.com>
|
||||
|
||||
* fork.cc (frok::parent): Simplify error messages. Don't issue an
|
||||
|
|
|
@ -163,7 +163,7 @@ fhandler_base::fstat_by_handle (struct __stat64 *buf)
|
|||
if (local.nFileSizeLow == 0xffffffff && GetLastError ())
|
||||
local.nFileSizeLow = 0;
|
||||
}
|
||||
|
||||
else
|
||||
pc.set_attributes (local.dwFileAttributes);
|
||||
return fstat_helper (buf,
|
||||
local.ftLastWriteTime, /* see fstat_helper comment */
|
||||
|
|
Loading…
Reference in New Issue