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:
Colin Walters committed 2016-03-23 10:26:01 -04:00
1 parent 18530894c7
commit 0b1d301d81
4 files changed
+20 -16

No files matched your search

+2 -3
View File
@@ -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 */