summaryrefslogtreecommitdiff
path: root/glnx-console.c
diff options
context:
space:
mode:
authorSimon McVittie <smcv@collabora.com>2022-11-08 11:05:12 +0000
committerSimon McVittie <smcv@collabora.com>2022-11-08 11:17:41 +0000
commitea18312ed03e0077740e327966a8e0e5810d7f5b (patch)
tree25f3c4e0e0dd4244b87ddcff3715e465287f5a79 /glnx-console.c
parent4e44fd9c174e4196a86fb6d954722feaff612c88 (diff)
downloadlibglnx-ea18312ed03e0077740e327966a8e0e5810d7f5b.tar.gz
backports: Add g_steal_fd, from GLib >= 2.70
This is essentially the same as glnx_steal_fd, so make glnx_steal_fd an alias for it. The unit test is taken from GLib, slightly modified to avoid g_close() and also test the old name glnx_steal_fd(). Signed-off-by: Simon McVittie <smcv@collabora.com>
Diffstat (limited to 'glnx-console.c')
0 files changed, 0 insertions, 0 deletions