mirror of
https://github.com/genodelabs/genode.git
synced 2025-06-06 09:21:49 +00:00
parent
9cb71d0260
commit
d67e369433
@ -315,6 +315,8 @@ int Libc::Vfs_plugin::dup2(Libc::File_descriptor *fd,
|
|||||||
|
|
||||||
int Libc::Vfs_plugin::fstat(Libc::File_descriptor *fd, struct stat *buf)
|
int Libc::Vfs_plugin::fstat(Libc::File_descriptor *fd, struct stat *buf)
|
||||||
{
|
{
|
||||||
|
Vfs::Vfs_handle *handle = vfs_handle(fd);
|
||||||
|
_vfs_sync(handle);
|
||||||
return stat(fd->fd_path, buf);
|
return stat(fd->fd_path, buf);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user