Skip to content
Snippets Groups Projects
Commit 2eb4bcc2 authored by Simon McVittie's avatar Simon McVittie
Browse files

glnx-shutil: Cope with ENOENT even after recursing to create parents


If we try to create `link/content` where `link` is a dangling symlink,
recursing to create `link` will succeed (mkdirat fails with EEXIST,
which is explicitly ignored), but then mkdirat for `link/content` will
still fail. Fail gracefully instead of crashing out with an assertion
failure.

Resolves: GNOME/libglnx#1
Signed-off-by: default avatarSimon McVittie <smcv@collabora.com>
parent f44d9442
Branches
Tags
1 merge request!777Update libglnx to 2025-01-06
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment