GNOME Bugzilla – Bug 729803
[linux] bind dup3
Last modified: 2018-02-14 10:17:22 UTC
dup and dup2 are bound in posix.vapi, but dup3 is missing (I guess it should go to linux.vapi not posix.vapi) (also note: it requires _GNU_SOURCE).
If I'm not wrong, there's no way in Vala to add custom defines like _GNU_SOURCE. So this could be a good excuse for adding this feature.
I'm fine with adding it to Linux.vapi. Want to cook a patch?
commit 7e35732d613bcee4d58a2f50e304e1cf2b448190 (HEAD -> master, origin/master, origin/HEAD) Author: Dr. Michael Lauer <mickey@vanille-media.de> Date: Wed Feb 14 11:15:46 2018 +0100 linux: add dup3 https://bugzilla.gnome.org/show_bug.cgi?id=729803