mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-26 23:28:14 +03:00
Provide the path to the current folder to statTypeVirtualFile on unix
Otherwise backends can't get to the actual file which will be needed for the XAttr backend. Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
This commit is contained in:
parent
a89b483773
commit
6e51dcf9c6
1 changed files with 1 additions and 1 deletions
|
@ -124,7 +124,7 @@ std::unique_ptr<csync_file_stat_t> csync_vio_local_readdir(csync_vio_handle_t *h
|
|||
if (vfs) {
|
||||
// Directly modifies file_stat->type.
|
||||
// We can ignore the return value since we're done here anyway.
|
||||
vfs->statTypeVirtualFile(file_stat.get(), nullptr);
|
||||
vfs->statTypeVirtualFile(file_stat.get(), &handle->path);
|
||||
}
|
||||
|
||||
return file_stat;
|
||||
|
|
Loading…
Reference in a new issue