libglnx porting: Use glnx_opendirat()
This unfortunately adds *more* `gs_file_get_path_cached()`, but we'll fix that all in one go.
This commit is contained in:
1 parent
18530894c7
commit
0b1d301d81
4 files changed
+20
-16
No files matched your search
@@ -655,9 +655,8 @@ checkout_tree_at (OstreeRepo *self,
|
||||
}
|
||||
}
|
||||
|
||||
if (!gs_file_open_dir_fd_at (destination_parent_fd, destination_name,
|
||||
&destination_dfd,
|
||||
cancellable, error))
|
||||
if (!glnx_opendirat (destination_parent_fd, destination_name, TRUE,
|
||||
&destination_dfd, error))
|
||||
goto out;
|
||||
|
||||
/* Set the xattrs now, so any derived labeling works */
|
||||
|
||||
Reference in new issue
Block a user