After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 729803 - [linux] bind dup3
[linux] bind dup3
Status: RESOLVED FIXED
Product: vala
Classification: Core
Component: Bindings
unspecified
Other Linux
: Normal enhancement
: ---
Assigned To: Michael 'Mickey' Lauer
Vala maintainers
Depends on:
Blocks:
 
 
Reported: 2014-05-08 09:38 UTC by Christian Persch
Modified: 2018-02-14 10:17 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Christian Persch 2014-05-08 09:38:05 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).
Comment 1 Luca Bruno 2014-12-19 14:15:07 UTC
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.
Comment 2 Michael 'Mickey' Lauer 2017-02-17 15:50:00 UTC
I'm fine with adding it to Linux.vapi. Want to cook a patch?
Comment 3 Michael 'Mickey' Lauer 2018-02-14 10:17:22 UTC
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