Skip to content
Snippets Groups Projects
Commit e3015443 authored by Philip Withnall's avatar Philip Withnall
Browse files

shutil: Fix assertion failure in glnx_shutil_mkdir_p_at()


If the directory for @dfd is deleted after being opened,
glnx_shutil_mkdir_p_at() would fail with an assertion failure. Fix that,
and make it return an ENOENT error instead.

Add a unit test.

Signed-off-by: default avatarPhilip Withnall <withnall@endlessm.com>
Reviewed-by: default avatarColin Walters <walters@verbum.org>
Reviewed-by: default avatarJonathan Lebon <jlebon@redhat.com>

https://github.com/ostreedev/ostree/issues/1215
parent 32a42931
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