Skip to content
Snippets Groups Projects
Commit 2f8fdf80 authored by Alexander Larsson's avatar Alexander Larsson Committed by Colin Walters
Browse files

fdio: Allow using AT_FDCWD with GlnxTmpfile


Add an `initialized` member which means we work by default
in structs allocated with `g_new0` etc. and don't need
a special initializer.  This also fixes a bug where
we need to support `src_dfd == -1` or `AT_FDCWD`.

This fixes flatpak which uses AT_FDCWD.

Modified-by: default avatarColin Walters <walters@verbum.org>
parent 4fbd48fb
No related branches found
No related tags found
No related merge requests found
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