Use libglnx
Starting down the path of not using libgsystem. The main win here will be code sharing between ostree/rpm-ostree as well as going down the path of not using GFile * for local files.
This commit is contained in:
1 parent
ef53e0100b
commit
965a304a17
13 files changed
+31
-10
No files matched your search
@@ -31,6 +31,7 @@
|
||||
#include "ostree-chain-input-stream.h"
|
||||
#include "otutil.h"
|
||||
#include "libgsystem.h"
|
||||
#include "libglnx.h"
|
||||
|
||||
#define ALIGN_VALUE(this, boundary) \
|
||||
(( ((unsigned long)(this)) + (((unsigned long)(boundary)) -1)) & (~(((unsigned long)(boundary))-1)))
|
||||
@@ -209,7 +210,7 @@ file_header_new (GFileInfo *file_info,
|
||||
guint32 mode;
|
||||
const char *symlink_target;
|
||||
GVariant *ret;
|
||||
gs_unref_variant GVariant *tmp_xattrs = NULL;
|
||||
g_autoptr(GVariant) tmp_xattrs = NULL;
|
||||
|
||||
uid = g_file_info_get_attribute_uint32 (file_info, "unix::uid");
|
||||
gid = g_file_info_get_attribute_uint32 (file_info, "unix::gid");
|
||||
|
||||
Reference in new issue
Block a user