Skip to content
Snippets Groups Projects
Commit 5ee2f1be authored by Colin Walters's avatar Colin Walters
Browse files

fdio: Open target dirname for glnx_file_copy_at()

Particularly if `AT_FDCWD` is used, we need to open
in the target dir, otherwise we can get `EXDEV` when trying
to do the final link.

(Theoretically we can cross a mountpoint even with fd-relative
 though this is a lot less likely)
parent 56e7e728
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment