diff options
author | Will Thompson <wjt@endlessos.org> | 2023-02-27 11:24:28 +0000 |
---|---|---|
committer | Will Thompson <wjt@endlessos.org> | 2023-02-27 11:24:28 +0000 |
commit | 07e3e49d3e47dfd4265ffb5495111439131715ca (patch) | |
tree | 25f3c4e0e0dd4244b87ddcff3715e465287f5a79 /glnx-lockfile.c | |
parent | 4e44fd9c174e4196a86fb6d954722feaff612c88 (diff) | |
parent | ea18312ed03e0077740e327966a8e0e5810d7f5b (diff) | |
download | libglnx-07e3e49d3e47dfd4265ffb5495111439131715ca.tar.gz |
backports: Add g_steal_fd, from GLib >= 2.70
See merge request GNOME/libglnx!47
Diffstat (limited to 'glnx-lockfile.c')
-rw-r--r-- | glnx-lockfile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/glnx-lockfile.c b/glnx-lockfile.c index 65a1558..fcda84c 100644 --- a/glnx-lockfile.c +++ b/glnx-lockfile.c @@ -129,7 +129,7 @@ glnx_make_lock_file(int dfd, const char *p, int operation, GLnxLockFile *out_loc out_lock->initialized = TRUE; out_lock->dfd = dfd; out_lock->path = g_steal_pointer (&t); - out_lock->fd = glnx_steal_fd (&fd); + out_lock->fd = g_steal_fd (&fd); out_lock->operation = operation; return TRUE; } |