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 536692 - The unix functions
The unix functions
Status: RESOLVED DUPLICATE of bug 555250
Product: vala
Classification: Core
Component: Bindings
0.3.x
Other All
: Normal enhancement
: ---
Assigned To: Jürg Billeter
Vala maintainers
Depends on:
Blocks:
 
 
Reported: 2008-06-04 21:20 UTC by Maciej (Matthew) Piechotka
Modified: 2008-10-09 21:29 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Maciej (Matthew) Piechotka 2008-06-04 21:20:57 UTC
Some functions are irreplacable. For example pipe/fork/dup2/exec to call a subprocess with rw stdin/stdout/stderr.

Could support for those call be added?

PS.
The int in certain calls could be replaced with fd type (file descriptor)...
Comment 1 Jürg Billeter 2008-07-30 21:02:33 UTC
I'd certainly accept patches to add a posix.vapi with bindings to these functions. We can start with a small set of functions and extend it on demand.
Comment 2 Maciej (Matthew) Piechotka 2008-08-03 09:15:23 UTC
Should it be autogenerated?

If yes:
1. From what source?
2. Should it be heavily fixed (i.e. int -> FileDescriptor).
Comment 3 Jürg Billeter 2008-08-03 20:10:27 UTC
I don't think that it would make sense to generate the bindings. We should also not invent types that don't exist in the C library if not necessary.
Comment 4 Jürg Billeter 2008-10-09 21:29:15 UTC
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find.


*** This bug has been marked as a duplicate of 555250 ***